Closed Bug 528414 Opened 15 years ago Closed 15 years ago

JS_IsRunning can be wrong

Categories

(Core :: JavaScript Engine, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

JS_IsRunning(cx) returns true if JS_ON_TRACE(cx). But JS_ON_TRACE(cx) is true if *any* context on the current thread is on trace.
Attached patch v1Splinter Review
Assignee: general → jorendorff
Attachment #412129 - Flags: review?(brendan)
Attachment #412129 - Flags: review?(brendan) → review+
http://hg.mozilla.org/tracemonkey/rev/a76089fc9dba
Whiteboard: fixed-in-tracemonkey
http://hg.mozilla.org/mozilla-central/rev/a76089fc9dba
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: