Closed
Bug 868681
Opened 12 years ago
Closed 12 years ago
Offline apps doorhanger not shown
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 23
People
(Reporter: gbrown, Assigned: gbrown)
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
The offline apps doorhanger:
Allow %S to store data on your device for offline use?
is not shown when offline storage is requested.
Logcat shows:
E/GeckoConsole(24773): [JavaScript Error: "ReferenceError: chromeWin is not defined" {file: "chrome://browser/content/OfflineApps.js" line: 45}]
Looks like a recent regression, from bug 854940.
Assignee | ||
Comment 1•12 years ago
|
||
Copied the lazy getter code used in aboutAddons.js -- works for me and allows robocop's (currently disabled) testDoorHanger to succeed.
Attachment #745453 -
Flags: review?(mark.finkle)
Comment 2•12 years ago
|
||
Comment on attachment 745453 [details] [diff] [review]
define gChromeWin
This was a bad review on my part. OfflineApps is injected into the browser.js scope, so BrowserApp.manifest should work fine without the need for a "chromeWindow".
Try this line:
let requestor = BrowserApp.manifest ? "'" + BrowserApp.manifest.name + "'" : host;
Attachment #745453 -
Flags: review?(mark.finkle) → review-
Assignee | ||
Comment 3•12 years ago
|
||
That's better, and works just as well - thanks!
Attachment #745453 -
Attachment is obsolete: true
Attachment #745667 -
Flags: review?(mark.finkle)
Updated•12 years ago
|
Attachment #745667 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 23
Comment 6•12 years ago
|
||
Verified fixed on:
-build: Firefox for Android 23.0a1(2013-05-12)
-device: Samsung Galaxy Nexus
-OS: Android 4.1.1
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•