Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_test.html

Issue 2749503002: [wasm] enable wasm structured cloning in specific cases (Closed)
Patch Set: async Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698