Changeset 162006 in webkit
- Timestamp:
- Jan 14, 2014 2:11:43 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r162002 r162006 1 2014-01-14 Mark Lam <mark.lam@apple.com> 2 3 ASSERTION FAILED: !hasError() in JSC::Parser<LexerType>::createSavePoint(). 4 https://bugs.webkit.org/show_bug.cgi?id=126990. 5 6 Reviewed by Geoffrey Garen. 7 8 * js/dom/parse-syntax-error-in-initializer-expected.txt: Added. 9 * js/dom/parse-syntax-error-in-initializer.html: Added. 10 * js/resources/parse-syntax-error-in-initializer.js: Added. 11 - Added bug test case as a regression test. 12 1 13 2014-01-14 Roger Fong <roger_fong@apple.com> 2 14 -
trunk/Source/JavaScriptCore/ChangeLog
r161994 r162006 1 2014-01-14 Mark Lam <mark.lam@apple.com> 2 3 ASSERTION FAILED: !hasError() in JSC::Parser<LexerType>::createSavePoint(). 4 https://bugs.webkit.org/show_bug.cgi?id=126990. 5 6 Reviewed by Geoffrey Garen. 7 8 * parser/Parser.cpp: 9 (JSC::Parser<LexerType>::parseConstDeclarationList): 10 - We were missing an error check after attempting to parse an initializer 11 expression. This is now fixed. 12 1 13 2014-01-14 Joseph Pecoraro <pecoraro@apple.com> 2 14 -
trunk/Source/JavaScriptCore/parser/Parser.cpp
r161309 r162006 661 661 next(TreeBuilder::DontBuildStrings); // consume '=' 662 662 initializer = parseAssignmentExpression(context); 663 failIfFalse(!!initializer, "Unable to parse initializer"); 663 664 } 664 665 tail = context.appendConstDecl(location, tail, name, initializer);
Note: See TracChangeset
for help on using the changeset viewer.