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

Side by Side Diff: test/mjsunit/harmony/modules-html-comments.js

Issue 2009963002: [modules] Disable HTML-like comments Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update attribute/method name Created 4 years, 6 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
« src/parsing/scanner.cc ('K') | « test/cctest/test-parsing.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // MODULE
6
7 var x = 1;
8 x --> 0;
9 assertEquals(0, x, 'a');
10
11 var x = 0; x <!-- x
12 assertEquals(-1, x, 'b');
13
14 var x = 1; x <!--x
15 assertEquals(0, x, 'c');
16
17 var x = 2; x <!-- x; x = 42;
18 assertEquals(42, x, 'd');
19
20 var x = 1; x <! x--;
21 assertEquals(0, x, 'e');
22
23 var x = 1; x <!- x--;
24 assertEquals(0, x, 'f');
25
26 var b = true <! true;
27 assertFalse(b, 'g');
28
29 var b = true <!- true;
30 assertFalse(b, 'h');
OLDNEW
« src/parsing/scanner.cc ('K') | « test/cctest/test-parsing.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698