Created attachment 278997 [details] [diff] [review] protect offline apps with a permission Since navigator.offlineResources lets sites pin data on the user's disk, it should probably be protected by a permission. The attached patch throws a security exception when the API is accessed without the necessary permissions.
Assignee: nobody → dcamp
Flags: blocking1.9? → blocking1.9+
Created attachment 284687 [details] [diff] [review] test fix this fix is needed to fix the tests after adding the permission.
Attachment #284687 - Flags: review?(jst)
Comment on attachment 278997 [details] [diff] [review] protect offline apps with a permission Clearing the approval flag. This is going to get caught up in the upcoming API changes, and this doesn't make sense to commit without UI to manage the permission anyway.
Dcamp, what's going on here? Shouldn't we land this to let the UI folks build on it? What priority do you think this should have?
Priority: -- → P2
This patch has ended up as part of the patch for bug 402272, so we can probably close this bug...
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 402272
Component: DOM: Mozilla Extensions → DOM
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.