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

Unified Diff: LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js

Issue 138273013: Check for duplicate ArrayBuffer transferables. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update test to current Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js
diff --git a/LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js b/LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js
index a2f3a1efd1772dde80be72461f0b3256ebfdddb8..4b1dd4637787451d3c9e7710d1c9f39cbbaae428 100644
--- a/LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js
+++ b/LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js
@@ -328,8 +328,10 @@ var testList = [{
}, {
name: "transfer list multiple",
send: function(name) {
+ var buffer0 = createBuffer(arraySize);
+ wrapFailSend(name, { buffer : buffer0 }, [buffer0, buffer0]);
var buffer = createBuffer(arraySize);
- wrapSend(name, { buffer : buffer }, [buffer,buffer]);
+ wrapSend(name, { buffer : buffer }, [buffer]);
assertBufferClosed(name, buffer);
wrapFailSend(name, [buffer], [buffer]);
wrapFailSend(name, [], [buffer]);
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698