Closed Bug 60356 Opened 25 years ago Closed 25 years ago

xpcshell needs to use JS_{Begin,End}Request

Categories

(Core :: XPConnect, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jband_mozilla, Assigned: jband_mozilla)

Details

Attachments

(1 file)

We need to run within requests to avoid badness in multithreaded use of xpcshell. I'll attach a proposed fix. Reviews please.
Attached patch proposed fixSplinter Review
sr=brendan@mozilla.org. JS_BufferIsCompileableUnit actually needs to fend off the GC, but the compiler does it (look for JS_DISABLE_GC in jsparse.c), so no worries. /be
r=mccabe
fixes checked in
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Marking Verified -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: