Closed Bug 1664585 Opened 4 years ago Closed 4 years ago

Expose SameOriginWithTop to JavaScript

Categories

(Core :: DOM: Content Processes, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: bdanforth, Assigned: bdanforth)

References

Details

Attachments

(1 file, 1 obsolete file)

I am working on Bug 786276 for the Password Manager, and I need to know if the current JSWindowActorChild in its current frame is same origin with the top level frame. I learned from Nika that there is a SameOriginWithTop boolean in C++ that would be helpful here if it were exposed.

Blocks: 786276
Attached patch bug_1664585.diff (obsolete) (deleted) — Splinter Review

:farre, Nika drafted this patch, but she will be out of the office for the next couple days and suggested I ask for your help in reviewing/landing this, so that I can unblock. Would you be able to help here?

I am not familiar with C++, so I opted not to submit this as a Phabricator revision. If there's a better way to share her patch, please let me know.

Flags: needinfo?(afarre)
Assignee: nobody → bdanforth
Status: NEW → ASSIGNED

Comment on attachment 9175342 [details] [diff] [review]
bug_1664585.diff

I submitted a Phabricator revision instead; though the patch is the same.

Attachment #9175342 - Attachment is obsolete: true
Pushed by rmaries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7171949020cb Expose SameOriginWithTop to JavaScript; r=farre,nika
Flags: needinfo?(afarre)
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: