2011-02-12 Adam Barth <abarth@webkit.org>
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Feb 2011 08:24:18 +0000 (08:24 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Feb 2011 08:24:18 +0000 (08:24 +0000)
        Reviewed by Kenneth Russell.

        Enable ArrayBuffers by default
        https://bugs.webkit.org/show_bug.cgi?id=54310

        Export the required functions.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
2011-02-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Kenneth Russell.

        Enable ArrayBuffers by default
        https://bugs.webkit.org/show_bug.cgi?id=54310

        As discussed on webkit-dev, ArrayBuffers are used by a bunch of
        different APIs, implemented by Firefox, and appear to be stable.
        Keeping them conditional is a large mantainance burden than it's worth.

        * DerivedSources.cpp:
        * WebCore.vcproj/WebCore.vcproj:
        * bindings/generic/RuntimeEnabledFeatures.h:
        (WebCore::RuntimeEnabledFeatures::setWebGLEnabled):
        * bindings/js/JSArrayBufferCustom.cpp:
        * bindings/js/JSBindingsAllInOne.cpp:
        * bindings/js/JSDOMWindowCustom.cpp:
        * bindings/js/JSDataViewCustom.cpp:
        * bindings/js/JSFloat32ArrayCustom.cpp:
        * bindings/js/JSInt16ArrayCustom.cpp:
        * bindings/js/JSInt32ArrayCustom.cpp:
        * bindings/js/JSInt8ArrayCustom.cpp:
        * bindings/js/JSUint16ArrayCustom.cpp:
        * bindings/js/JSUint32ArrayCustom.cpp:
        * bindings/js/JSUint8ArrayCustom.cpp:
        * bindings/v8/custom/V8ArrayBufferCustom.cpp:
        * bindings/v8/custom/V8ArrayBufferViewCustom.h:
        * bindings/v8/custom/V8DataViewCustom.cpp:
        * bindings/v8/custom/V8Float32ArrayCustom.cpp:
        * bindings/v8/custom/V8Int16ArrayCustom.cpp:
        * bindings/v8/custom/V8Int32ArrayCustom.cpp:
        * bindings/v8/custom/V8Int8ArrayCustom.cpp:
        * bindings/v8/custom/V8Uint16ArrayCustom.cpp:
        * bindings/v8/custom/V8Uint32ArrayCustom.cpp:
        * bindings/v8/custom/V8Uint8ArrayCustom.cpp:
        * html/canvas/ArrayBuffer.cpp:
        * html/canvas/ArrayBuffer.idl:
        * html/canvas/ArrayBufferView.cpp:
        * html/canvas/ArrayBufferView.idl:
        * html/canvas/DataView.cpp:
        * html/canvas/DataView.idl:
        * html/canvas/Float32Array.cpp:
        * html/canvas/Float32Array.idl:
        * html/canvas/Int16Array.cpp:
        * html/canvas/Int16Array.idl:
        * html/canvas/Int32Array.cpp:
        * html/canvas/Int32Array.idl:
        * html/canvas/Int8Array.cpp:
        * html/canvas/Int8Array.idl:
        * html/canvas/Uint16Array.cpp:
        * html/canvas/Uint16Array.idl:
        * html/canvas/Uint32Array.cpp:
        * html/canvas/Uint32Array.idl:
        * html/canvas/Uint8Array.cpp:
        * html/canvas/Uint8Array.idl:
        * page/Crypto.cpp:
        (WebCore::Crypto::getRandomValues):
        * page/Crypto.h:
        * page/Crypto.idl:
        * page/DOMWindow.idl:
        * workers/WorkerContext.idl:
2011-02-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Kenneth Russell.

        Enable ArrayBuffers by default
        https://bugs.webkit.org/show_bug.cgi?id=54310

        Revert incorrect expectations from
        http://trac.webkit.org/changeset/78337.  These results were cased by
        ArrayBuffers not beign enabled on Windows previous to this patch.

        * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/win/fast/js/global-function-resolve-expected.txt: Removed.
        * platform/win/fast/js/var-declarations-shadowing-expected.txt: Removed.
        * platform/win/security: Removed.
        * platform/win/security/crypto-random-values-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78407 268f45cc-cd09-0410-ab3c-d52691b4dbfc

57 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/win/fast/dom/Window/window-property-descriptors-expected.txt
LayoutTests/platform/win/fast/js/global-function-resolve-expected.txt [deleted file]
LayoutTests/platform/win/fast/js/var-declarations-shadowing-expected.txt [deleted file]
LayoutTests/platform/win/security/crypto-random-values-expected.txt [deleted file]
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.cpp
Source/WebCore/WebCore.vcproj/WebCore.vcproj
Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
Source/WebCore/bindings/js/JSArrayBufferCustom.cpp
Source/WebCore/bindings/js/JSBindingsAllInOne.cpp
Source/WebCore/bindings/js/JSDOMWindowCustom.cpp
Source/WebCore/bindings/js/JSDataViewCustom.cpp
Source/WebCore/bindings/js/JSFloat32ArrayCustom.cpp
Source/WebCore/bindings/js/JSInt16ArrayCustom.cpp
Source/WebCore/bindings/js/JSInt32ArrayCustom.cpp
Source/WebCore/bindings/js/JSInt8ArrayCustom.cpp
Source/WebCore/bindings/js/JSUint16ArrayCustom.cpp
Source/WebCore/bindings/js/JSUint32ArrayCustom.cpp
Source/WebCore/bindings/js/JSUint8ArrayCustom.cpp
Source/WebCore/bindings/v8/custom/V8ArrayBufferCustom.cpp
Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h
Source/WebCore/bindings/v8/custom/V8DataViewCustom.cpp
Source/WebCore/bindings/v8/custom/V8Float32ArrayCustom.cpp
Source/WebCore/bindings/v8/custom/V8Int16ArrayCustom.cpp
Source/WebCore/bindings/v8/custom/V8Int32ArrayCustom.cpp
Source/WebCore/bindings/v8/custom/V8Int8ArrayCustom.cpp
Source/WebCore/bindings/v8/custom/V8Uint16ArrayCustom.cpp
Source/WebCore/bindings/v8/custom/V8Uint32ArrayCustom.cpp
Source/WebCore/bindings/v8/custom/V8Uint8ArrayCustom.cpp
Source/WebCore/html/canvas/ArrayBuffer.cpp
Source/WebCore/html/canvas/ArrayBuffer.idl
Source/WebCore/html/canvas/ArrayBufferView.cpp
Source/WebCore/html/canvas/ArrayBufferView.idl
Source/WebCore/html/canvas/DataView.cpp
Source/WebCore/html/canvas/DataView.idl
Source/WebCore/html/canvas/Float32Array.cpp
Source/WebCore/html/canvas/Float32Array.idl
Source/WebCore/html/canvas/Int16Array.cpp
Source/WebCore/html/canvas/Int16Array.idl
Source/WebCore/html/canvas/Int32Array.cpp
Source/WebCore/html/canvas/Int32Array.idl
Source/WebCore/html/canvas/Int8Array.cpp
Source/WebCore/html/canvas/Int8Array.idl
Source/WebCore/html/canvas/Uint16Array.cpp
Source/WebCore/html/canvas/Uint16Array.idl
Source/WebCore/html/canvas/Uint32Array.cpp
Source/WebCore/html/canvas/Uint32Array.idl
Source/WebCore/html/canvas/Uint8Array.cpp
Source/WebCore/html/canvas/Uint8Array.idl
Source/WebCore/page/Crypto.cpp
Source/WebCore/page/Crypto.h
Source/WebCore/page/Crypto.idl
Source/WebCore/page/DOMWindow.idl
Source/WebCore/workers/WorkerContext.idl

index 8cfad0f..155522c 100644 (file)
@@ -1,3 +1,20 @@
+2011-02-12  Adam Barth  <abarth@webkit.org>
+
+        Reviewed by Kenneth Russell.
+
+        Enable ArrayBuffers by default
+        https://bugs.webkit.org/show_bug.cgi?id=54310
+
+        Revert incorrect expectations from
+        http://trac.webkit.org/changeset/78337.  These results were cased by
+        ArrayBuffers not beign enabled on Windows previous to this patch.
+
+        * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
+        * platform/win/fast/js/global-function-resolve-expected.txt: Removed.
+        * platform/win/fast/js/var-declarations-shadowing-expected.txt: Removed.
+        * platform/win/security: Removed.
+        * platform/win/security/crypto-random-values-expected.txt: Removed.
+
 2011-02-11  Peter Kasting  <pkasting@google.com>
 
         Unreviewed, Chromium test expectations update.
index 82e8010..4ba9bf5 100644 (file)
@@ -333,6 +333,7 @@ PASS typeof Object.getOwnPropertyDescriptor(window, 'clientInformation') is 'obj
 PASS typeof Object.getOwnPropertyDescriptor(window, 'closed') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'console') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'constructor') is 'object'
