OLD | NEW |
1 Tests RequestJSONView ability to parse JSON passed in XHR, JSONP | 1 Tests RequestJSONView ability to parse JSON passed in XHR, JSONP |
2 | 2 |
3 Bug 65559 | 3 Bug 65559 |
| 4 |
| 5 Input: {"name": "value"} |
| 6 Prefix: |
| 7 Data: {"name":"value"} |
| 8 Suffix: |
| 9 |
| 10 Input: while(1); {"name": "value"} |
| 11 Prefix: while(1); |
| 12 Data: {"name":"value"} |
| 13 Suffix: |
| 14 |
| 15 Input: [,"foo", -4.2, true, false, null] |
| 16 Prefix: |
| 17 Data: [null,"foo",-4.2,true,false,null] |
| 18 Suffix: |
| 19 |
| 20 Input: [{"foo": {}, "bar": []},[[],{}]] |
| 21 Prefix: |
| 22 Data: [{"foo":{},"bar":[]},[[],{}]] |
| 23 Suffix: |
| 24 |
| 25 Input: /* vanilla */ run([1, 2, 3]); |
| 26 Prefix: /* vanilla */ run( |
| 27 Data: [1,2,3] |
| 28 Suffix: ); |
| 29 |
| 30 Input: ["A\"B\u0020C\nD\\E\u04ABF"] |
| 31 Prefix: |
| 32 Data: ["A\"B C\nD\\EҫF"] |
| 33 Suffix: |
| 34 |
| 35 Input: <html>404 Page not found</html> |
| 36 Can't parse |
| 37 |
OLD | NEW |