| OLD | NEW |
| (Empty) |
| 1 GET and POST should not be the only HTTP methods implemented in XMLHttpRequest f
or SharedWorkers. | |
| 2 | |
| 3 GET(""): GET(0 bytes), Content-Type: null | |
| 4 GET(null): GET(0 bytes), Content-Type: null | |
| 5 GET("123"): GET(0 bytes), Content-Type: null | |
| 6 POST(""): POST(0 bytes), Content-Type: text/plain;charset=UTF-8 | |
| 7 POST(null): POST(0 bytes), Content-Type: null | |
| 8 POST("123"): POST(3 bytes), Content-Type: text/plain;charset=UTF-8 | |
| 9 PUT(""): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8 | |
| 10 PUT(null): PUT(0 bytes), Content-Type: null | |
| 11 PUT("123"): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8 | |
| 12 DELETE(""): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8 | |
| 13 DELETE(null): DELETE(0 bytes), Content-Type: null | |
| 14 DELETE("123"): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8 | |
| 15 HEAD(""): HEAD(0 bytes), Content-Type: null | |
| 16 HEAD(null): HEAD(0 bytes), Content-Type: null | |
| 17 HEAD("123"): HEAD(0 bytes), Content-Type: null | |
| 18 WKFOOBAR(""): null(null bytes), Content-Type: null | |
| 19 WKFOOBAR(null): null(null bytes), Content-Type: null | |
| 20 WKFOOBAR("123"): null(null bytes), Content-Type: null | |
| 21 SEARCH(""): null(null bytes), Content-Type: null | |
| 22 SEARCH(null): null(null bytes), Content-Type: null | |
| 23 SEARCH("123"): null(null bytes), Content-Type: null | |
| 24 DONE | |
| OLD | NEW |