Open Bug 857897 Opened 11 years ago Updated 2 years ago

Offline storage quota warning not appearing for iframes

Categories

(Firefox :: General, defect)

defect

Tracking

()

People

(Reporter: markh, Unassigned)

Details

If an app is hosted in an iframe and it exceeds the offline storage quota, no warning is displayed to alert the user.  If the same app is hosted in a top-level browser the warning works as expected.

The problem is that http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#5931 looks for a browser to use to display the notification and fails to find one, so no warning is displayed.  A potential fix is for this code to also look for iframes inside each browser.
Isn't that rather a feature than a bug? For security reasons, I don't want an iFrame'd app to exceed its quota.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.