Closed
Bug 965154
Opened 9 years ago
Closed 9 years ago
Make the global scope polluter work with WebIDL Window
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
4.09 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
Just need to fix how it gets the window from the global.
![]() |
Assignee | |
Comment 1•9 years ago
|
||
Attachment #8367147 -
Flags: review?(peterv)
Comment 2•9 years ago
|
||
Comment on attachment 8367147 [details] [diff] [review] Make the global scope polluter handle WebIDL Window objects. Review of attachment 8367147 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/WindowNamedPropertiesHandler.cpp @@ +9,5 @@ > #include "nsGlobalWindow.h" > #include "nsHTMLDocument.h" > #include "nsJSUtils.h" > #include "xpcprivate.h" > +#include "mozilla/dom/WindowBinding.h" Nit: this list of includes is sorted
Comment 3•9 years ago
|
||
Comment on attachment 8367147 [details] [diff] [review] Make the global scope polluter handle WebIDL Window objects. Review of attachment 8367147 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/WindowNamedPropertiesHandler.cpp @@ +101,5 @@ > > nsDependentJSString str(aId); > > // Grab the DOM window. > + nsGlobalWindow* win = GetWindowFromGlobal(global);; Redundant semicolon.
Attachment #8367147 -
Flags: review?(peterv) → review+
![]() |
Assignee | |
Comment 4•9 years ago
|
||
Fixed both nits and pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/3910ec9bec17
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla30
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3910ec9bec17
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•