Closed Bug 1342513 Opened 7 years ago Closed 7 years ago

AutoEntryScript needs a scripted caller override

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

Otherwise when invoking a callback without an explicitly-provided incumbent global we will end up getting whatever is on the script stack (clamped to subject) as incumbent, whereas we should get the entry global.
TheStill thinking of a way to write an automated test for this
Attachment #8841048 - Flags: review?(bobbyholley)
Attachment #8841048 - Flags: review?(bobbyholley) → review+
Flags: needinfo?(Ms2ger)
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/37962f553847
Set up a scripted caller override in AutoEntryScript.  r=bholley
https://hg.mozilla.org/mozilla-central/rev/37962f553847
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Flags: needinfo?(Ms2ger)
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: