OLD | NEW |
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"} |
| 29 |
| 30 |
OLD | NEW |