Created attachment 685626 Don't stop when an entry isn't readable The permission manager has a quite un-healty behaviour right now: as soon as a permission entry isn't readable, it will stop loading the database and return an error. It happens that this error is ignored (except in one situation).
I think in the long term, we should not return an error and simply assume that the load will do the best thing and assert any error. This patch is a change in that direction but trying to be safe so it still return an error code but does that only after we have loaded *all* permissions. With that simple patch, the most important part of the bug here is fixed: you can load your Firefox 16 permission file in Firefox 17+. However, the permissions with "scheme:file" will be ignored. I don't know how much we want to support "scheme:file" though... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1082446 Title: Firefox 17.0 ignores cookie exceptions Status in The Mozilla Firefox Browser: In Progress Status in “firefox” package in Ubuntu: Triaged Bug description: $ lsb_release -rd Description: Ubuntu 12.10 Release: 12.10 $ apt-cache policy firefox firefox: Installed: 17.0+build2-0ubuntu0.12.10.1 Candidate: 17.0+build2-0ubuntu0.12.10.1 Version table: *** 17.0+build2-0ubuntu0.12.10.1 0 500 http://mirror.umd.edu/ubuntu/ quantal-updates/main amd64 Packages 500 http://mirror.umd.edu/ubuntu/ quantal-security/main amd64 Packages 100 /var/lib/dpkg/status 16.0.1+build1-0ubuntu1 0 500 http://mirror.umd.edu/ubuntu/ quantal/main amd64 Packages Expected behavior: Firefox should remember the cookie exceptions I've set in versions of Firefox prior to 17.0. It should also store changes I make to exceptions. Actual behavior: Firefox ignore cookie exceptions. It also no longer records them. Workaround: Most users will want to stay on 16.0 until Mozilla fixes this bug. The thread referred to below contains workarounds that require dumping and manipulating an sqlite database. See a discussion of the bug: http://forums.mozillazine.org/viewtopic.php?f=38&t=2621009&sid=cc80c10c48eb87f53a76306af86fdaf7 The bug report over at mozilla.org: https://bugzilla.mozilla.org/show_bug.cgi?id=814554 To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1082446/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

