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

Unified Diff: third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/xmlhttprequest/xmlhttprequest-send-sharedarraybuffer-expected.txt

Issue 1526183004: Prevent SharedArrayBuffer views from being used in bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: some tests Created 3 years, 11 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/virtual/sharedarraybuffer/fast/xmlhttprequest/xmlhttprequest-send-sharedarraybuffer-expected.txt
diff --git a/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/xmlhttprequest/xmlhttprequest-send-sharedarraybuffer-expected.txt b/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/xmlhttprequest/xmlhttprequest-send-sharedarraybuffer-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f369948e87e78a7ab0dc9eaecfacdee95cab8b4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/xmlhttprequest/xmlhttprequest-send-sharedarraybuffer-expected.txt
@@ -0,0 +1,9 @@
+This test checks if sending a SharedArrayBuffer throws an exception
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS xhr.send(new Uint8Array(new SharedArrayBuffer(10))) threw exception TypeError: Failed to execute 'send' on 'XMLHttpRequest': parameter 1 is a view of a SharedArrayBuffer..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698