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

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

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
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/network/network-preview-json.html
diff --git a/LayoutTests/http/tests/inspector/network/network-preview-json.html b/LayoutTests/http/tests/inspector/network/network-preview-json.html
index 29fb5c0ee995753a47fbecddc654663112d2b48c..b50b9f974f350565080da6dae3bb81c9d251819e 100644
--- a/LayoutTests/http/tests/inspector/network/network-preview-json.html
+++ b/LayoutTests/http/tests/inspector/network/network-preview-json.html
@@ -21,12 +21,13 @@ function test()
check("{\"name\": \"value\"}");
check("while(1); {\"name\": \"value\"}");
- check("[,\"foo\", -4.2, true, false, null]");
+ check("[, \"foo\", -4.2, true, false, null]");
check("[{\"foo\": {}, \"bar\": []},[[],{}]]");
- check("/* vanilla */ run([1, 2, 3]);");
+ check("/* vanilla */ run ( [1, 2, 3] ) ;");
check("[\"A\\\"B\\u0020C\\nD\\\\E\\u04ABF\"]");
-
- check("<html>404 Page not found</html>");
+ check("Text with with {}) inside");
+ check("<html>404 Page not found with foo({}) inside</html>");
+ check("/* vanilla prefix too large to be considered prefix Ok? */ run([1, 2, 3]); // since it is unlikely JSONP");
InspectorTest.completeTest();
}
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698