Closed
Bug 730139
Opened 13 years ago
Closed 13 years ago
Try making 'let' a reserved word
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WONTFIX
mozilla13
People
(Reporter: jorendorff, Unassigned)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [mentor=jorendorff][lang=c++])
Attachments
(1 file)
6.02 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
'let' is reserved in strict mode. JSCore currently reserves 'let' even in non-strict code (on an experimental basis).
We should join in the experiment.
Updated•13 years ago
|
Whiteboard: [mentor=jorendorff] → [mentor=jorendorff][lang=c++]
Updated•13 years ago
|
Keywords: dev-doc-needed
Comment 1•13 years ago
|
||
Try run for 32ea63fd558b is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=32ea63fd558b
Results (out of 2 total builds):
exception: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jorendorff@mozilla.com-32ea63fd558b
Comment 2•13 years ago
|
||
Try run for 4d3dbe17bf5f is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=4d3dbe17bf5f
Results (out of 23 total builds):
success: 10
warnings: 13
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jorendorff@mozilla.com-4d3dbe17bf5f
Comment 3•13 years ago
|
||
Try run for 52b550e6b0f7 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=52b550e6b0f7
Results (out of 24 total builds):
success: 22
warnings: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jorendorff@mozilla.com-52b550e6b0f7
Reporter | ||
Comment 4•13 years ago
|
||
This is Adam's patch. I will be reviewing and pushing it in the next couple of hours.
Attachment #604038 -
Flags: review?(jorendorff)
Reporter | ||
Comment 5•13 years ago
|
||
Comment on attachment 604038 [details] [diff] [review]
v1
Review of attachment 604038 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with one change, noted below.
I'll make the change and push it in a few hours.
::: js/src/tests/ecma_5/misc/future-reserved-words.js
@@ -27,5 @@
> var strictFutureReservedWords =
> [
> "implements",
> "interface",
> - "let", // enabled: this file doesn't execute as JS1.7
Looking at what this test actually does, I think "let" should be moved to futureReservedWords rather than simply deleted. And there should definitely be a comment noting that in doing so we're departing from ES5 (in an attempt to make ES6 better).
Attachment #604038 -
Flags: review?(jorendorff) → review+
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Comment 7•13 years ago
|
||
Given this was backed out in bug 738908, I think there's nothing to document here.
Keywords: dev-doc-needed → dev-doc-complete
Updated•13 years ago
|
Resolution: FIXED → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•