Closed
Bug 1032344
Opened 11 years ago
Closed 10 years ago
Make some timeout related stuff inner window only
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1182316
People
(Reporter: khuey, Assigned: khuey)
References
Details
Attachments
(1 file)
8.04 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8448148 -
Flags: review?(bzbarsky)
![]() |
||
Comment 1•11 years ago
|
||
Comment on attachment 8448148 [details] [diff] [review]
Patch
r=me
Attachment #8448148 -
Flags: review?(bzbarsky) → review+
Comment 2•11 years ago
|
||
Comment on attachment 8448148 [details] [diff] [review]
Patch
Review of attachment 8448148 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/base/nsGlobalWindow.cpp
@@ +7257,5 @@
>
> void
> nsGlobalWindow::ClearTimeout(int32_t aHandle, ErrorResult& aError)
> {
> + FORWARD_TO_INNER_OR_THROW(ClearTimeout, (aHandle, aError), aError, );
Shouldn't we be doing this in the XPCOM version of this function? Who else would call this with an outer?
Updated•11 years ago
|
Flags: needinfo?(khuey)
Comment 4•11 years ago
|
||
Then why isn't that just asserting instead of forwarding? Again, who would call this with an outer?
Assignee | ||
Comment 5•11 years ago
|
||
Can we assume that every WebIDL entry point on Window is only called on an inner?
Flags: needinfo?(peterv)
Assignee | ||
Comment 6•11 years ago
|
||
From the bindings, anyways. Obviously nothing stops someone else from calling the C++ function manually.
![]() |
||
Comment 7•11 years ago
|
||
From the bindings, yes, you can.
Updated•11 years ago
|
Flags: needinfo?(peterv)
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
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
•