Closed
Bug 1291879
Opened 8 years ago
Closed 8 years ago
Spidermonkey doesn't always call interrupt callback even if interrupt is requested
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: smaug, Unassigned)
References
Details
http://jsbin.com/gugacasuci/edit?html,output or the test in bug 1291257 are examples of cases where at some point js engine ends up calling JSRuntime::requestInterrupt even though there is already pending interrupt (interrupt_ == true). However, JSRuntime::handleInterrupt never gets called.
Reporter | ||
Comment 1•8 years ago
|
||
Explicitly calling JS_RequestInterruptCallback in C++ forces the interrupt callback to get called, but in this case there really shouldn't be need for that.
Reporter | ||
Comment 2•8 years ago
|
||
Ok, I didn't know JSAutoRequest has the side effect to control interrupts. I thought JSEngine would just call interrupt callback anyhow, and that is why xpconnect has the timestamps updated when a new task starts and ends.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•