Closed
Bug 1129325
Opened 10 years ago
Closed 10 years ago
Remove nonstandard let blocks from dom
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(1 file)
14.05 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
let blocks are a nonstandard SpiderMonkey feature we would like to remove (in bug 1023609). This patch removes the let blocks in the dom/ subtree. For variable names that are declared in multiple let blocks in the same function, I just reused the same variable instead of giving them pointlessly unique names like `str2`.
The attached patch excludes whitespace changes because most of the patch is unindenting blocks of unchanged code from the removed let blocks. This made the important bits of the patch harder to review.
Attachment #8558984 -
Flags: review?(mrbkap)
Comment 1•10 years ago
|
||
Comment on attachment 8558984 [details] [diff] [review]
dom.patch
Review of attachment 8558984 [details] [diff] [review]:
-----------------------------------------------------------------
In the future it'd be good to attach both the diff -w as well as the full diff. This looks good to me.
Attachment #8558984 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•