Closed Bug 1340201 Opened 3 years ago Closed 3 years ago

Expose IsTopLevelWindow() and HadOriginalOpener() on nsPIDOMWindowOuter

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Iteration:
54.2 - Feb 20
Tracking Status
firefox54 --- fixed

People

(Reporter: bkelly, Assigned: bkelly)

References

Details

(Whiteboard: [e10s-multi:+] )

Attachments

(1 file)

I'd like to call a couple methods on nsPIDOMWindowOuter that are only available on nsGlobalWindow at the moment.  I could case, but it would be better not to pollute more code with nsGlobalWindow references.
Boris, can you review this small patch?  I would just like to be able to call these outer-only methods on nsPIDOMWindowOuter.
Flags: needinfo?(bzbarsky)
Comment on attachment 8838178 [details] [diff] [review]
Expose IsTopLevelWindow() and HadOriginalOpener() on nsPIDOMWindowOuter. r=bz

r=me
Flags: needinfo?(bzbarsky)
Attachment #8838178 - Flags: review+
Pushed by bkelly@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/57557d3aac08
Expose IsTopLevelWindow() and HadOriginalOpener() on nsPIDOMWindowOuter. r=bz
https://hg.mozilla.org/mozilla-central/rev/57557d3aac08
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Iteration: --- → 54.2 - Feb 20
Whiteboard: [e10s-multi:+]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.