| Index: third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_test.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_test.html b/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_test.html
|
| index c9f6b179f67abfb3b1779d04bc657ab90b72a9eb..03d891c1d3890ce010e6612cbdd742bf7cc6d673 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_test.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_test.html
|
| @@ -3,12 +3,17 @@
|
| <head>
|
| <script src="../../../resources/testharness.js"></script>
|
| <script src="../../../resources/testharnessreport.js"></script>
|
| +<script src="../resources/get-host-info.js"></script>
|
| <script src="resources/load_wasm.js"></script>
|
| <script src="wasm_indexeddb_test.js"></script>
|
| </head>
|
| <body>
|
| <script>
|
| - promise_test(TestIndexedDBLoadStore, "serialize/deserialize to IndexedDB");
|
| + if (window.location.origin != get_host_info().AUTHENTICATED_ORIGIN) {
|
| + window.location = get_host_info().AUTHENTICATED_ORIGIN + window.location.pathname;
|
| + } else {
|
| + promise_test(TestIndexedDBLoadStoreSecure, "serialize/deserialize to IndexedDB in secure context");
|
| + }
|
| </script>
|
| </body>
|
| </html>
|
|
|