Closed
Bug 1129321
Opened 11 years ago
Closed 11 years ago
Remove nonstandard let blocks from browser
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 38
| Tracking | Status | |
|---|---|---|
| firefox38 | --- | fixed |
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(1 file)
|
11.30 KB,
patch
|
ttaubert
:
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 browser/ subtree.
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 #8558981 -
Flags: review?(mak77)
Comment 1•11 years ago
|
||
Comment on attachment 8558981 [details] [diff] [review]
browser.patch
Review of attachment 8558981 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the indentation of all the blocks fixed that now aren't blocks anymore. That basically affects all of the files :)
::: browser/components/places/tests/browser/head.js
@@ +21,2 @@
> if (cachedLeftPaneFolderIdGetter && typeof(getter) != "function")
> + PlacesUIUtils.__defineGetter__("leftPaneFolderId", cachedLeftPaneFolderIdGetter);
That indentation doesn't look right. Can you please add curly braces while you're at it?
Attachment #8558981 -
Flags: review?(mak77) → review+
| Assignee | ||
Comment 2•11 years ago
|
||
Thanks. I fixed the indentation and added curly braces.
https://hg.mozilla.org/integration/mozilla-inbound/rev/e37cf0a00e0f
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
You need to log in
before you can comment on or make changes to this bug.
Description
•