<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[69782] trunk/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/69782">69782</a></dd>
<dt>Author</dt> <dd>jianli@chromium.org</dd>
<dt>Date</dt> <dd>2010-10-14 11:30:00 -0700 (Thu, 14 Oct 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Support typed arrays in workers
https://bugs.webkit.org/show_bug.cgi?id=47616

Reviewed by David Levin.

To support typed arrays in workers, we need to expose constructors in
WorkerContext and add NoStaticTables attribute.

I also add File API feature guard to the constructors defined in
DOMWindow.

* bindings/js/JSDOMWindowCustom.cpp: Add File API feature guard to the
constructors defined in DOMWindow.
* html/canvas/ArrayBuffer.idl: Add NoStaticTables attribute.
* html/canvas/ArrayBufferView.idl: Add NoStaticTables attribute.
* html/canvas/Float32Array.idl: Add NoStaticTables attribute.
* html/canvas/Int16Array.idl: Add NoStaticTables attribute.
* html/canvas/Int32Array.idl: Add NoStaticTables attribute.
* html/canvas/Int8Array.idl: Add NoStaticTables attribute.
* html/canvas/Uint16Array.idl: Add NoStaticTables attribute.
* html/canvas/Uint32Array.idl: Add NoStaticTables attribute.
* html/canvas/Uint8Array.idl: Add NoStaticTables attribute.
* page/DOMWindow.idl: Add File API feature guard to the constructors
defined in DOMWindow.
* workers/WorkerContext.idl: Expose type array constructors.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkWebCoreChangeLog">trunk/WebCore/ChangeLog</a></li>
<li><a href="#trunkWebCorebindingsjsJSDOMWindowCustomcpp">trunk/WebCore/bindings/js/JSDOMWindowCustom.cpp</a></li>
<li><a href="#trunkWebCorehtmlcanvasArrayBufferidl">trunk/WebCore/html/canvas/ArrayBuffer.idl</a></li>
<li><a href="#trunkWebCorehtmlcanvasArrayBufferViewidl">trunk/WebCore/html/canvas/ArrayBufferView.idl</a></li>
<li><a href="#trunkWebCorehtmlcanvasFloat32Arrayidl">trunk/WebCore/html/canvas/Float32Array.idl</a></li>
<li><a href="#trunkWebCorehtmlcanvasInt16Arrayidl">trunk/WebCore/html/canvas/Int16Array.idl</a></li>
<li><a href="#trunkWebCorehtmlcanvasInt32Arrayidl">trunk/WebCore/html/canvas/Int32Array.idl</a></li>
<li><a href="#trunkWebCorehtmlcanvasInt8Arrayidl">trunk/WebCore/html/canvas/Int8Array.idl</a></li>
<li><a href="#trunkWebCorehtmlcanvasUint16Arrayidl">trunk/WebCore/html/canvas/Uint16Array.idl</a></li>
<li><a href="#trunkWebCorehtmlcanvasUint32Arrayidl">trunk/WebCore/html/canvas/Uint32Array.idl</a></li>
<li><a href="#trunkWebCorehtmlcanvasUint8Arrayidl">trunk/WebCore/html/canvas/Uint8Array.idl</a></li>
<li><a href="#trunkWebCorepageDOMWindowidl">trunk/WebCore/page/DOMWindow.idl</a></li>
<li><a href="#trunkWebCoreworkersWorkerContextidl">trunk/WebCore/workers/WorkerContext.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/ChangeLog (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/ChangeLog        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/ChangeLog        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -1,3 +1,31 @@
</span><ins>+2010-10-14  Jian Li  &lt;jianli@chromium.org&gt;
+
+        Reviewed by David Levin.
+
+        Support typed arrays in workers
+        https://bugs.webkit.org/show_bug.cgi?id=47616
+
+        To support typed arrays in workers, we need to expose constructors in
+        WorkerContext and add NoStaticTables attribute.
+
+        I also add File API feature guard to the constructors defined in
+        DOMWindow.
+
+        * bindings/js/JSDOMWindowCustom.cpp: Add File API feature guard to the
+        constructors defined in DOMWindow.
+        * html/canvas/ArrayBuffer.idl: Add NoStaticTables attribute.
+        * html/canvas/ArrayBufferView.idl: Add NoStaticTables attribute.
+        * html/canvas/Float32Array.idl: Add NoStaticTables attribute.
+        * html/canvas/Int16Array.idl: Add NoStaticTables attribute.
+        * html/canvas/Int32Array.idl: Add NoStaticTables attribute.
+        * html/canvas/Int8Array.idl: Add NoStaticTables attribute.
+        * html/canvas/Uint16Array.idl: Add NoStaticTables attribute.
+        * html/canvas/Uint32Array.idl: Add NoStaticTables attribute.
+        * html/canvas/Uint8Array.idl: Add NoStaticTables attribute.
+        * page/DOMWindow.idl: Add File API feature guard to the constructors
+        defined in DOMWindow.
+        * workers/WorkerContext.idl: Expose type array constructors.
+
</ins><span class="cx"> 2010-10-14  Andreas Kling  &lt;kling@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Reviewed by Ariya Hidayat.
</span></span></pre></div>
<a id="trunkWebCorebindingsjsJSDOMWindowCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/bindings/js/JSDOMWindowCustom.cpp (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/bindings/js/JSDOMWindowCustom.cpp        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/bindings/js/JSDOMWindowCustom.cpp        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx"> #include &quot;JSSharedWorker.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(3D_CANVAS)
</del><ins>+#if ENABLE(3D_CANVAS) || ENABLE(BLOB)
</ins><span class="cx"> #include &quot;JSArrayBuffer.h&quot;
</span><span class="cx"> #include &quot;JSInt8Array.h&quot;
</span><span class="cx"> #include &quot;JSUint8Array.h&quot;
</span><span class="lines">@@ -565,7 +565,7 @@
</span><span class="cx">     return getDOMConstructor&lt;JSWebKitCSSMatrixConstructor&gt;(exec, this);
</span><span class="cx"> }
</span><span class="cx">  
</span><del>-#if ENABLE(3D_CANVAS)
</del><ins>+#if ENABLE(3D_CANVAS) || ENABLE(BLOB)
</ins><span class="cx"> JSValue JSDOMWindow::arrayBuffer(ExecState* exec) const
</span><span class="cx"> {
</span><span class="cx">     return getDOMConstructor&lt;JSArrayBufferConstructor&gt;(exec, this);
</span></span></pre></div>
<a id="trunkWebCorehtmlcanvasArrayBufferidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/html/canvas/ArrayBuffer.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/html/canvas/ArrayBuffer.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/html/canvas/ArrayBuffer.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -29,7 +29,8 @@
</span><span class="cx">         Conditional=3D_CANVAS|BLOB,
</span><span class="cx">         CanBeConstructed,
</span><span class="cx">         CustomConstructFunction,
</span><del>-        V8CustomConstructor
</del><ins>+        NoStaticTables,
+        V8CustomConstructor,
</ins><span class="cx">     ] ArrayBuffer {
</span><span class="cx">         readonly attribute int byteLength;
</span><span class="cx">     };
</span></span></pre></div>
<a id="trunkWebCorehtmlcanvasArrayBufferViewidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/html/canvas/ArrayBufferView.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/html/canvas/ArrayBufferView.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/html/canvas/ArrayBufferView.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -24,7 +24,7 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> module html {
</span><del>-    interface [Conditional=3D_CANVAS|BLOB, CustomToJS, OmitConstructor] ArrayBufferView {
</del><ins>+    interface [Conditional=3D_CANVAS|BLOB, CustomToJS, NoStaticTables, OmitConstructor] ArrayBufferView {
</ins><span class="cx">         readonly attribute ArrayBuffer buffer;
</span><span class="cx">         readonly attribute unsigned long byteOffset;
</span><span class="cx">         readonly attribute unsigned long byteLength;
</span></span></pre></div>
<a id="trunkWebCorehtmlcanvasFloat32Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/html/canvas/Float32Array.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/html/canvas/Float32Array.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/html/canvas/Float32Array.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx">         HasNumericIndexGetter,
</span><span class="cx">         HasCustomIndexSetter,
</span><span class="cx">         GenerateNativeConverter,
</span><ins>+        NoStaticTables,
</ins><span class="cx">         CustomToJS,
</span><span class="cx">         DontCheckEnums
</span><span class="cx">     ] Float32Array : ArrayBufferView {
</span></span></pre></div>
<a id="trunkWebCorehtmlcanvasInt16Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/html/canvas/Int16Array.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/html/canvas/Int16Array.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/html/canvas/Int16Array.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -32,6 +32,7 @@
</span><span class="cx">         HasNumericIndexGetter,
</span><span class="cx">         HasCustomIndexSetter,
</span><span class="cx">         GenerateNativeConverter,
</span><ins>+        NoStaticTables,
</ins><span class="cx">         CustomToJS,
</span><span class="cx">         DontCheckEnums
</span><span class="cx">     ] Int16Array : ArrayBufferView {
</span></span></pre></div>
<a id="trunkWebCorehtmlcanvasInt32Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/html/canvas/Int32Array.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/html/canvas/Int32Array.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/html/canvas/Int32Array.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx">         HasNumericIndexGetter,
</span><span class="cx">         HasCustomIndexSetter,
</span><span class="cx">         GenerateNativeConverter,
</span><ins>+        NoStaticTables,
</ins><span class="cx">         CustomToJS,
</span><span class="cx">         DontCheckEnums
</span><span class="cx">     ] Int32Array : ArrayBufferView {
</span></span></pre></div>
<a id="trunkWebCorehtmlcanvasInt8Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/html/canvas/Int8Array.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/html/canvas/Int8Array.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/html/canvas/Int8Array.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx">         HasNumericIndexGetter,
</span><span class="cx">         HasCustomIndexSetter,
</span><span class="cx">         GenerateNativeConverter,
</span><ins>+        NoStaticTables,
</ins><span class="cx">         CustomToJS,
</span><span class="cx">         DontCheckEnums
</span><span class="cx">     ] Int8Array : ArrayBufferView {
</span></span></pre></div>
<a id="trunkWebCorehtmlcanvasUint16Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/html/canvas/Uint16Array.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/html/canvas/Uint16Array.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/html/canvas/Uint16Array.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx">         HasNumericIndexGetter,
</span><span class="cx">         HasCustomIndexSetter,
</span><span class="cx">         GenerateNativeConverter,
</span><ins>+        NoStaticTables,
</ins><span class="cx">         CustomToJS,
</span><span class="cx">         DontCheckEnums
</span><span class="cx">     ] Uint16Array : ArrayBufferView {
</span></span></pre></div>
<a id="trunkWebCorehtmlcanvasUint32Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/html/canvas/Uint32Array.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/html/canvas/Uint32Array.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/html/canvas/Uint32Array.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx">         HasNumericIndexGetter,
</span><span class="cx">         HasCustomIndexSetter,
</span><span class="cx">         GenerateNativeConverter,
</span><ins>+        NoStaticTables,
</ins><span class="cx">         CustomToJS,
</span><span class="cx">         DontCheckEnums
</span><span class="cx">     ] Uint32Array : ArrayBufferView {
</span></span></pre></div>
<a id="trunkWebCorehtmlcanvasUint8Arrayidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/html/canvas/Uint8Array.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/html/canvas/Uint8Array.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/html/canvas/Uint8Array.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx">         HasNumericIndexGetter,
</span><span class="cx">         HasCustomIndexSetter,
</span><span class="cx">         GenerateNativeConverter,
</span><ins>+        NoStaticTables,
</ins><span class="cx">         CustomToJS,
</span><span class="cx">         DontCheckEnums
</span><span class="cx">     ] Uint8Array : ArrayBufferView {
</span></span></pre></div>
<a id="trunkWebCorepageDOMWindowidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/page/DOMWindow.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/page/DOMWindow.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/page/DOMWindow.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -486,14 +486,14 @@
</span><span class="cx"> 
</span><span class="cx">         attribute DOMStringMapConstructor DOMStringMap;
</span><span class="cx"> 
</span><del>-        attribute [JSCCustomGetter,Conditional=3D_CANVAS,EnabledAtRuntime] ArrayBufferConstructor ArrayBuffer; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=3D_CANVAS,EnabledAtRuntime] Int8ArrayConstructor Int8Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=3D_CANVAS,EnabledAtRuntime] Uint8ArrayConstructor Uint8Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=3D_CANVAS,EnabledAtRuntime] Int16ArrayConstructor Int16Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=3D_CANVAS,EnabledAtRuntime] Uint16ArrayConstructor Uint16Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=3D_CANVAS,EnabledAtRuntime] Int32ArrayConstructor Int32Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=3D_CANVAS,EnabledAtRuntime] Uint32ArrayConstructor Uint32Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=3D_CANVAS,EnabledAtRuntime] Float32ArrayConstructor Float32Array; // Usable with new operator
</del><ins>+        attribute [JSCCustomGetter,Conditional=3D_CANVAS|BLOB,EnabledAtRuntime] ArrayBufferConstructor ArrayBuffer; // Usable with new operator
+        attribute [JSCCustomGetter,Conditional=3D_CANVAS|BLOB,EnabledAtRuntime] Int8ArrayConstructor Int8Array; // Usable with new operator
+        attribute [JSCCustomGetter,Conditional=3D_CANVAS|BLOB,EnabledAtRuntime] Uint8ArrayConstructor Uint8Array; // Usable with new operator
+        attribute [JSCCustomGetter,Conditional=3D_CANVAS|BLOB,EnabledAtRuntime] Int16ArrayConstructor Int16Array; // Usable with new operator
+        attribute [JSCCustomGetter,Conditional=3D_CANVAS|BLOB,EnabledAtRuntime] Uint16ArrayConstructor Uint16Array; // Usable with new operator
+        attribute [JSCCustomGetter,Conditional=3D_CANVAS|BLOB,EnabledAtRuntime] Int32ArrayConstructor Int32Array; // Usable with new operator
+        attribute [JSCCustomGetter,Conditional=3D_CANVAS|BLOB,EnabledAtRuntime] Uint32ArrayConstructor Uint32Array; // Usable with new operator
+        attribute [JSCCustomGetter,Conditional=3D_CANVAS|BLOB,EnabledAtRuntime] Float32ArrayConstructor Float32Array; // Usable with new operator
</ins><span class="cx"> 
</span><span class="cx">         attribute EventConstructor Event;
</span><span class="cx">         attribute BeforeLoadEventConstructor BeforeLoadEvent;
</span></span></pre></div>
<a id="trunkWebCoreworkersWorkerContextidl"></a>
<div class="modfile"><h4>Modified: trunk/WebCore/workers/WorkerContext.idl (69781 => 69782)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebCore/workers/WorkerContext.idl        2010-10-14 18:00:55 UTC (rev 69781)
+++ trunk/WebCore/workers/WorkerContext.idl        2010-10-14 18:30:00 UTC (rev 69782)
</span><span class="lines">@@ -113,6 +113,15 @@
</span><span class="cx"> 
</span><span class="cx">                  attribute [EnabledAtRuntime=FileSystem] FlagsConstructor Flags;
</span><span class="cx"> #endif
</span><ins>+
+        attribute [Conditional=BLOB,EnabledAtRuntime] ArrayBufferConstructor ArrayBuffer; // Usable with new operator
+        attribute [Conditional=BLOB,EnabledAtRuntime] Int8ArrayConstructor Int8Array; // Usable with new operator
+        attribute [Conditional=BLOB,EnabledAtRuntime] Uint8ArrayConstructor Uint8Array; // Usable with new operator
+        attribute [Conditional=BLOB,EnabledAtRuntime] Int16ArrayConstructor Int16Array; // Usable with new operator
+        attribute [Conditional=BLOB,EnabledAtRuntime] Uint16ArrayConstructor Uint16Array; // Usable with new operator
+        attribute [Conditional=BLOB,EnabledAtRuntime] Int32ArrayConstructor Int32Array; // Usable with new operator
+        attribute [Conditional=BLOB,EnabledAtRuntime] Uint32ArrayConstructor Uint32Array; // Usable with new operator
+        attribute [Conditional=BLOB,EnabledAtRuntime] Float32ArrayConstructor Float32Array; // Usable with new operator
</ins><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre>
</div>
</div>

</body>
</html>