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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_negative_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_negative_test.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_negative_test.html b/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_negative_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..56e6344fcc37e20407fa7009b5e78eb3047248ef
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_indexeddb_negative_test.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<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>
+ if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
+ window.location = get_host_info().UNAUTHENTICATED_ORIGIN + window.location.pathname;
+ } else {
+ promise_test(TestIndexedDBLoadStoreInsecure, "serialize/deserialize to IndexedDB in insecure context");
+ }
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698