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

Unified Diff: LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt

Issue 1163523002: DevTools: remove hand-written optimistic JSON parser introduced in r183821. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: bringing relaxed parser back Created 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt
diff --git a/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt b/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt
index 4127e3a2ad9e6ca3fe7dcaa08ff1c1259d3914ed..cce53720a18af50f07e0102a64f6b2f896e0cc81 100644
--- a/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt
+++ b/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt
@@ -12,7 +12,7 @@ Prefix: while(1);
Data: {"name":"value"}
Suffix:
-Input: [,"foo", -4.2, true, false, null]
+Input: [, "foo", -4.2, true, false, null]
Prefix:
Data: [null,"foo",-4.2,true,false,null]
Suffix:
@@ -22,16 +22,22 @@ Prefix:
Data: [{"foo":{},"bar":[]},[[],{}]]
Suffix:
-Input: /* vanilla */ run([1, 2, 3]);
-Prefix: /* vanilla */ run(
+Input: /* vanilla */ run ( [1, 2, 3] ) ;
+Prefix: /* vanilla */ run (
Data: [1,2,3]
-Suffix: );
+Suffix: ) ;
Input: ["A\"B\u0020C\nD\\E\u04ABF"]
Prefix:
Data: ["A\"B C\nD\\EҫF"]
Suffix:
-Input: <html>404 Page not found</html>
+Input: Text with with {}) inside
+Can't parse
+
+Input: <html>404 Page not found with foo({}) inside</html>
+Can't parse
+
+Input: /* vanilla prefix too large to be considered prefix Ok? */ run([1, 2, 3]); // since it is unlikely JSONP
Can't parse

Powered by Google App Engine
This is Rietveld 408576698