+PASS typeof Object.getOwnPropertyDescriptor(window, 'crypto') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'debug') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'decodeURI') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'decodeURIComponent') is 'object'
diff --git a/LayoutTests/platform/win/fast/js/global-function-resolve-expected.txt b/LayoutTests/platform/win/fast/js/global-function-resolve-expected.txt
deleted file mode 100644 (file)
index 5f48f69..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-CONSOLE MESSAGE: line 1: ReferenceError: Can't find variable: crypto
-Test to make sure cached lookups on the global object are performed correctly.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS cachedFunctions[0]() is addEventListener
-PASS cachedFunctions[0]() is addEventListener
-PASS cachedFunctions[1]() is alert
-PASS cachedFunctions[1]() is alert
-PASS cachedFunctions[2]() is clearInterval
-PASS cachedFunctions[2]() is clearInterval
-PASS cachedFunctions[3]() is clearTimeout
-PASS cachedFunctions[3]() is clearTimeout
-PASS cachedFunctions[4]() is clientInformation
-PASS cachedFunctions[4]() is clientInformation
-PASS cachedFunctions[5]() is close
-PASS cachedFunctions[5]() is close
-PASS cachedFunctions[6]() is closed
-PASS cachedFunctions[6]() is closed
-PASS cachedFunctions[7]() is confirm
-PASS cachedFunctions[7]() is confirm
-PASS cachedFunctions[8]() is console
-PASS cachedFunctions[8]() is console
-FAIL successfullyParsed should be true. Threw exception ReferenceError: Can't find variable: successfullyParsed
-
-TEST COMPLETE
-
diff --git a/LayoutTests/platform/win/fast/js/var-declarations-shadowing-expected.txt b/LayoutTests/platform/win/fast/js/var-declarations-shadowing-expected.txt
deleted file mode 100644 (file)
index 779020e..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-This page tests var declarations that attempt to shadow interesting global properties in interesting ways. Bug 16644.
-
-If the test passes, you'll see a series of PASS messages below.
-
-PASS: Node == undefined should be false and is.
-PASS: eval('Node == undefined') should be false and is.
-PASS: Element == undefined should be false and is.
-PASS: eval('Element == undefined') should be false and is.
-PASS: toString == undefined should be false and is.
-PASS: eval('toString == undefined') should be false and is.
-PASS: valueOf == undefined should be false and is.
-PASS: eval('valueOf == undefined') should be false and is.
------
-PASS: HTMLElement == marker should be true and is.
-PASS: eval('HTMLElement == marker') should be true and is.
-PASS: HTMLLinkElement == marker should be true and is.
-PASS: eval('HTMLLinkElement == marker') should be true and is.
-PASS: moveBy == marker should be true and is.
-PASS: eval('moveBy == marker') should be true and is.
-PASS: find == marker should be true and is.
-PASS: eval('find == marker') should be true and is.
------
-PASS: locationbar == marker should be true and is.
-PASS: eval('locationbar == marker') should be true and is.
-PASS: menubar == marker should be true and is.
-PASS: eval('menubar == marker') should be true and is.
-PASS: personalbar == marker should be true and is.
-PASS: eval('personalbar == marker') should be true and is.
-PASS: scrollbars == marker should be true and is.
-PASS: eval('scrollbars == marker') should be true and is.
-PASS: statusbar == marker should be true and is.
-PASS: eval('statusbar == marker') should be true and is.
-PASS: toolbar == marker should be true and is.
-PASS: eval('toolbar == marker') should be true and is.
-PASS: offscreenBuffering == marker should be true and is.
-PASS: eval('offscreenBuffering == marker') should be true and is.
-PASS: outerHeight == marker should be true and is.
-PASS: eval('outerHeight == marker') should be true and is.
-PASS: outerWidth == marker should be true and is.
-PASS: eval('outerWidth == marker') should be true and is.
-PASS: innerHeight == marker should be true and is.
-PASS: eval('innerHeight == marker') should be true and is.
-PASS: innerWidth == marker should be true and is.
-PASS: eval('innerWidth == marker') should be true and is.
-PASS: screenX == marker should be true and is.
-PASS: eval('screenX == marker') should be true and is.
-PASS: screenY == marker should be true and is.
-PASS: eval('screenY == marker') should be true and is.
-PASS: screenLeft == marker should be true and is.
-PASS: eval('screenLeft == marker') should be true and is.
-PASS: screenTop == marker should be true and is.
-PASS: eval('screenTop == marker') should be true and is.
-PASS: scrollX == marker should be true and is.
-PASS: eval('scrollX == marker') should be true and is.
-PASS: scrollY == marker should be true and is.
-PASS: eval('scrollY == marker') should be true and is.
-PASS: length == marker should be true and is.
-PASS: eval('length == marker') should be true and is.
-PASS: self == marker should be true and is.
-PASS: eval('self == marker') should be true and is.
-PASS: frames == marker should be true and is.
-PASS: eval('frames == marker') should be true and is.
-PASS: opener == marker should be true and is.
-PASS: eval('opener == marker') should be true and is.
-PASS: parent == marker should be true and is.
-PASS: eval('parent == marker') should be true and is.
-PASS: top == marker should be true and is.
-PASS: eval('top == marker') should be true and is.
-PASS: devicePixelRatio == marker should be true and is.
-PASS: eval('devicePixelRatio == marker') should be true and is.
-PASS: devicePixelRatio == marker should be true and is.
-PASS: eval('devicePixelRatio == marker') should be true and is.
-PASS: navigator == marker should be true and is.
-PASS: eval('navigator == marker') should be true and is.
-PASS: clientInformation == marker should be true and is.
-PASS: eval('clientInformation == marker') should be true and is.
-PASS: status == marker should be true and is.
-PASS: eval('status == marker') should be true and is.
-PASS: defaultStatus == marker should be true and is.
-PASS: eval('defaultStatus == marker') should be true and is.
-PASS: defaultstatus == marker should be true and is.
-PASS: eval('defaultstatus == marker') should be true and is.
-PASS: screen == marker should be true and is.
-PASS: eval('screen == marker') should be true and is.
------
-PASS: history == marker should be false and is.
-PASS: eval('history == marker') should be false and is.
-PASS: frameElement == marker should be false and is.
-PASS: eval('frameElement == marker') should be false and is.
-PASS: pageXOffset == marker should be false and is.
-PASS: eval('pageXOffset == marker') should be false and is.
-PASS: pageYOffset == marker should be false and is.
-PASS: eval('pageYOffset == marker') should be false and is.
-PASS: closed == marker should be false and is.
-PASS: eval('closed == marker') should be false and is.
-PASS: window == marker should be false and is.
-PASS: eval('window == marker') should be false and is.
-PASS: document == marker should be false and is.
-PASS: eval('document == marker') should be false and is.
-FAIL: crypto == marker should be false but instead is true.
-FAIL: eval('crypto == marker') should be false but instead is true.
-
diff --git a/LayoutTests/platform/win/security/crypto-random-values-expected.txt b/LayoutTests/platform/win/security/crypto-random-values-expected.txt
deleted file mode 100644 (file)
index 5a943b7..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Tests crypto.randomValues.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-This test requres ArrayBuffers to run!
-FAIL 'crypto' in window should be true. Was false.
-FAIL 'getRandomValues' in window.crypto should be true. Threw exception TypeError: 'undefined' is not a valid argument for 'in' (evaluating ''getRandomValues' in window.crypto')
-ReferenceError: Can't find variable: Uint8Array
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
index a057bf6..966fb60 100644 (file)
@@ -1,3 +1,14 @@
+2011-02-12  Adam Barth  <abarth@webkit.org>
+
+        Reviewed by Kenneth Russell.
+
+        Enable ArrayBuffers by default
+        https://bugs.webkit.org/show_bug.cgi?id=54310
+
+        Export the required functions.
+
+        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
+
 2011-02-11  Daniel Bates  <dbates@rim.com>
 
         Reviewed by Geoffrey Garen.
