5-desktop-integration-settings.patch in Chromium 24 breaks Settings

Bug #1106876 reported by Dmitry Shachnev
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
WebApps: unity-chromium-extensions
Invalid
Undecided
Unassigned

Bug Description

Quoting from comments on bug 1099828:

> Confirming. Bug fixed in 24.0.1312.56-0ubuntu0.12.10.1~cm0quantal1 and now the settings tab is completely clear. Every time the settings tabs is opened, the console logs:
> Uncaught TypeError: Cannot set property 'onchange' of null", source: chrome://settings-frame/options_bundle.js (5788)
> Clearing cache and all settings which includes profile wiping does not solve the problem.

I don't know whether the "onchange" warning is related to that page not working, but it is caused by this line (https://bazaar.launchpad.net/~webapps/unity-chromium-extension/trunk/view/head:/chromium-patches/stable-24.0.1312.52/5-desktop-integration-settings.patch#L486):

+ $('promptIntegrationForAnyWebsite').onchange = function () {

description: updated
Revision history for this message
Paweł Kowalik (pkowalik) wrote :

Are you sure this bug is related to the unity-chromium-extensions ? For me it also affects the Lubuntu version (24.0.1312.56-0ubuntu0.12.10.1~cm0quantal1) which default does not include any unity package.

Revision history for this message
Dmitry Shachnev (mitya57) wrote : Re: [Bug 1106876] Re: 5-desktop-integration-settings.patch in Chromium 24 breaks Settings

Yes, Chromium in Chad's PPA (and in Ubuntu repos) is built with Unity
integration patches from this branch.

Revision history for this message
Paweł Kowalik (pkowalik) wrote :

Confirming then, as it affects multiple users.

Changed in unity-chromium-extension:
status: New → Confirmed
Revision history for this message
Chad Miller (cmiller) wrote :

chromium-browser_24.0.1312.56-0ubuntu0.12.10.1~cm1quantal1 doesn't have this problem.

Changed in unity-chromium-extension:
status: Confirmed → Invalid
Revision history for this message
Chad Miller (cmiller) wrote :

Marking "invalid" because it's not against a released package and other statuses would confuse people.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Chad: thanks for quick response! I can confirm it is fixed in the new version (for some reason I was using ~cm0quantal1 until now).

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

... But my terminal output now shows me this:

"Uncaught TypeError: Cannot read property 'uncommitted' of null", source: chrome://settings-frame/options_bundle.js (2616)

Where line 2616 is:

 // Listen for pref changes.
 Preferences.getInstance().addEventListener(this.pref, function(event) {
> if (event.value.uncommitted && !self.dialogPref)
     return;
   self.updateStateFromPref_(event);
   updateDisabledState_(self, 'notUserModifiable', event.value.disabled);
   self.controlledBy = event.value.controlledBy;
 });

Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Alexandre: thanks for fixing that!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.