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

Unified Diff: sky/tests/parser/script-expected.txt

Issue 685593006: This CL provides a bunch of new parser tests, and updates the (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/tests/parser/script.sky ('k') | sky/tests/parser/starttag.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/parser/script-expected.txt
diff --git a/sky/tests/parser/script-expected.txt b/sky/tests/parser/script-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bbdefd4f5e0af44260d1eeb971759d523453bf2
--- /dev/null
+++ b/sky/tests/parser/script-expected.txt
@@ -0,0 +1,57 @@
+ERROR: Uncaught SyntaxError: Unexpected token <
+SOURCE: http://127.0.0.1:8000/parser/script.sky:3
+ERROR: Uncaught SyntaxError: Unexpected token <
+SOURCE: http://127.0.0.1:8000/parser/script.sky:3
+ERROR: Uncaught SyntaxError: Unexpected token <
+SOURCE: http://127.0.0.1:8000/parser/script.sky:3
+ERROR: Uncaught ReferenceError: TEST is not defined
+SOURCE: http://127.0.0.1:8000/parser/script.sky:2
+ERROR: Uncaught SyntaxError: Invalid regular expression: missing /
+SOURCE: http://127.0.0.1:8000/parser/script.sky:2
+ERROR: Uncaught SyntaxError: Invalid regular expression: missing /
+SOURCE: http://127.0.0.1:8000/parser/script.sky:2
+ERROR: Uncaught SyntaxError: Unexpected token }
+SOURCE: http://127.0.0.1:8000/parser/script.sky:4
+<html>
+<link rel="import" href="../resources/dump-as-markup.sky"></link>
+<body>
+
+<script>
+ TEST <a></a>
+</script>
+
+<SCRIPT>
+ TEST <a></a>
+</SCRIPT>
+
+<script>
+<SCRIPT>
+ TEST <a></a>
+</SCRIPT>
+</script>
+
+<SCRIPT>
+<script>
+ TEST <a></a>
+</SCRIPT>
+</script>
+</SCRIPT>
+
+<script> TEST </script>
+
+&lt;
+script
+&gt; TEST
+
+<script> TEST </
+script>
+</script>
+
+<script> TEST </scrip>
+</script>
+
+<script> TEST <//script>
+</script>
+
+</body>
+</html>
« no previous file with comments | « sky/tests/parser/script.sky ('k') | sky/tests/parser/starttag.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698