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

Unified Diff: LayoutTests/inspector/syntax-highlight-javascript-expected.txt

Issue 22638008: DevTools: Use CodeMirror modes instead of highlight tokenizers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/inspector/syntax-highlight-html-expected.txt ('k') | Source/devtools/devtools.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/syntax-highlight-javascript-expected.txt
diff --git a/LayoutTests/inspector/syntax-highlight-javascript-expected.txt b/LayoutTests/inspector/syntax-highlight-javascript-expected.txt
index 66fcd76de174537688c4696f5866afdcfc5ffc50..01320de99d02ef4a371d1b773191af673bd35122 100644
--- a/LayoutTests/inspector/syntax-highlight-javascript-expected.txt
+++ b/LayoutTests/inspector/syntax-highlight-javascript-expected.txt
@@ -1,23 +1,23 @@
Tests that JavaScriptSourceSyntaxHighlighter detects the tokens.
-return'foo';: webkit-javascript-keyword,webkit-javascript-string,*
-/\//g: webkit-javascript-regexp
-//ig';: webkit-javascript-comment
-1 / 2 + /a/.test('a');: webkit-javascript-number,webkit-whitespace,*,webkit-whitespace,webkit-javascript-number,webkit-whitespace,*,webkit-whitespace,webkit-javascript-regexp,*,webkit-javascript-ident,webkit-brace-start,webkit-javascript-string,webkit-brace-end,*
-"\"/".length / 2: webkit-javascript-string,*,webkit-javascript-ident,webkit-whitespace,*,webkit-whitespace,webkit-javascript-number
-var foo = 1/*/***//2: webkit-javascript-keyword,webkit-whitespace,webkit-javascript-ident,webkit-whitespace,*,webkit-whitespace,webkit-javascript-number,webkit-javascript-comment,*,webkit-javascript-number
-/*comment*//.*/.test('a'): webkit-javascript-comment,webkit-javascript-regexp,*,webkit-javascript-ident,webkit-brace-start,webkit-javascript-string,webkit-brace-end
+return'foo';: cm-js-keyword,cm-js-string,*
+/\//g: *,cm-js-variable,cm-js-comment
+//ig';: cm-js-comment
+1 / 2 + /a/.test('a');: cm-js-number,*,cm-js-number,*,cm-js-string-2,*,cm-js-property,*,cm-js-string,*
+"\"/".length / 2: cm-js-string,*,cm-js-property,*,cm-js-number
+var foo = 1/*/***//2: cm-js-keyword,*,cm-js-variable,*,cm-js-number,cm-js-comment,*,cm-js-number
+/*comment*//.*/.test('a'): cm-js-comment,*,cm-js-string-2
'f\
-oo';: webkit-javascript-string,,webkit-javascript-string,*
-'\f\b\t';: webkit-javascript-string,*
+oo';: cm-js-string,,cm-js-string,*
+'\f\b\t';: cm-js-string,*
'/\
-/';: webkit-javascript-string,,webkit-javascript-string,*
+/';: cm-js-string,,cm-js-string,*
foo/**
/
-*/foo: webkit-javascript-ident,webkit-javascript-comment,,webkit-javascript-comment,,webkit-javascript-comment,webkit-javascript-ident
-{0: true}: webkit-block-start,webkit-javascript-number,*,webkit-whitespace,webkit-javascript-keyword,webkit-block-end
-var toString;: webkit-javascript-keyword,webkit-whitespace,webkit-javascript-ident,*
-var foo = undefined;: webkit-javascript-keyword,webkit-whitespace,webkit-javascript-ident,webkit-whitespace,*,webkit-whitespace,webkit-javascript-undef,*
-var foo = Infinity;: webkit-javascript-keyword,webkit-whitespace,webkit-javascript-ident,webkit-whitespace,*,webkit-whitespace,webkit-javascript-inf,*
-var foo = NaN;: webkit-javascript-keyword,webkit-whitespace,webkit-javascript-ident,webkit-whitespace,*,webkit-whitespace,webkit-javascript-nan,*
+*/foo: cm-js-variable,cm-js-comment,,cm-js-comment,,cm-js-comment,cm-js-variable
+{0: true}: *,cm-js-number,*,cm-js-atom,*
+var toString;: cm-js-keyword,*,cm-js-variable,*
+var foo = undefined;: cm-js-keyword,*,cm-js-variable,*,cm-js-atom,*
+var foo = Infinity;: cm-js-keyword,*,cm-js-variable,*,cm-js-atom,*
+var foo = NaN;: cm-js-keyword,*,cm-js-variable,*,cm-js-atom,*
« no previous file with comments | « LayoutTests/inspector/syntax-highlight-html-expected.txt ('k') | Source/devtools/devtools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698