Closed Bug 577684 Opened 15 years ago Closed 15 years ago

Jetpack should push the JS context stack when running handlers

Categories

(Core :: XPCOM, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta2+

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

Attachments

(1 file)

Jetpack message handler currently run JS from the toplevel event loop, and this breaks some assumptions in xpconnect about the JS context stack, which happens to break XHRs among other things. Pushing the saved JS context to the xpconnect stack appears to solve the issue: mrbkap, is there any other xpconnect state that I need to worry about?
Attachment #456582 - Flags: review?(mrbkap)
blocking2.0: --- → beta2+
Attachment #456582 - Flags: review?(mrbkap) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: