Closed
Bug 944825
Opened 11 years ago
Closed 11 years ago
Relaunch in Windows 8 style nightly should prompt for default on Holly if not already default.
Categories
(Firefox for Metro Graveyard :: Browser, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 28
People
(Reporter: bbondy, Assigned: emtwo)
References
Details
(Whiteboard: [block28] feature=defect c=tbd u=tbd p=1)
Attachments
(1 file)
2.49 KB,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
Holly's menu item for Relaunch in Windows 8 style Nightly should prompt for default if not already default. Basically do the exact same thing you're already doing with the Australis front end code. The code on Holly is what's going to be uplifted to Aurora. p=1
Updated•11 years ago
|
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [block28] feature=defect c=tbd u=tbd p=1
Assignee | ||
Comment 1•11 years ago
|
||
Also added a check to hide the button if not in win8.
Attachment #8341239 -
Flags: review?(netzen)
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 8341239 [details] [diff] [review] v1: Prompt for default when attempting to switch to Metro Review of attachment 8341239 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/base/content/browser.js @@ +2513,5 @@ > + let isDefault = shell.isDefaultBrowser(false, false); > + > + if (isDefault) { > + let appStartup = Components.classes["@mozilla.org/toolkit/app-startup;1"]. > + getService(Components.interfaces.nsIAppStartup); nit: indent getService @@ +2515,5 @@ > + if (isDefault) { > + let appStartup = Components.classes["@mozilla.org/toolkit/app-startup;1"]. > + getService(Components.interfaces.nsIAppStartup); > + > + Services.prefs.setBoolPref('browser.sessionstore.resume_session_once', true); nit: use " since you use it for the other strings.
Attachment #8341239 -
Flags: review?(netzen) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Holly&rev=ab1336aaf9db
Assignee | ||
Comment 4•11 years ago
|
||
Meant to post this: https://hg.mozilla.org/projects/holly/rev/ab1336aaf9db
Assignee | ||
Comment 5•11 years ago
|
||
Does this need to land anywhere else or can we close out the bug?
Flags: needinfo?(netzen)
Reporter | ||
Comment 6•11 years ago
|
||
I don't think so, I think we already prompt for it on m-c Australis. Feel free to close.
Flags: needinfo?(netzen)
Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•