Commit Graph

7 Commits

Author SHA1 Message Date
Tim Abraldes
3741fc3619 bug 866304. In metro, use the tab-modal prompt implementation that is available in toolkit. r=mbrubeck
This patch replaces metro's 'PromptService' (which implements nsIPromptService and nsIPrompt, among others) with an implementation that simply forwards all calls to toolkit's nsPrompter.js. Before forwarding each call, it writes the "allowTabModal" property on the object obtained from nsPrompter.js, causing the created prompt to be tab-modal.

It also adds functionality to browser.js for creating tab modal prompts. One of the changes made as part of adding this functionality is replacing the <browser> with a <stack> of <browser> objects.
2013-08-05 23:29:54 -07:00
Carsten "Tomcat" Book
03ba1633b7 Backed out changeset 516063917157 (bug 866304) mochitest metro orange 2013-08-06 12:19:29 +02:00
Tim Abraldes
6dea7287d3 bug 866304. In metro, use the tab-modal prompt implementation that is available in toolkit. r=mbrubeck
This patch replaces metro's 'PromptService' (which implements nsIPromptService and nsIPrompt, among others) with an implementation that simply forwards all calls to toolkit's nsPrompter.js. Before forwarding each call, it writes the "allowTabModal" property on the object obtained from nsPrompter.js, causing the created prompt to be tab-modal.

It also adds functionality to browser.js for creating tab modal prompts. One of the changes made as part of adding this functionality is replacing the <browser> with a <stack> of <browser> objects.
2013-08-05 23:29:54 -07:00
Jim Mathies
1f351e4455 Bug 868007 - Remove unused 'prompt-button' css class. r=fryn 2013-05-07 15:55:51 -05:00
Rodrigo Silveira
496d4ab870 bug 856241 - Remove closing multiple tabs dialog r=mbrubeck 2013-04-03 13:19:34 -07:00
Matt Brubeck
5d1a7619a6 Bug 851156 (part 3) - Clean up Metro password manager strings [r=jimm] 2013-03-14 11:08:59 -07:00
Jim Mathies
8bc324049b Bug 750903 - Land browser/metro/* r=mbrubeck 2013-02-12 14:51:25 -06:00