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

Unified Diff: LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt

Issue 94893003: Support for json media types as (non-image) mime types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added DOMImplementation::isJSONMIMEType() and use it to resolve default encodings Created 7 years 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/async-xhr-json-mime-type-expected.txt
diff --git a/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt b/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt
index 6df098fc95c5a6576d4fbbaa22ee07b94fc14779..8f31e1696f9a8d355f3463e2158308083e2f1ab0 100644
--- a/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt
+++ b/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt
@@ -1,10 +1,21 @@
CONSOLE MESSAGE: line 6: XHR loaded: 1
+CONSOLE MESSAGE: line 6: XHR loaded: 2
Tests XHR network resource content for asynchronous requests with application/json mime type. Bug 80684
-http://127.0.0.1:8000/inspector/network/resources/json.php
+
+Running: test1
+http://127.0.0.1:8000/inspector/network/resources/json.php?type=application%2Fjson
resource.type: xhr
resource.content before requesting content: undefined
resource.content after requesting content: {"number": "42"}
+The preview tab has a JSON view: true
+
+Running: test2
+http://127.0.0.1:8000/inspector/network/resources/json.php?type=application%2Fvnd.document%2Bjson
+resource.type: xhr
+resource.content before requesting content: undefined
+resource.content after requesting content: {"number": "42"}
+The preview tab has a JSON view: true

Powered by Google App Engine
This is Rietveld 408576698