Closed Bug 818101 Opened 12 years ago Closed 3 years ago

Application cache authorization popup doesn't show when the HTML page is inside an iframe

Categories

(Firefox for Android Graveyard :: General, defect)

16 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: christophe.busquet, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11

Steps to reproduce:

I have two HTML files. One of them is "manifest.html" and references a cache manifest for my application :

<html xmlns="http://www.w3.org/1999/xhtml" manifest="cache-manifest.manifest">
<head>
</head>
<body></body>
</html>


The other file is "application.html" which declares an iframe containing "manifest.html" :

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<iframe src="/manifest.html" id="appCacheFrame"></iframe>
</body>
</html>



Actual results:

When I load "application.html" into my browser, no popup appears asking me to allow the use of application cache for this site. The "manifest.html" file is requested but not the "cache-manifest.manifest", probably because I am not able to give the authorization.

If I load "manifest.html" by itself (outside of an iframe), the popup appears and the cache manifest is loaded. Subsequent calls to "application.html" show that the manifest is requested, since the authorization to use application cache has now been given.


Expected results:

The application cache authorization popup should be displayed and the cache manifest should load. This is the observed behavior on the Windows version of Firefox.
OS: Windows XP → Android
Hardware: x86 → ARM
(In reply to christophe.busquet from comment #0)

Same behaviour with:

User agent: Mozilla/5.0 (Android; Tablet; rv:18.0) Gecko/18.0 Firefox/18.0
Wes/Mark, is the above expected behaviour correct?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 1619673
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.