Commit Graph

2 Commits

Author SHA1 Message Date
Brian Grinstead
6760d4624a Bug 1473160 - Move the startup and shutdown functions out of gBrowserInit;r=Gijs
They don't rely on anything from that object, so simplify things and remove the
cross-file reference by making them normal functions.

MozReview-Commit-ID: 6iAjBWsO5zo
2018-07-11 06:47:19 -07:00
Brian Grinstead
79daf25762 Bug 1473160 - Move non browser window startup and shutdown functionality into a separate JS file;r=Gijs
These are mac-only functions used to support the dock and application menu for
non browser windows (anything that includes macWindow.inc.xul). Make this more
straightforward by splitting the code out into a new script file that gets loaded
directly by macWindow.inc.xul rather than unconditionally adding the functions
and only calling them when needed.

MozReview-Commit-ID: 8y3rij5vqyh
2018-07-11 06:47:16 -07:00