Closed
Bug 1696756
Opened 3 years ago
Closed 3 years ago
Add a function to get the Window associated with a Sandbox
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: evilpie, Assigned: evilpie)
References
Details
Attachments
(2 files)
A Sandbox can wrap a DOMWindow via its sandboxPrototype
. Sometimes it's useful to get the DOMWindow of a Sandbox for error reporting etc.
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → evilpies
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
I noticed this while working on my import patch. When the import fails the promise is rejected. Currently
that rejection just ends up somewhere in the Browser Console.
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/ed488c762faa Add SandboxWindowOrNull to get Window wrapped by Sandbox. r=smaug https://hg.mozilla.org/integration/autoland/rev/3c9cd0eadb39 Log promise rejections from sandboxed code to the right window. r=smaug
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ed488c762faa
https://hg.mozilla.org/mozilla-central/rev/3c9cd0eadb39
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox88:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•