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

Unified Diff: test/mjsunit/regress/regress-crbug-522496.js

Issue 1501673002: Revert of [es6] Correctify and unify ArrayBuffer and SharedArrayBuffer constructors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 | « test/mjsunit/harmony/sharedarraybuffer.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-522496.js
diff --git a/test/mjsunit/regress/regress-crbug-522496.js b/test/mjsunit/regress/regress-crbug-522496.js
index 25b67b725e5eb7043a5aaa54db8e041f9453b48d..e47e0a0677bb574ea9e4b1ca1942341e3fd08bf4 100644
--- a/test/mjsunit/regress/regress-crbug-522496.js
+++ b/test/mjsunit/regress/regress-crbug-522496.js
@@ -4,6 +4,6 @@
if (this.Worker) {
var worker = new Worker("onmessage = function(){}");
- var buf = new ArrayBuffer(0);
+ var buf = new ArrayBuffer();
worker.postMessage(buf, [buf]);
}
« no previous file with comments | « test/mjsunit/harmony/sharedarraybuffer.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698