index e282038..010db39 100644 (file)
@@ -102,6 +102,7 @@ EXPORTS
     ?createInheritorID@JSObject@JSC@@AAEPAVStructure@2@XZ
     ?createInterruptedExecutionException@JSC@@YAPAVJSObject@1@PAVJSGlobalData@1@@Z
     ?createLeaked@JSGlobalData@JSC@@SA?AV?$PassRefPtr@VJSGlobalData@JSC@@@WTF@@W4ThreadStackType@2@@Z
+    ?createRangeError@JSC@@YAPAVJSObject@1@PAVExecState@1@ABVUString@1@@Z
     ?createReferenceError@JSC@@YAPAVJSObject@1@PAVExecState@1@ABVUString@1@@Z
     ?createSingleCharacterString@SmallStrings@JSC@@AAEXPAVJSGlobalData@2@E@Z
     ?createStackOverflowError@JSC@@YAPAVJSObject@1@PAVExecState@1@@Z
@@ -111,6 +112,7 @@ EXPORTS
     ?createThread@WTF@@YAIP6APAXPAX@Z0@Z
     ?createThread@WTF@@YAIP6APAXPAX@Z0PBD@Z
     ?createTypeError@JSC@@YAPAVJSObject@1@PAVExecState@1@ABVUString@1@@Z
