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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history-expected.txt

Issue 2876293002: Revert "Enable SharedArrayBuffer feature by default." (Closed)
Patch Set: Created 3 years, 7 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/external/wpt/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e9caff67cea86334e12d9a98888ae1efc44f9aa
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history-expected.txt
@@ -0,0 +1,23 @@
+This is a testharness.js-based test.
+FAIL history.pushState(): simple case assert_throws: function "() => {
+ history[method](new SharedArrayBuffer(), "dummy title");
+ }" threw object "ReferenceError: SharedArrayBuffer is not defined" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
+FAIL history.pushState(): is interleaved correctly assert_throws: function "() => {
+ history[method]([
+ { get x() { getter1Called = true; return 5; } },
+ new SharedArrayBuffer(),
+ { get x() { getter2Called = true; return 5; } }
+ ], "dummy title");
+ }" threw object "ReferenceError: SharedArrayBuffer is not defined" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
+FAIL history.replaceState(): simple case assert_throws: function "() => {
+ history[method](new SharedArrayBuffer(), "dummy title");
+ }" threw object "ReferenceError: SharedArrayBuffer is not defined" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
+FAIL history.replaceState(): is interleaved correctly assert_throws: function "() => {
+ history[method]([
+ { get x() { getter1Called = true; return 5; } },
+ new SharedArrayBuffer(),
+ { get x() { getter2Called = true; return 5; } }
+ ], "dummy title");
+ }" threw object "ReferenceError: SharedArrayBuffer is not defined" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698