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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1082446

Title:
  Firefox 17.0 ignores cookie exceptions

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1082446/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to