+    ?cryptographicallyRandomValues@WTF@@YAXPAXI@Z
     ?currentThread@WTF@@YAIXZ
     ?currentTime@WTF@@YANXZ
     ?data@CString@WTF@@QBEPBDXZ
index abd9402..a9569e3 100644 (file)
@@ -1,3 +1,66 @@
+2011-02-12  Adam Barth  <abarth@webkit.org>
+
+        Reviewed by Kenneth Russell.
+
+        Enable ArrayBuffers by default
+        https://bugs.webkit.org/show_bug.cgi?id=54310
+
+        As discussed on webkit-dev, ArrayBuffers are used by a bunch of
+        different APIs, implemented by Firefox, and appear to be stable.
+        Keeping them conditional is a large mantainance burden than it's worth.
+
+        * DerivedSources.cpp:
+        * WebCore.vcproj/WebCore.vcproj:
+        * bindings/generic/RuntimeEnabledFeatures.h:
+        (WebCore::RuntimeEnabledFeatures::setWebGLEnabled):
+        * bindings/js/JSArrayBufferCustom.cpp:
+        * bindings/js/JSBindingsAllInOne.cpp:
+        * bindings/js/JSDOMWindowCustom.cpp:
+        * bindings/js/JSDataViewCustom.cpp:
+        * bindings/js/JSFloat32ArrayCustom.cpp:
+        * bindings/js/JSInt16ArrayCustom.cpp:
+        * bindings/js/JSInt32ArrayCustom.cpp:
+        * bindings/js/JSInt8ArrayCustom.cpp:
+        * bindings/js/JSUint16ArrayCustom.cpp:
+        * bindings/js/JSUint32ArrayCustom.cpp:
+        * bindings/js/JSUint8ArrayCustom.cpp:
+        * bindings/v8/custom/V8ArrayBufferCustom.cpp:
+        * bindings/v8/custom/V8ArrayBufferViewCustom.h:
+        * bindings/v8/custom/V8DataViewCustom.cpp:
+        * bindings/v8/custom/V8Float32ArrayCustom.cpp:
+        * bindings/v8/custom/V8Int16ArrayCustom.cpp:
+        * bindings/v8/custom/V8Int32ArrayCustom.cpp:
+        * bindings/v8/custom/V8Int8ArrayCustom.cpp:
+        * bindings/v8/custom/V8Uint16ArrayCustom.cpp:
+        * bindings/v8/custom/V8Uint32ArrayCustom.cpp:
+        * bindings/v8/custom/V8Uint8ArrayCustom.cpp:
+        * html/canvas/ArrayBuffer.cpp:
+        * html/canvas/ArrayBuffer.idl:
+        * html/canvas/ArrayBufferView.cpp:
+        * html/canvas/ArrayBufferView.idl:
+        * html/canvas/DataView.cpp:
+        * html/canvas/DataView.idl:
+        * html/canvas/Float32Array.cpp:
+        * html/canvas/Float32Array.idl:
+        * html/canvas/Int16Array.cpp:
+        * html/canvas/Int16Array.idl:
+        * html/canvas/Int32Array.cpp:
+        * html/canvas/Int32Array.idl:
+        * html/canvas/Int8Array.cpp:
+        * html/canvas/Int8Array.idl:
+        * html/canvas/Uint16Array.cpp:
+        * html/canvas/Uint16Array.idl:
+        * html/canvas/Uint32Array.cpp:
+        * html/canvas/Uint32Array.idl:
+        * html/canvas/Uint8Array.cpp:
+        * html/canvas/Uint8Array.idl:
+        * page/Crypto.cpp:
+        (WebCore::Crypto::getRandomValues):
+        * page/Crypto.h:
+        * page/Crypto.idl:
+        * page/DOMWindow.idl:
+        * workers/WorkerContext.idl:
+
 2011-02-11  Yael Aharon  <yael.aharon@nokia.com>
 
         Reviewed by Darin Adler.
index b47d815..b7bcb66 100644 (file)
@@ -28,6 +28,8 @@
 #include "HTMLElementFactory.cpp"
 #include "HTMLEntityTable.cpp"
 #include "JSAbstractWorker.cpp"
+#include "JSArrayBuffer.cpp"
+#include "JSArrayBufferView.cpp"
 #include "JSAttr.cpp"
 #include "JSBarInfo.cpp"
 #include "JSBeforeLoadEvent.cpp"
@@ -70,6 +72,7 @@
 #include "JSDatabaseSync.cpp"
 #include "JSDataGridColumn.cpp"
 #include "JSDataGridColumnList.cpp"
+#include "JSDataView.cpp"
 #include "JSDedicatedWorkerContext.cpp"
 #include "JSDeviceOrientationEvent.cpp"
 #include "JSDirectoryEntry.cpp"
 #include "JSFileWriterCallback.cpp"
 #include "JSFileWriterSync.cpp"
 #include "JSFlags.cpp"
+#include "JSFloat32Array.cpp"
 #include "JSGeolocation.cpp"
 #include "JSGeoposition.cpp"
 #include "JSHashChangeEvent.cpp"
 #include "JSImageData.cpp"
 #include "JSInjectedScriptHost.cpp"
 #include "JSInspectorFrontendHost.cpp"
+#include "JSInt16Array.cpp"
+#include "JSInt32Array.cpp"
+#include "JSInt8Array.cpp"
 #include "JSJavaScriptCallFrame.cpp"
 #include "JSKeyboardEvent.cpp"
 #include "JSLocation.cpp"
 #include "JSTouchEvent.cpp"
 #include "JSTouchList.cpp"
 #include "JSTreeWalker.cpp"
+#include "JSUint16Array.cpp"
+#include "JSUint32Array.cpp"
+#include "JSUint8Array.cpp"
 #include "JSUIEvent.cpp"
 #include "JSValidityState.cpp"
 #include "JSWebKitAnimationEvent.cpp"
index 41d9a5c..2a8f340 100755 (executable)
                                >
                        </File>
                        <File
+                               RelativePath="..\html\canvas\ArrayBuffer.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\ArrayBuffer.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\ArrayBufferView.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\ArrayBufferView.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\html\canvas\CanvasGradient.cpp"
                                >
                        </File>
                                >
                        </File>
                        <File
+                               RelativePath="..\html\canvas\DataView.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\DataView.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\Float32Array.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\Float32Array.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\Int32Array.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\Int32Array.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\Int16Array.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\Int16Array.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\Int8Array.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\Int8Array.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\UInt16Array.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\UInt16Array.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\UInt32Array.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\UInt32Array.h"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\UInt8Array.cpp"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\html\canvas\UInt8Array.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\html\CheckboxInputType.cpp"
                                >
                        </File>
index 4775634..4f9a21e 100644 (file)
@@ -99,15 +99,6 @@ public:
 
 #if ENABLE(WEBGL) || ENABLE(BLOB)
     static void setWebGLEnabled(bool isEnabled) { isWebGLEnabled = isEnabled; }
-    static bool arrayBufferEnabled() { return isWebGLEnabled; }
-    static bool int8ArrayEnabled() { return isWebGLEnabled; }
-    static bool uint8ArrayEnabled() { return isWebGLEnabled; }
-    static bool int16ArrayEnabled() { return isWebGLEnabled; }
-    static bool uint16ArrayEnabled() { return isWebGLEnabled; }
-    static bool int32ArrayEnabled() { return isWebGLEnabled; }
-    static bool uint32ArrayEnabled() { return isWebGLEnabled; }
-    static bool float32ArrayEnabled() { return isWebGLEnabled; }
-    static bool dataViewEnabled() { return isWebGLEnabled; }
     static bool webGLRenderingContextEnabled() { return isWebGLEnabled; }
     static bool webGLArrayBufferEnabled() { return isWebGLEnabled; }
     static bool webGLByteArrayEnabled() { return isWebGLEnabled; }
index db16d3d..52332c9 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "JSArrayBuffer.h"
 
 #include "ArrayBuffer.h"
@@ -53,5 +50,3 @@ EncodedJSValue JSC_HOST_CALL JSArrayBufferConstructor::constructJSArrayBuffer(Ex
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index bdd6237..7c5edc6 100644 (file)
@@ -28,6 +28,7 @@
 #include "DOMObjectHashTableMap.cpp"
 #include "DOMWrapperWorld.cpp"
 #include "GCController.cpp"
+#include "JSArrayBufferCustom.cpp"
 #include "JSAttrCustom.cpp"
 #include "JSAudioConstructor.cpp"
 #include "JSCDATASectionCustom.cpp"
@@ -65,6 +66,7 @@
 #include "JSDOMWrapper.cpp"
 #include "JSDataGridColumnListCustom.cpp"
 #include "JSDataGridDataSource.cpp"
+#include "JSDataViewCustom.cpp"
 #include "JSDebugWrapperSet.cpp"
 #include "JSDedicatedWorkerContextCustom.cpp"
 #include "JSDesktopNotificationsCustom.cpp"
@@ -77,6 +79,7 @@
 #include "JSEventSourceCustom.cpp"
 #include "JSEventTarget.cpp"
 #include "JSExceptionBase.cpp"
+#include "JSFloat32ArrayCustom.cpp"
 #include "JSGeolocationCustom.cpp"
 #include "JSHTMLAllCollectionCustom.cpp"
 #include "JSHTMLAppletElementCustom.cpp"
 #include "JSImageDataCustom.cpp"
 #include "JSInjectedScriptHostCustom.cpp"
 #include "JSInspectorFrontendHostCustom.cpp"
+#include "JSInt16ArrayCustom.cpp"
+#include "JSInt32ArrayCustom.cpp"
+#include "JSInt8ArrayCustom.cpp"
 #include "JSJavaScriptCallFrameCustom.cpp"
 #include "JSLazyEventListener.cpp"
 #include "JSLocationCustom.cpp"
 #include "JSTouchCustom.cpp"
 #include "JSTouchListCustom.cpp"
 #include "JSTreeWalkerCustom.cpp"
+#include "JSUint16ArrayCustom.cpp"
+#include "JSUint32ArrayCustom.cpp"
+#include "JSUint8ArrayCustom.cpp"
 #include "JSWebKitCSSKeyframeRuleCustom.cpp"
 #include "JSWebKitCSSKeyframesRuleCustom.cpp"
 #include "JSWebKitCSSMatrixCustom.cpp"
index 87fa950..c12d1c4 100644 (file)
 #include "HTMLCollection.h"
 #include "HTMLDocument.h"
 #include "History.h"
+#include "JSArrayBuffer.h"
 #include "JSAudioConstructor.h"
+#include "JSDataView.h"
 #include "JSEvent.h"
 #include "JSEventListener.h"
 #include "JSEventSource.h"
+#include "JSFloat32Array.h"
 #include "JSHTMLCollection.h"
 #include "JSHistory.h"
 #include "JSImageConstructor.h"
+#include "JSInt16Array.h"
+#include "JSInt32Array.h"
+#include "JSInt8Array.h"
 #include "JSLocation.h"
 #include "JSMessageChannel.h"
 #include "JSMessagePortCustom.h"
 #include "JSOptionConstructor.h"
+#include "JSUint16Array.h"
+#include "JSUint32Array.h"
+#include "JSUint8Array.h"
 #include "JSWebKitCSSMatrix.h"
 #include "JSWebKitPoint.h"
 #include "JSWorker.h"
 #include <runtime/JSFunction.h>
 #include <runtime/PrototypeFunction.h>
 
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-#include "JSArrayBuffer.h"
-#include "JSDataView.h"
-#include "JSFloat32Array.h"
-#include "JSInt16Array.h"
-#include "JSInt32Array.h"
-#include "JSInt8Array.h"
-#include "JSUint16Array.h"
-#include "JSUint32Array.h"
-#include "JSUint8Array.h"
-#endif
-
 #if ENABLE(SHARED_WORKERS)
 #include "JSSharedWorker.h"
 #endif
@@ -533,7 +530,6 @@ JSValue JSDOMWindow::webKitCSSMatrix(ExecState* exec) const
     return getDOMConstructor<JSWebKitCSSMatrixConstructor>(exec, this);
 }
  
-#if ENABLE(WEBGL) || ENABLE(BLOB)
 JSValue JSDOMWindow::arrayBuffer(ExecState* exec) const
 {
     return getDOMConstructor<JSArrayBufferConstructor>(exec, this);
@@ -578,8 +574,7 @@ JSValue JSDOMWindow::dataView(ExecState* exec) const
 {
     return getDOMConstructor<JSDataViewConstructor>(exec, this);
 }
-#endif
+
 JSValue JSDOMWindow::xmlHttpRequest(ExecState* exec) const
 {
     return getDOMConstructor<JSXMLHttpRequestConstructor>(exec, this);
index 22d6779..eaf57bd 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "JSDataView.h"
 
 #include "DataView.h"
@@ -160,5 +157,3 @@ JSValue JSDataView::setUint8(ExecState* exec)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 65249eb..5da69b4 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "JSFloat32Array.h"
 
 #include "Float32Array.h"
@@ -62,5 +59,3 @@ EncodedJSValue JSC_HOST_CALL JSFloat32ArrayConstructor::constructJSFloat32Array(
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index a96d5b3..87ea6fe 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "JSInt16Array.h"
 
 #include "Int16Array.h"
@@ -62,5 +59,3 @@ EncodedJSValue JSC_HOST_CALL JSInt16ArrayConstructor::constructJSInt16Array(Exec
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 127f275..8b824a7 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "JSInt32Array.h"
 
 #include "Int32Array.h"
@@ -62,5 +59,3 @@ EncodedJSValue JSC_HOST_CALL JSInt32ArrayConstructor::constructJSInt32Array(Exec
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index d33ced5..dcbcc5a 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "JSInt8Array.h"
 
 #include "Int8Array.h"
@@ -63,5 +60,3 @@ EncodedJSValue JSC_HOST_CALL JSInt8ArrayConstructor::constructJSInt8Array(ExecSt
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 8b8ab17..16f9db2 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "JSUint16Array.h"
 
 #include "JSArrayBufferViewHelper.h"
@@ -62,5 +59,3 @@ EncodedJSValue JSC_HOST_CALL JSUint16ArrayConstructor::constructJSUint16Array(Ex
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 016af41..1e071c9 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "JSUint32Array.h"
 
 #include "JSArrayBufferViewHelper.h"
@@ -62,5 +59,3 @@ EncodedJSValue JSC_HOST_CALL JSUint32ArrayConstructor::constructJSUint32Array(Ex
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 474212a..e90f8e9 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "JSUint8Array.h"
 
 #include "JSArrayBufferViewHelper.h"
@@ -62,5 +59,3 @@ EncodedJSValue JSC_HOST_CALL JSUint8ArrayConstructor::constructJSUint8Array(Exec
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 930c8e7..9d8907b 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 
 #include "ExceptionCode.h"
@@ -77,5 +74,3 @@ v8::Handle<v8::Value> V8ArrayBuffer::constructorCallback(const v8::Arguments& ar
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index a59ee6c..f842b6d 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef V8ArrayBufferViewCustom_h
 #define V8ArrayBufferViewCustom_h
 
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 
 #include "V8ArrayBuffer.h"
@@ -209,6 +207,4 @@ v8::Handle<v8::Value> setWebGLArrayHelper(const v8::Arguments& args)
 
 }
 
-#endif // ENABLE(WEBGL)
-
 #endif // V8ArrayBufferViewCustom_h
index 0a764da..14f13cb 100755 (executable)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "DataView.h"
 
 #include "V8ArrayBufferViewCustom.h"
@@ -120,5 +117,3 @@ v8::Handle<v8::Value> V8DataView::setUint8Callback(const v8::Arguments& args)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 04e4776..178307e 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 #include "Float32Array.h"
 
@@ -67,5 +64,3 @@ v8::Handle<v8::Value> toV8(Float32Array* impl)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 0b3fb25..90a3c71 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 #include "Int16Array.h"
 
@@ -67,5 +64,3 @@ v8::Handle<v8::Value> toV8(Int16Array* impl)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index b854c6f..8fa38a7 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 #include "Int32Array.h"
 
@@ -67,5 +64,3 @@ v8::Handle<v8::Value> toV8(Int32Array* impl)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index d62e09a..33458dc 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 #include "Int8Array.h"
 
@@ -67,5 +64,3 @@ v8::Handle<v8::Value> toV8(Int8Array* impl)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 1e747b8..aebe310 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 #include "Uint16Array.h"
 
@@ -67,5 +64,3 @@ v8::Handle<v8::Value> toV8(Uint16Array* impl)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index aab2e12..563df8e 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 #include "Uint32Array.h"
 
@@ -67,5 +64,3 @@ v8::Handle<v8::Value> toV8(Uint32Array* impl)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 9930075..aa46863 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 #include "Uint8Array.h"
 
@@ -67,5 +64,3 @@ v8::Handle<v8::Value> toV8(Uint8Array* impl)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 49c05d9..4f75cc3 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBuffer.h"
 
 #include <wtf/RefPtr.h>
@@ -100,5 +97,3 @@ void* ArrayBuffer::tryAllocate(unsigned numElements, unsigned elementByteSize)
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 2fba6e8..6f63e65 100644 (file)
@@ -26,7 +26,6 @@
 module html {
 
     interface [
-        Conditional=WEBGL|BLOB,
         CanBeConstructed,
         CustomConstructFunction,
         NoStaticTables,
index 2ce4f46..a2f61ca 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "ArrayBufferView.h"
 
 #include "ArrayBuffer.h"
@@ -105,5 +102,3 @@ void ArrayBufferView::calculateOffsetAndLength(int start, int end, unsigned arra
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 936f6ed..1ea451d 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 module html {
-    interface [Conditional=WEBGL|BLOB, CustomToJS, NoStaticTables, OmitConstructor] ArrayBufferView {
+    interface [CustomToJS, NoStaticTables, OmitConstructor] ArrayBufferView {
         readonly attribute ArrayBuffer buffer;
         readonly attribute unsigned long byteOffset;
         readonly attribute unsigned long byteLength;
index 28598b7..e00443d 100755 (executable)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "DataView.h"
 
 #include "CheckedInt.h"
@@ -231,5 +228,3 @@ void DataView::setFloat64(unsigned byteOffset, double value, bool littleEndian,
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index c403f09..2e173d7 100755 (executable)
@@ -26,7 +26,6 @@
 module html {
 
     interface [
-        Conditional=WEBGL|BLOB,
         CanBeConstructed,
         CustomConstructFunction,
         CustomToJS,
index e772595..209b20f 100644 (file)
@@ -25,9 +25,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "Float32Array.h"
 
 namespace WebCore {
@@ -63,5 +60,3 @@ PassRefPtr<Float32Array> Float32Array::subarray(int start, int end) const
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 617d3a1..c797f31 100644 (file)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        Conditional=WEBGL|BLOB,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 73a57d2..9aaa1d5 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "Int16Array.h"
 
 namespace WebCore {
@@ -62,5 +59,3 @@ PassRefPtr<Int16Array> Int16Array::subarray(int start, int end) const
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 5dd395e..40123d7 100644 (file)
@@ -25,7 +25,6 @@
 
 module html {
     interface [
-        Conditional=WEBGL|BLOB,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index f6fde59..6d2793c 100644 (file)
@@ -25,9 +25,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "Int32Array.h"
 
 namespace WebCore {
@@ -63,5 +60,3 @@ PassRefPtr<Int32Array> Int32Array::subarray(int start, int end) const
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index c5a89ba..dd9082a 100644 (file)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        Conditional=WEBGL|BLOB,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index f30d694..ceb7579 100644 (file)
@@ -25,9 +25,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "Int8Array.h"
 
 namespace WebCore {
@@ -63,5 +60,3 @@ PassRefPtr<Int8Array> Int8Array::subarray(int start, int end) const
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 0a4d041..ab000f2 100644 (file)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        Conditional=WEBGL|BLOB,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 0f5c647..92b2361 100644 (file)
@@ -25,9 +25,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "Uint16Array.h"
 
 namespace WebCore {
@@ -63,5 +60,3 @@ PassRefPtr<Uint16Array> Uint16Array::subarray(int start, int end) const
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 52f45ea..fc8775d 100644 (file)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        Conditional=WEBGL|BLOB,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 2eb0e4a..621b53c 100644 (file)
@@ -25,9 +25,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "Uint32Array.h"
 
 namespace WebCore {
@@ -63,5 +60,3 @@ PassRefPtr<Uint32Array> Uint32Array::subarray(int start, int end) const
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index 17487a9..4d95eab 100644 (file)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        Conditional=WEBGL|BLOB,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 423feba..572e7ec 100644 (file)
@@ -25,9 +25,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(WEBGL) || ENABLE(BLOB)
-
 #include "Uint8Array.h"
 
 namespace WebCore {
@@ -63,5 +60,3 @@ PassRefPtr<Uint8Array> Uint8Array::subarray(int start, int end) const
 }
 
 }
-
-#endif // ENABLE(WEBGL) || ENABLE(BLOB)
index b533bb3..1bdd299 100644 (file)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        Conditional=WEBGL|BLOB,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
index 1efdbaa..0b1795e 100644 (file)
@@ -41,7 +41,6 @@ Crypto::Crypto()
 {
 }
 
-#if ENABLE(WEBGL) || ENABLE(BLOB)
 void Crypto::getRandomValues(ArrayBufferView* array, ExceptionCode& ec)
 {
 #if USE(OS_RANDOMNESS)
@@ -55,6 +54,5 @@ void Crypto::getRandomValues(ArrayBufferView* array, ExceptionCode& ec)
     ec = NOT_SUPPORTED_ERR;
 #endif
 }
-#endif
 
 }
index 4935ccf..bcccd7e 100644 (file)
@@ -43,9 +43,7 @@ class Crypto : public RefCounted<Crypto> {
 public:
     static PassRefPtr<Crypto> create() { return adoptRef(new Crypto()); }
 
-#if ENABLE(WEBGL) || ENABLE(BLOB)
     void getRandomValues(ArrayBufferView*, ExceptionCode&);
-#endif
 
 private:
     Crypto();
index da65ef4..807b63f 100644 (file)
@@ -29,8 +29,6 @@
 module window {
 
     interface [
-        // FIXME: We should just enable ArrayBuffer support all the time.
-        Conditional=WEBGL|BLOB,
         OmitConstructor
     ] Crypto {
         void getRandomValues(in ArrayBufferView array) raises(DOMException);
index 63ed296..26b6099 100644 (file)
@@ -54,7 +54,7 @@ module window {
         attribute [Replaceable] BarInfo toolbar;
         attribute [Replaceable] Navigator navigator;
         attribute [Replaceable] Navigator clientInformation;
-        readonly attribute [Conditional=WEBGL|BLOB] Crypto crypto;
+        readonly attribute Crypto crypto;
         attribute [DoNotCheckDomainSecurity, JSCCustom, V8CustomSetter, V8DisallowShadowing, CPPCustom] Location location;
 
         attribute [Replaceable, CustomGetter, V8CustomSetter] Event event;
@@ -505,15 +505,15 @@ module window {
 
         attribute DOMStringMapConstructor DOMStringMap;
 
-        attribute [JSCCustomGetter,Conditional=WEBGL|BLOB,EnabledAtRuntime] ArrayBufferConstructor ArrayBuffer; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=WEBGL|BLOB,EnabledAtRuntime] Int8ArrayConstructor Int8Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=WEBGL|BLOB,EnabledAtRuntime] Uint8ArrayConstructor Uint8Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=WEBGL|BLOB,EnabledAtRuntime] Int16ArrayConstructor Int16Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=WEBGL|BLOB,EnabledAtRuntime] Uint16ArrayConstructor Uint16Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=WEBGL|BLOB,EnabledAtRuntime] Int32ArrayConstructor Int32Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=WEBGL|BLOB,EnabledAtRuntime] Uint32ArrayConstructor Uint32Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=WEBGL|BLOB,EnabledAtRuntime] Float32ArrayConstructor Float32Array; // Usable with new operator
-        attribute [JSCCustomGetter,Conditional=WEBGL|BLOB,EnabledAtRuntime] DataViewConstructor DataView; // Usable with new operator
+        attribute [JSCCustomGetter] ArrayBufferConstructor ArrayBuffer; // Usable with new operator
+        attribute [JSCCustomGetter] Int8ArrayConstructor Int8Array; // Usable with new operator
+        attribute [JSCCustomGetter] Uint8ArrayConstructor Uint8Array; // Usable with new operator
+        attribute [JSCCustomGetter] Int16ArrayConstructor Int16Array; // Usable with new operator
+        attribute [JSCCustomGetter] Uint16ArrayConstructor Uint16Array; // Usable with new operator
+        attribute [JSCCustomGetter] Int32ArrayConstructor Int32Array; // Usable with new operator
+        attribute [JSCCustomGetter] Uint32ArrayConstructor Uint32Array; // Usable with new operator
+        attribute [JSCCustomGetter] Float32ArrayConstructor Float32Array; // Usable with new operator
+        attribute [JSCCustomGetter] DataViewConstructor DataView; // Usable with new operator
 
         attribute [JSCCustomGetter,Conditional=WEB_AUDIO,EnabledAtRuntime] AudioContextConstructor webkitAudioContext; // Usable with new operator
         attribute [Conditional=WEB_AUDIO] AudioPannerNodeConstructor webkitAudioPannerNode; // Needed for panning model constants
index ccbd964..179221e 100644 (file)
@@ -114,14 +114,14 @@ module threads {
                  attribute [EnabledAtRuntime=FileSystem] FlagsConstructor Flags;
 #endif
 
-        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
+        attribute ArrayBufferConstructor ArrayBuffer; // Usable with new operator
+        attribute Int8ArrayConstructor Int8Array; // Usable with new operator
+        attribute Uint8ArrayConstructor Uint8Array; // Usable with new operator
+        attribute Int16ArrayConstructor Int16Array; // Usable with new operator
+        attribute Uint16ArrayConstructor Uint16Array; // Usable with new operator
+        attribute Int32ArrayConstructor Int32Array; // Usable with new operator
+        attribute Uint32ArrayConstructor Uint32Array; // Usable with new operator
+        attribute Float32ArrayConstructor Float32Array; // Usable with new operator
     };
 
 }