Closed
Bug 817476
Opened 12 years ago
Closed 12 years ago
_Really_ convert Screen to WebIDL
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
678 bytes,
patch
|
Ms2ger
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
We sort of failed to SetIsDOMBinding(), so it's still getting XPConnect objects and all that.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #687640 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 3•12 years ago
|
||
Real try push: https://tbpl.mozilla.org/?tree=Try&rev=4b1123f00196
Comment 4•12 years ago
|
||
Comment on attachment 687640 [details] [diff] [review]
Really do WebIDL bindings for Screen.
Review of attachment 687640 [details] [diff] [review]:
-----------------------------------------------------------------
Gah, I suck at this.
Attachment #687640 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Updated•12 years ago
|
Whiteboard: [need review]
Assignee | ||
Comment 5•12 years ago
|
||
Hey, I reviewed, so we can blame ourselves together. ;)
Assignee | ||
Comment 6•12 years ago
|
||
Note, due to this bug this:
document.writeln(Screen.prototype);
document.writeln(screen.__proto__);
document.writeln(screen.__proto__ == Screen.prototype);
writes out two different objects and then false. If the order of the first two calls is reversed, you get the same object (the xpconnect proto) and then true.
So we probably want to take this on Aurora.
Assignee | ||
Comment 7•12 years ago
|
||
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla20
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 687640 [details] [diff] [review]
Really do WebIDL bindings for Screen.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 793244
User impact if declined: There can be weirdness where defining a function on
window.Screen.prototype doesn't make it appear on window.screen.
Testing completed (on m-c, etc.): Passes attached test.
Risk to taking this patch (and alternatives if risky): Low risk, I believe. The
other option is to back out bug 793244 which might actually be more risky.
String or UUID changes made by this patch: None.
Attachment #687640 -
Flags: approval-mozilla-aurora?
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 10•12 years ago
|
||
Comment on attachment 687640 [details] [diff] [review]
Really do WebIDL bindings for Screen.
If a backout is riskier, then please go ahead with uplifting this to Aurora so we can get bake time there.
Attachment #687640 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 11•12 years ago
|
||
status-firefox19:
--- → fixed
status-firefox20:
--- → fixed
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•