Closed Bug 1481927 Opened Last year Closed Last year

Fix the JSAutoRealmAllowCCW in TextEncoder::Encode

Categories

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

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: jandem, Assigned: bzbarsky)

References

Details

Attachments

(2 files)

aObj here can be a CCW: https://searchfox.org/mozilla-central/rev/f0c15db995198a1013e1c5f5b5bea54ef83f1049/dom/encoding/TextEncoder.cpp#34

See bug 1480678 comment 17 for more info. This will require changes to generated DOM bindings, Boris offered to fix this.
Flags: needinfo?(bzbarsky)
Flags: needinfo?(bzbarsky)
Comment on attachment 9004699 [details]
Bug 1481927.  Always pass an object from the "relevant global" to Web IDL APIs that have a non-wrapper-cached "this".  r=bholley

Bobby Holley (:bholley) has approved the revision.
Attachment #9004699 - Flags: review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3d7bb06312ed
Always pass an object from the "relevant global" to Web IDL APIs that have a non-wrapper-cached "this".  r=bholley
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/3d7bb06312ed
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.