OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
4 <script src="../storage/resources/serialized-script-value.js"></script> | 4 <script src="../storage/resources/serialized-script-value.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 | 8 |
9 function testSerialization(obj, values, oldFormat, serializeExceptionValue) { | 9 function testSerialization(obj, values, oldFormat, serializeExceptionValue) { |
10 _testSerialization(2, obj, values, oldFormat, serializeExceptionValue); | 10 _testSerialization(2, obj, values, oldFormat, serializeExceptionValue); |
11 } | 11 } |
12 | 12 |
13 // we only test a few cases of the "old" serialization format because | 13 // we only test a few cases of the "old" serialization format because |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 0x0353, 0x6162, 0x3f72, 0x4901, 0x0790, | 146 0x0353, 0x6162, 0x3f72, 0x4901, 0x0790, |
147 0x013f, 0x0053, 0x013f, 0x2430, 0x0205]); | 147 0x013f, 0x0053, 0x013f, 0x2430, 0x0205]); |
148 | 148 |
149 testSerialization(function(){}, [], null, DOMException.DATA_CLONE_ERR); | 149 testSerialization(function(){}, [], null, DOMException.DATA_CLONE_ERR); |
150 | 150 |
151 testBlobSerialization(); | 151 testBlobSerialization(); |
152 | 152 |
153 </script> | 153 </script> |
154 </body> | 154 </body> |
155 </html> | 155 </html> |
OLD | NEW |