Closed
Bug 1245950
Opened 10 years ago
Closed 10 years ago
Have nsGlobalWindow privately inherit from nsIDOMWindowInternal
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla47
| Tracking | Status | |
|---|---|---|
| firefox47 | --- | fixed |
People
(Reporter: khuey, Assigned: khuey)
References
Details
Attachments
(1 file)
|
4.98 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8715956 -
Flags: review?(bugs)
Comment 1•10 years ago
|
||
Comment on attachment 8715956 [details] [diff] [review]
Patch
Not quite sure why, but if this forces us to use newer stuff and now the legacy interfaces, fine.
I'm not too happy with
- nsCOMPtr<nsIDOMWindow> window = do_QueryReferent(mWindow);
+ nsCOMPtr<nsISupports> window = do_QueryReferent(mWindow);
if (!skipNukeCrossCompartment && window) {
- nsGlobalWindow* win = static_cast<nsGlobalWindow*>(window.get());
+ nsGlobalWindow* win = nsGlobalWindow::FromSupports(window);
Would be nicer to QR to some window specific interface but fine.
Attachment #8715956 -
Flags: review?(bugs) → review+
Comment 4•10 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5aaf42e26bf1
https://hg.mozilla.org/mozilla-central/rev/8de87e81529a
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•