Closed Bug 1224609 Opened 9 years ago Closed 9 years ago

window.screen in a web content process fails

Categories

(B2GDroid Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sgiles, Assigned: sgiles)

Details

Attachments

(1 file, 1 obsolete file)

The window.screen object in a web content process fails and is populated with incorrect values.  (This currently break the gallery for example).

> window.screen

>> Screen { availWidth: 0, availHeight: 0, width: 0, height: 0, colorDepth: 24, pixelDepth: 24, top: 0, left: 0, availTop: 0, availLeft: 0 }
Attached patch screen-fallback.patch (obsolete) — Splinter Review
There exists a code path here that screen may not be populated correctly.  This checks for that and falls back (also see bug 1113006)
Attachment #8687912 - Flags: review?(wmccloskey)
Attachment #8687912 - Flags: review?(wmccloskey) → review+
Added r=
Attachment #8688846 - Attachment description: screen-fallback.patch → Patch with r= in comment
Comment on attachment 8687912 [details] [diff] [review]
screen-fallback.patch

See identical patch with r= in comment
Attachment #8687912 - Attachment is obsolete: true
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/b58eb56c2a07
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: