Closed Bug 399440 Opened 17 years ago Closed 17 years ago

Work offline menu has incorrect state after cancelled request to go offline in sub windows

Categories

(Firefox :: Menus, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3 beta1

People

(Reporter: mossop, Assigned: mossop)

References

Details

Attachments

(1 file, 1 obsolete file)

1. Start a longish download.
2. With the downloads window focused go to file and work offline.
3. In the cancel downloads prompt opt to stay online.

I know see that in the file menu the work offline option is ticked even though the browser is not working offline.

This is also a problem in the add-ons window.
Flags: blocking-firefox3?
Attached patch patch rev 1 (obsolete) — Splinter Review
This also takes care of bug 399438.

Turning off autocheck from the offline menu means we only need to update the menu on window display and when offline changes. For background windows we must initialise and uninitialise the observer for this to happen properly
Assignee: nobody → dtownsend
Status: NEW → ASSIGNED
Attachment #284468 - Flags: review?(gavin.sharp)
Blocks: 399438
Flags: blocking-firefox3? → blocking-firefox3+
Attached patch patch rev 2Splinter Review
This removes the unnecessary parts. Properly initialising the BrowserOffline component fixes both issues.
Attachment #284468 - Attachment is obsolete: true
Attachment #284479 - Flags: review?(gavin.sharp)
Attachment #284468 - Flags: review?(gavin.sharp)
Attachment #284479 - Flags: review?(gavin.sharp) → review+
Checking in browser/base/content/browser.js;
/cvsroot/mozilla/browser/base/content/browser.js,v  <--  browser.js
new revision: 1.868; previous revision: 1.867
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M9
verified fixed using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b3pre) Gecko/2007122704 Minefield/3.0b3pre and the steps to reproduce from comment #0

-> Verified fixed
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: