Closed Bug 917539 Opened 11 years ago Closed 11 years ago

Move the JSCompartment to the end of the arglist for JS-implemented WebIDL, and make it optional

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This way C++ callers can call into JS-implemented WebIDL methods sanely and by default get the right behavior: null compartment, so exception reported before returning.
Attachment #806266 - Flags: review?(peterv) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/a354bd50d7f4
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla27
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: