Closed
Bug 866222
Opened 12 years ago
Closed 11 years ago
Always or never define getInterface on the global
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: evilpie, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
(Keywords: site-compat)
Attachments
(1 file)
(deleted),
patch
|
peterv
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
We seem to not consistently have the getInterface on the global this. This causes issues with some test262, that compare the result of two consecutive for ... in over the global object.
Testcase: http://jsfiddle.net/sKYa6/1/
For some reason this doesn't always reproduce for me. My own build shows the problem, but the nightly I am using, does not.
Assignee | ||
Comment 1•12 years ago
|
||
I say we just add nsIInterfaceRequestor to window classinfo for now...
Component: XPConnect → DOM
What causes it to appear sometimes? The Firefox UI QIing it? Does that propagate through xrays?
Assignee | ||
Comment 3•12 years ago
|
||
> What causes it to appear sometimes? The Firefox UI QIing it?
Afaik, yes.
> Does that propagate through xrays?
Again, afaik yes.
I'll be glad when that goes away for DOM objects ;-)
Reporter | ||
Comment 5•12 years ago
|
||
I assume this is going to be fixed by webidl DOMWindow? Is that going to happen soon?
Assignee | ||
Comment 6•12 years ago
|
||
WebIDL window will get us "never", yes, for web content.
But it's not going to happen until a month or more from now at best; no one is actively workin on it.
For this bug, we could just add nsIInterfaceRequestor to the classinfo for window, I guess...
Assignee | ||
Comment 8•11 years ago
|
||
This seems to be breaking actual web content (see bug 965790). I think we should just add this to classinfo for the moment.
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #8368214 -
Flags: review?(peterv)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Updated•11 years ago
|
Attachment #8368214 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Flags: in-testsuite?
Target Milestone: --- → mozilla30
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 8368214 [details] [diff] [review]
Just always define getInterface on the window for now, so we stop breaking people. It'll go away once we ship WebIDL window.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Been with us for a while, but has
recently started breaking sites.
User impact if declined: Some websites (e.g. Udacity) are broken in Firefox.
Testing completed (on m-c, etc.): Passes our tests.
Risk to taking this patch (and alternatives if risky): Risk should be low. All
this patch does is make the property always visible to the web page, instead
of being either visible or not depending on what UI code happens to have run.
String or IDL/UUID changes made by this patch: None.
Attachment #8368214 -
Flags: approval-mozilla-beta?
Attachment #8368214 -
Flags: approval-mozilla-aurora?
Comment 12•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Attachment #8368214 -
Flags: approval-mozilla-beta?
Attachment #8368214 -
Flags: approval-mozilla-beta+
Attachment #8368214 -
Flags: approval-mozilla-aurora?
Attachment #8368214 -
Flags: approval-mozilla-aurora+
Updated•11 years ago
|
status-firefox27:
--- → wontfix
status-firefox28:
--- → affected
status-firefox29:
--- → affected
tracking-firefox28:
--- → -
Updated•11 years ago
|
tracking-firefox28:
- → ---
Comment 13•11 years ago
|
||
Updated•11 years ago
|
Comment 14•11 years ago
|
||
Cannot document this if we don't know when it started to happen.
Keywords: dev-doc-needed
Assignee | ||
Comment 15•11 years ago
|
||
I don't think this needs developer documentation. It "started" to happen probably over a decade ago.
Comment 16•11 years ago
|
||
Got it.
Comment 17•11 years ago
|
||
Updated•11 years ago
|
status-b2g-v1.3:
--- → fixed
status-b2g-v1.4:
--- → fixed
Reporter | ||
Comment 18•10 years ago
|
||
I re-enabled the test262 that this bug or WebIDL window should have fixed: https://hg.mozilla.org/integration/mozilla-inbound/rev/a67d187584ed
Comment 19•10 years ago
|
||
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
•