As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact bugzilla-admin@mozilla.org
Last Comment Bug 715679 - Handle more than one window correctly
: Handle more than one window correctly
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Widget (show other bugs)
: unspecified
: All Gonk (Firefox OS)
: -- normal (vote)
: mozilla12
Assigned To: Michael Wu [:mwu]
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-05 14:59 PST by Michael Wu [:mwu]
Modified: 2012-01-06 15:55 PST (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Support more than one window (1.63 KB, patch)
2012-01-05 14:59 PST, Michael Wu [:mwu]
cjones.bugs: review+
Details | Diff | Splinter Review

Description User image Michael Wu [:mwu] 2012-01-05 14:59:20 PST
Created attachment 586236 [details] [diff] [review]
Support more than one window

Generally, there shouldn't be more than one window, but there are cases like the filepicker where that currently happens. This ensures the gonk backend doesn't get too confused when that happens so that we can switch back to our main window.
Comment 1 User image Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-01-05 16:32:31 PST
Comment on attachment 586236 [details] [diff] [review]
Support more than one window

Yeah when we get gaia settled we'll never have more than one non-trivial nsWindow.  But this patch looks good.
Comment 3 User image Ed Morley [:emorley] 2012-01-06 15:55:44 PST
https://hg.mozilla.org/mozilla-central/rev/b0ec2c8e1055

Note You need to log in before you can comment on or make changes to this bug.