consolidate Mac new-window launching code

NEW
Unassigned

Status

()

Firefox
General
8 years ago
8 years ago

People

(Reporter: Gavin, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Various places in browser.js open a new window in response to a menu command (particularly for Mac menu items handling the case of there not being any browser windows opened). They do this in different ways - search for "getBrowserURL" or "chrome://browser/content/" in browser.js. These should probably all be consolidated into an newBrowserWindow(aLoadCallback, aArgs) helper or something similar.
You need to log in before you can comment on or make changes to this bug.