Commit 383e27a1 authored by abarth@webkit.org's avatar abarth@webkit.org

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-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: http://svn.webkit.org/repository/webkit/trunk@78407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f885db14
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.
......@@ -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'
......
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
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.
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
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.
......
......@@ -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
......
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.
......@@ -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"
......@@ -125,6 +128,7 @@
#include "JSFileWriterCallback.cpp"
#include "JSFileWriterSync.cpp"
#include "JSFlags.cpp"
#include "JSFloat32Array.cpp"
#include "JSGeolocation.cpp"
#include "JSGeoposition.cpp"
#include "JSHashChangeEvent.cpp"
......@@ -223,6 +227,9 @@
#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"
......@@ -423,6 +430,9 @@
#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"
......
......@@ -50445,6 +50445,22 @@
RelativePath="..\html\ButtonInputType.h"
>
</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"
>
......@@ -50493,6 +50509,70 @@
RelativePath="..\html\canvas\CanvasStyle.h"
>
</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"
>
......@@ -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; }
......
......@@ -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)
......@@ -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"
......@@ -101,6 +104,9 @@
#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"
......@@ -134,6 +140,9 @@
#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"
......
......@@ -24,17 +24,26 @@
#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"
......@@ -48,18 +57,6 @@
#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);
......
......@@ -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)
......@@ -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)
......@@ -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)
......@@ -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)
......@@ -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)
......@@ -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)
......@@ -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)
......@@ -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
}