| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../resources/testharness.js"></script> | 4 <script src="../../../resources/testharness.js"></script> |
| 5 <script src="../../../resources/testharnessreport.js"></script> | 5 <script src="../../../resources/testharnessreport.js"></script> |
| 6 <script src="../resources/get-host-info.js"></script> |
| 6 <script src="resources/load_wasm.js"></script> | 7 <script src="resources/load_wasm.js"></script> |
| 7 <script src="wasm_indexeddb_test.js"></script> | 8 <script src="wasm_indexeddb_test.js"></script> |
| 8 </head> | 9 </head> |
| 9 <body> | 10 <body> |
| 10 <script> | 11 <script> |
| 11 promise_test(TestIndexedDBLoadStore, "serialize/deserialize to IndexedDB"); | 12 if (window.location.origin != get_host_info().AUTHENTICATED_ORIGIN) { |
| 13 window.location = get_host_info().AUTHENTICATED_ORIGIN + window.location.pat
hname; |
| 14 } else { |
| 15 promise_test(TestIndexedDBLoadStoreSecure, "serialize/deserialize to Indexed
DB in secure context"); |
| 16 } |
| 12 </script> | 17 </script> |
| 13 </body> | 18 </body> |
| 14 </html> | 19 </html> |
| OLD | NEW |