Closed Bug 1142115 Opened 5 years ago Closed 3 years ago
Clean up for/of loop in _add
Right now we need to intentionally create a fresh binding inside of the for/of loop in _addScript because SpiderMonkey doesn't do that automatically for for/of yet. When bug 1101653 is fixed we should remove that fresh binding.
I couldn't find whatever code this is referring to. I imagine it's been refactored away.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
... and now I found it. https://dxr.mozilla.org/mozilla-central/rev/d29f84406483c721a13cf9a52936ecced0c5c98a/devtools/server/actors/script.js#1953
Status: RESOLVED → REOPENED
Priority: -- → P3
Resolution: FIXED → ---
Stumbled across this yet again.
Assignee: nobody → ttromey
Comment on attachment 8873962 [details] Bug 1142115 - remove for/of scoping workaround; https://reviewboard.mozilla.org/r/145386/#review149324
Attachment #8873962 - Flags: review+
Comment on attachment 8873962 [details] Bug 1142115 - remove for/of scoping workaround; https://reviewboard.mozilla.org/r/145386/#review149334 Agree with jryans
Attachment #8873962 - Flags: review?(bgrinstead) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/64af9e5dd9e1 remove for/of scoping workaround; r=bgrins,jryans
You need to log in before you can comment on or make changes to this bug.