Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Issue 9490006: Fix illegal escape-sequences to throw syntax errors. (Closed)

Created:
8 years, 9 months ago by Michael Starzinger
Modified:
8 years, 8 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Fix illegal escape-sequences to throw syntax errors. R=erik.corry@gmail.com TEST=test262/S7.8.4_A6.*,test262/S7.8.4_A7.* Committed: https://code.google.com/p/v8/source/detail?r=11340

Patch Set 1 #

Patch Set 2 : Rebased. #

Total comments: 7

Patch Set 3 : Addressed comments by Erik Corry. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -66 lines) Patch
M src/scanner.h View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M src/scanner.cc View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M test/mjsunit/compiler/literals.js View 1 chunk +12 lines, -12 lines 0 comments Download
M test/mozilla/mozilla.status View 1 1 chunk +8 lines, -0 lines 0 comments Download
M test/sputnik/sputnik.status View 1 chunk +4 lines, -26 lines 0 comments Download
M test/test262/test262.status View 1 1 chunk +0 lines, -16 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Michael Starzinger
8 years, 8 months ago (2012-04-16 13:54:38 UTC) #1
Erik Corry
LGTM https://chromiumcodereview.appspot.com/9490006/diff/1001/src/scanner.cc File src/scanner.cc (right): https://chromiumcodereview.appspot.com/9490006/diff/1001/src/scanner.cc#newcode657 src/scanner.cc:657: // According to ECMA-262, 3rd, 7.8.4 (p 18ff) ...
8 years, 8 months ago (2012-04-16 14:16:32 UTC) #2
Michael Starzinger
Added new patch set. https://chromiumcodereview.appspot.com/9490006/diff/1001/src/scanner.cc File src/scanner.cc (right): https://chromiumcodereview.appspot.com/9490006/diff/1001/src/scanner.cc#newcode657 src/scanner.cc:657: // According to ECMA-262, 3rd, ...
8 years, 8 months ago (2012-04-16 15:44:37 UTC) #3
Michael Starzinger
8 years, 8 months ago (2012-04-16 15:53:22 UTC) #4
https://chromiumcodereview.appspot.com/9490006/diff/1001/test/mjsunit/compile...
File test/mjsunit/compiler/literals.js (right):

https://chromiumcodereview.appspot.com/9490006/diff/1001/test/mjsunit/compile...
test/mjsunit/compiler/literals.js:70: assertThrows('"\\u111G"');
On 2012/04/16 15:44:37, Michael Starzinger wrote:
> On 2012/04/16 14:16:32, Erik Corry wrote:
> > You are sure this matches the other browsers?

For the sake of completeness, IE9 also matches this behavior.

Powered by Google App Engine
This is Rietveld 408576698