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

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

Issue 654083006: DevTools: NetworkPanel: use optimistic JSON parser for response preview. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
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 bab56cc2952c49daed463cc3c7d0b019fbb3e1fa..4127e3a2ad9e6ca3fe7dcaa08ff1c1259d3914ed 100644
--- a/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt
+++ b/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt
@@ -1,3 +1,37 @@
Tests RequestJSONView ability to parse JSON passed in XHR, JSONP
Bug 65559
+
+Input: {"name": "value"}
+Prefix:
+Data: {"name":"value"}
+Suffix:
+
+Input: while(1); {"name": "value"}
+Prefix: while(1);
+Data: {"name":"value"}
+Suffix:
+
+Input: [,"foo", -4.2, true, false, null]
+Prefix:
+Data: [null,"foo",-4.2,true,false,null]
+Suffix:
+
+Input: [{"foo": {}, "bar": []},[[],{}]]
+Prefix:
+Data: [{"foo":{},"bar":[]},[[],{}]]
+Suffix:
+
+Input: /* vanilla */ run([1, 2, 3]);
+Prefix: /* vanilla */ run(
+Data: [1,2,3]
+Suffix: );
+
+Input: ["A\"B\u0020C\nD\\E\u04ABF"]
+Prefix:
+Data: ["A\"B C\nD\\EҫF"]
+Suffix:
+
+Input: <html>404 Page not found</html>
+Can't parse
+

Powered by Google App Engine
This is Rietveld 408576698