Closed Bug 1129321 Opened 11 years ago Closed 11 years ago

Remove nonstandard let blocks from browser

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 38
Tracking Status
firefox38 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

Attachments

(1 file)

Attached patch browser.patchSplinter 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 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+
Thanks. I fixed the indentation and added curly braces. https://hg.mozilla.org/integration/mozilla-inbound/rev/e37cf0a00e0f
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Blocks: 1167029
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: