Chromium Code Reviews| 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..f6e6531367dddf5afe076f990df2142269dffe30 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,30 @@ |
| CONSOLE MESSAGE: line 6: XHR loaded: 1 |
| -Tests XHR network resource content for asynchronous requests with application/json mime type. Bug 80684 |
| +CONSOLE MESSAGE: line 6: XHR loaded: 2 |
| +Tests that the content of resources with JSON MIME types can be accessed. |
| +When loaded by asynchronous XHR requests (Bug 80684) or within iframes/documents. |
| -http://127.0.0.1:8000/inspector/network/resources/json.php |
| -resource.type: xhr |
| -resource.content before requesting content: undefined |
| -resource.content after requesting content: {"number": "42"} |
| +Running: test1 |
| +request.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=application%2Fjson |
| +request.type: xhr |
| +request.mimeType: application/json |
| +request.content: {"number": "42"} |
| + |
| +request.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=application%2Fjson |
| +request.type: document |
| +request.mimeType: application/json |
| +request.content: {"number": "42"} |
| + |
| + |
| +Running: test2 |
| +request.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=application%2Fvnd.document%2Bjson |
| +request.type: xhr |
| +request.mimeType: application/vnd.document+json |
| +request.content: {"number": "42"} |
| + |
| +request.url: http://127.0.0.1:8000/inspector/network/resources/json.php?type=application%2Fvnd.document%2Bjson |
| +request.type: document |
| +request.mimeType: application/vnd.document+json |
| +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
|