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

Unified Diff: Source/core/dom/SharedArrayBuffer.idl

Issue 1097773004: Sharing of SharedArrayBuffer via PostMessage transfer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: . Created 5 years, 6 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: Source/core/dom/SharedArrayBuffer.idl
diff --git a/Source/core/dom/ArrayBuffer.idl b/Source/core/dom/SharedArrayBuffer.idl
similarity index 70%
copy from Source/core/dom/ArrayBuffer.idl
copy to Source/core/dom/SharedArrayBuffer.idl
index 12c506b725dbbdf349127840d66fa61dc1309513..b916977517fbef4eb74c2c67f67fc52ceadc6508 100644
--- a/Source/core/dom/ArrayBuffer.idl
+++ b/Source/core/dom/SharedArrayBuffer.idl
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// TODO(binji): spec
haraken 2015/06/11 05:59:29 Elaborate the comment a bit more. Comments are not
// https://www.khronos.org/registry/typedarray/specs/latest/#ARRAYBUFFER
[
- ImplementedAs=DOMArrayBuffer,
+ ImplementedAs=DOMSharedArrayBuffer,
NoInterfaceObject,
-] interface ArrayBuffer {
+ RuntimeEnabled=SharedArrayBuffer,
+] interface SharedArrayBuffer {
readonly attribute unsigned long byteLength;
};

Powered by Google App Engine
This is Rietveld 408576698