Closed
Bug 1053132
Opened 10 years ago
Closed 9 years ago
stopping generators cause Firefox to freeze (unresponsive script dialog)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1012480
People
(Reporter: freddy, Unassigned)
References
Details
(Keywords: regression, reproducible)
Attachments
(1 file)
Code snippet: > g= function* () { var x = 5; while (x < 3) { yield x--; } }; l=g(); for (element in l) { console.log(element) } Tim Taubert (CCd) says this is relevant: > Assertion failure: cx->iterValue.isMagic(JS_NO_ITER_VALUE), at /Users/tim/workspace/mozilla-central/js/src/vm/Interpreter.cpp:434 I get this on release & nightly, Mac and Linux.
Comment 1•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3e40f7389d1b&tochange=44ba69cacd7e Should have been regressed by bug 958951.
Blocks: 958951
status-firefox31:
--- → affected
status-firefox32:
--- → affected
status-firefox33:
--- → affected
status-firefox34:
--- → affected
status-firefox-esr24:
--- → unaffected
status-firefox-esr31:
--- → affected
Keywords: regression
Updated•10 years ago
|
Keywords: reproducible
Comment 2•9 years ago
|
||
Seems to be dupe of bug 1012480. [x for (x in function*(){}())] Need to backport to esr31?
Comment 3•9 years ago
|
||
Confirmed the patch for bug 1012480 fixes this, it's landed to mozilla34. Exactly same patch is applicable to esr31,
Updated•9 years ago
|
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•