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

Side by Side Diff: LayoutTests/http/tests/inspector/network/network-preview-json-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 unified diff | Download patch
OLDNEW
(Empty)
1 Tests that application/json content is fetched and previewed as JSON.
2
3
4 Running: testJSON_1
5 resource.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=ap plication%2Fjson
6 resource.type: document
7 resource.content: {"number": "42"}
8
9 The preview tab has a JSON view: true
10
11 Running: testJSON_2
12 resource.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=ap plication%2Fvnd.document%2Bjson
13 resource.type: document
14 resource.content: {"number": "42"}
15
16 The preview tab has a JSON view: true
17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698