Changeset 181503 in webkit
- Timestamp:
- Mar 14, 2015, 9:58:55 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/TestExpectations (modified) (1 diff)
-
LayoutTests/js/class-syntax-scoping-expected.txt (added)
-
LayoutTests/js/class-syntax-scoping.html (added)
-
LayoutTests/js/script-tests/class-syntax-scoping.js (added)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/parser/Parser.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r181497 r181503 1 2015-03-14 Ryosuke Niwa <rniwa@webkit.org> 2 3 parseClass should popScope after pushScope 4 https://bugs.webkit.org/show_bug.cgi?id=142689 5 6 Reviewed by Benjamin Poulain. 7 8 Added a regression test for the test case that caught this bug. 9 10 * TestExpectations: Skipped the test since ES6 class syntax isn't enabled by default. 11 * js/class-syntax-scoping-expected.txt: Added. 12 * js/class-syntax-scoping.html: Added. 13 * js/script-tests/class-syntax-scoping.js: Added. 14 (test): 15 1 16 2015-03-14 Michael Saboff <msaboff@apple.com> 2 17 -
trunk/LayoutTests/TestExpectations
r181490 r181503 72 72 webkit.org/b/140491 js/class-syntax-expression.html [ Failure ] 73 73 webkit.org/b/140491 js/class-syntax-extends.html [ Failure ] 74 webkit.org/b/140491 js/class-syntax-scoping.html [ Failure ] 74 75 webkit.org/b/140491 js/class-syntax-super.html [ Failure ] 75 76 -
trunk/Source/JavaScriptCore/ChangeLog
r181502 r181503 1 2015-03-14 Ryosuke Niwa <rniwa@webkit.org> 2 3 parseClass should popScope after pushScope 4 https://bugs.webkit.org/show_bug.cgi?id=142689 5 6 Reviewed by Benjamin Poulain. 7 8 Pop the parser scope as needed. 9 10 * parser/Parser.cpp: 11 (JSC::Parser<LexerType>::parseClass): 12 1 13 2015-03-14 Dean Jackson <dino@apple.com> 2 14 -
trunk/Source/JavaScriptCore/parser/Parser.cpp
r181490 r181503 1553 1553 semanticFailIfFalse(constructor, "Class declaration without a constructor is not supported yet"); 1554 1554 1555 failIfFalse(popScope(classScope, TreeBuilder::NeedsFreeVariableInfo), "Parser error"); 1555 1556 consumeOrFail(CLOSEBRACE, "Expected a closing '}' after a class body"); 1556 1557
Note:
See TracChangeset
for help on using the changeset viewer.