Closed
Bug 910088
Opened 12 years ago
Closed 12 years ago
Use webIDL dictionaries for DOMWindowResize event details
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
| Tracking | Status | |
|---|---|---|
| firefox25 | --- | unaffected |
| firefox26 | + | fixed |
People
(Reporter: kanru, Assigned: kanru)
References
Details
Attachments
(1 file, 2 obsolete files)
|
12.42 KB,
patch
|
kanru
:
review+
|
Details | Diff | Splinter Review |
As in bug 906901
Comment 1•12 years ago
|
||
This needs to happen. The situation as done in bug 891763 is not OK, and we shouldn't be shipping it.
Assignee: nobody → kchen
Comment 2•12 years ago
|
||
More precisely, I don't think the patch in bug 891763 should have gotten r+.
Updated•12 years ago
|
tracking-firefox26:
--- → ?
Comment 3•12 years ago
|
||
Do we want to backout the landing in bug 891763? It only landed to trunk 5 hours ago.
Comment 5•12 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #2)
> More precisely, I don't think the patch in bug 891763 should have gotten r+.
I'm really sorry about that.
While we're here we should probably also fix nsIAsyncScrollEventDetail.
Comment 6•12 years ago
|
||
What's the problem with nsIAsyncScrollEventDetail?
Comment 7•12 years ago
|
||
I mean other than it not being used afaict.
Comment 8•12 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #6)
> What's the problem with nsIAsyncScrollEventDetail?
Oh, I see that it's been converted and moved into BrowserElementDictionaries.webidl.
> I mean other than it not being used afaict.
So I guess nothing, aside from this. :)
| Assignee | ||
Comment 9•12 years ago
|
||
Attachment #797041 -
Flags: review?(bzbarsky)
| Assignee | ||
Comment 10•12 years ago
|
||
Use new API
Attachment #797041 -
Attachment is obsolete: true
Attachment #797041 -
Flags: review?(bzbarsky)
Attachment #797043 -
Flags: review?(bzbarsky)
Comment 11•12 years ago
|
||
Comment on attachment 797043 [details] [diff] [review]
Patch
>+ AutoSafeJSContext cx;
I think you need to enter the compartment of the window's JSObject on this cx.
>+ detail.ToObject(cx, JS::NullPtr(), &detailValue);
And if this returns false, return false.
r=me with those fixed. Thank you!
Attachment #797043 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 12•12 years ago
|
||
Attachment #797043 -
Attachment is obsolete: true
Attachment #797083 -
Flags: review+
| Assignee | ||
Comment 13•12 years ago
|
||
Comment 14•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Comment 15•12 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #11)
> >+ detail.ToObject(cx, JS::NullPtr(), &detailValue);
>
> And if this returns false, return false.
Why did you not address this comment?
Flags: needinfo?(kchen)
| Assignee | ||
Comment 16•12 years ago
|
||
(In reply to :Ms2ger from comment #15)
> (In reply to Boris Zbarsky [:bz] from comment #11)
> > >+ detail.ToObject(cx, JS::NullPtr(), &detailValue);
> >
> > And if this returns false, return false.
>
> Why did you not address this comment?
Oops. I forgot it. Sorry.
Flags: needinfo?(kchen)
| Assignee | ||
Comment 17•12 years ago
|
||
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 18•12 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → 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
•