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

Side by Side Diff: test/message/non-use-strict-uhex-escape.js

Issue 1782173005: [testing] Move the last JS tests out of "preparser". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-test-preparser-2
Patch Set: Addressed comments. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 15 matching lines...) Expand all
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 // A string looking like "use strict", but with a long hex escape in it, 28 // A string looking like "use strict", but with a long hex escape in it,
29 // doesn't trigger strict mode. 29 // doesn't trigger strict mode.
30 30
31 function foo() { 31 function foo() {
32 "use\u0020strict"; 32 "use\u0020strict";
33 var x = "hello\040world"; 33 var x = "hello\040world";
34 return x; 34 return x;
35 } 35 }
OLDNEW
« no previous file with comments | « test/message/non-use-strict-octal-escape.out ('k') | test/message/non-use-strict-uhex-escape.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698