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

Side by Side 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: Improve test descriptions a bit 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
1 CONSOLE MESSAGE: line 6: XHR loaded: 1 1 CONSOLE MESSAGE: line 6: XHR loaded: 1
2 Tests XHR network resource content for asynchronous requests with application/js on mime type. Bug 80684 2 CONSOLE MESSAGE: line 6: XHR loaded: 2
3 3 Tests that the content of resources with JSON MIME types can be accessed.
4 http://127.0.0.1:8000/inspector/network/resources/json.php 4 When loaded by asynchronous XHR requests (Bug 80684) or within iframes/documents .
5 resource.type: xhr
6 resource.content before requesting content: undefined
7 resource.content after requesting content: {"number": "42"}
8 5
9 6
7 Running: test1
8 request.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=app lication%2Fjson
9 request.type: xhr
10 request.mimeType: application/json
11 request.content: {"number": "42"}
10 12
13 request.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=app lication%2Fjson
14 request.type: document
15 request.mimeType: application/json
16 request.content: {"number": "42"}
17
18
19 Running: test2
20 request.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=app lication%2Fvnd.document%2Bjson
21 request.type: xhr
22 request.mimeType: application/vnd.document+json
23 request.content: {"number": "42"}
24
25 request.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=app lication%2Fvnd.document%2Bjson
26 request.type: document
27 request.mimeType: application/vnd.document+json
28 request.content: {"number": "42"}
vsevik 2013/12/16 10:01:19 I am getting request.content: null in this line wi
sof 2013/12/16 10:35:32 Yes, application/vnd.document+json won't be recogn
29
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698