Closed
Bug 1113006
Opened 10 years ago
Closed 10 years ago
Screen manager ScreenForBrowser message should return primary screen as fallback
Categories
(Core :: DOM: Content Processes, defect)
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: billm, Assigned: billm)
References
Details
Attachments
(1 file)
1.87 KB,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
Filing this regarding bug 1091705 comment 27. The basic problem is that we want window.screen.width to return a non-zero value even after the window has been closed. Right now the e10s code fails in ScreenManagerParent::RecvScreenForBrowser when getting a null result for GetWidget(). Based on http://mxr.mozilla.org/mozilla-central/source/gfx/src/nsDeviceContext.cpp#644, it seems like we should return the dimensions of the primary screen in this case. So that's what this patch does. I don't have a multiple monitor setup to test this, but it seems pretty safe.
Attachment #8538267 -
Flags: review?(mconley)
Updated•10 years ago
|
Attachment #8538267 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 1•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/06d89851a3a5
Comment 2•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/06d89851a3a5
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•