Closed Bug 783763 Opened 12 years ago Closed 12 years ago

browser_bug435325.js shouldn't reference nsIDOMWindowUtils, should be moved to /browser/

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: Unfocused, Assigned: Unfocused)

References

Details

Attachments

(1 file)

Bug 779680 removed usage of nsIDOMWindowUtils.goOnline() in about:neterror. This had been used to go online when clicking "try again" after a page failed to load due to be in Offline Mode. However, browser_bug435325.js, which tests that functionality, still makes reference to nsIDOMWindowUtils in its log output.

Arguably, that test should be in moved to /browser/ (from docshell), since that functionality was moved into browser chrome.
Blocks: 782892
Is there some sort of B2G API that can be used to kick Firefox online so you don't have to rely on something in /browser ?
You mean WebAPI? None that I'm aware of, nor any plans. At least in terms of Firefox, Offline Mode is kinda-sorta being slowly deprecated anyway (as evidenced by its move to the Developer Tools menu).
Attached patch Patch v1Splinter Review
Attachment #653657 - Flags: review?(dolske)
Attachment #653657 - Flags: review?(dolske) → review+
https://hg.mozilla.org/mozilla-central/rev/bface603ef72
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: