Closed Bug 1245950 Opened 10 years ago Closed 10 years ago

Have nsGlobalWindow privately inherit from nsIDOMWindowInternal

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: khuey, Assigned: khuey)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
No description provided.
Attachment #8715956 - Flags: review?(bugs)
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+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: