Removed v8 bindings hooks from IDL files
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Apr 2013 22:42:32 +0000 (22:42 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Apr 2013 22:42:32 +0000 (22:42 +0000)
https://bugs.webkit.org/show_bug.cgi?id=114091

Patch by Geoffrey Garen <ggaren@apple.com> on 2013-04-06
Reviewed by Anders Carlsson and Sam Weinig.

Source/JavaScriptCore:

* heap/HeapStatistics.h:

Source/WebCore:

* Modules/encryptedmedia/MediaKeySession.idl:
* Modules/filesystem/DOMWindowFileSystem.idl:
* Modules/filesystem/WorkerContextFileSystem.idl:
* Modules/gamepad/NavigatorGamepad.idl:
* Modules/geolocation/NavigatorGeolocation.idl:
* Modules/indexeddb/DOMWindowIndexedDatabase.idl:
* Modules/indexeddb/WorkerContextIndexedDatabase.idl:
* Modules/mediastream/DOMWindowMediaStream.idl:
* Modules/mediastream/NavigatorMediaStream.idl:
* Modules/notifications/DOMWindowNotifications.idl:
* Modules/notifications/NotificationCenter.idl:
* Modules/notifications/WorkerContextNotifications.idl:
* Modules/quota/DOMWindowQuota.idl:
* Modules/speech/DOMWindowSpeech.idl:
* Modules/webaudio/AudioBufferSourceNode.idl:
* Modules/webaudio/AudioContext.idl:
* Modules/webaudio/AudioParam.idl:
* Modules/webaudio/DOMWindowWebAudio.idl:
* Modules/webdatabase/DOMWindowWebDatabase.idl:
* Modules/webdatabase/WorkerContextWebDatabase.idl:
* Modules/websockets/DOMWindowWebSocket.idl:
* Modules/websockets/WorkerContextWebSocket.idl:
* bindings/js/JSDOMBinding.cpp:
* bindings/js/ScriptController.h:
(ScriptController):
* bindings/scripts/test/TestNode.idl:
* bindings/scripts/test/TestObj.idl:
* css/CSSFontFaceLoadEvent.idl:
* css/CSSHostRule.idl:
* css/CSSRule.idl:
* css/CSSRuleList.idl:
* css/CSSStyleDeclaration.idl:
* css/CSSStyleSheet.idl:
* css/CSSValue.idl:
* css/FontLoader.idl:
* css/StyleSheet.idl:
* css/WebKitCSSRegionRule.idl:
* dom/Clipboard.idl:
* dom/CustomElementConstructor.idl:
* dom/CustomEvent.idl:
* dom/DOMNamedFlowCollection.idl:
* dom/DOMStringMap.idl:
* dom/DataTransferItemList.idl:
* dom/Document.idl:
* dom/DocumentFragment.idl:
* dom/Element.idl:
* dom/Event.idl:
* dom/EventTarget.idl:
* dom/MessageChannel.idl:
* dom/MouseEvent.idl:
* dom/MutationRecord.idl:
* dom/NamedNodeMap.idl:
* dom/Node.idl:
* dom/NodeList.idl:
* dom/RequestAnimationFrameCallback.idl:
* dom/ShadowRoot.idl:
* dom/Text.idl:
* history/HistoryItem.cpp:
(WebCore::HistoryItem::encodeBackForwardTreeNode):
(WebCore::HistoryItem::decodeBackForwardTree):
* html/DOMSettableTokenList.idl:
* html/DOMTokenList.idl:
* html/HTMLAllCollection.idl:
* html/HTMLAppletElement.idl:
* html/HTMLCollection.idl:
* html/HTMLDialogElement.idl:
* html/HTMLDivElement.idl:
* html/HTMLDocument.idl:
* html/HTMLElement.idl:
* html/HTMLEmbedElement.idl:
* html/HTMLFormControlsCollection.idl:
* html/HTMLFormElement.idl:
* html/HTMLImageElement.idl:
* html/HTMLInputElement.idl:
* html/HTMLMediaElement.idl:
* html/HTMLObjectElement.idl:
* html/HTMLOptionsCollection.idl:
* html/HTMLSelectElement.idl:
* html/HTMLSpanElement.idl:
* html/HTMLStyleElement.idl:
* html/HTMLTemplateElement.idl:
* html/HTMLTrackElement.idl:
* html/HTMLUnknownElement.idl:
* html/MediaKeyError.idl:
* html/MediaKeyEvent.idl:
* html/MicroDataItemValue.idl:
* html/canvas/CanvasRenderingContext2D.idl:
* html/canvas/DOMPath.idl:
* html/shadow/HTMLContentElement.idl:
* html/shadow/HTMLShadowElement.idl:
* html/track/TextTrack.idl:
* inspector/InjectedScriptHost.idl:
* inspector/InspectorIndexedDBAgent.cpp:
(WebCore::InspectorIndexedDBAgent::requestDatabaseNames):
(WebCore::InspectorIndexedDBAgent::requestDatabase):
(WebCore::InspectorIndexedDBAgent::requestData):
(WebCore::InspectorIndexedDBAgent::clearObjectStore):
(WebCore):
* loader/EmptyClients.h:
(EmptyFrameLoaderClient):
* loader/FrameLoaderClient.h:
(FrameLoaderClient):
* page/Console.idl:
* page/DOMWindow.idl:
* page/DOMWindowPagePopup.idl:
* page/History.idl:
* page/Location.idl:
* platform/graphics/skia/PatternSkia.cpp:
(WebCore::Pattern::platformDestroy):
(WebCore::Pattern::platformPattern):
* testing/Internals.cpp:
(WebCore::Internals::serializeObject):
(WebCore::Internals::deserializeBuffer):

Source/WTF:

* wtf/ArrayBuffer.h:
(WTF):
(WTF::ArrayBufferContents::ArrayBufferContents):
(WTF::ArrayBufferContents::transfer):
(ArrayBufferContents):
(ArrayBuffer):
(WTF::ArrayBufferContents::~ArrayBufferContents):
* wtf/Platform.h:

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

108 files changed:
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/heap/HeapStatistics.h
Source/WTF/ChangeLog
Source/WTF/wtf/ArrayBuffer.h
Source/WTF/wtf/Platform.h
Source/WebCore/ChangeLog
Source/WebCore/Modules/encryptedmedia/MediaKeySession.idl
Source/WebCore/Modules/filesystem/DOMWindowFileSystem.idl
Source/WebCore/Modules/filesystem/WorkerContextFileSystem.idl
Source/WebCore/Modules/gamepad/NavigatorGamepad.idl
Source/WebCore/Modules/geolocation/NavigatorGeolocation.idl
Source/WebCore/Modules/indexeddb/DOMWindowIndexedDatabase.idl
Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.idl
Source/WebCore/Modules/mediastream/DOMWindowMediaStream.idl
Source/WebCore/Modules/mediastream/NavigatorMediaStream.idl
Source/WebCore/Modules/notifications/DOMWindowNotifications.idl
Source/WebCore/Modules/notifications/NotificationCenter.idl
Source/WebCore/Modules/notifications/WorkerContextNotifications.idl
Source/WebCore/Modules/quota/DOMWindowQuota.idl
Source/WebCore/Modules/speech/DOMWindowSpeech.idl
Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
Source/WebCore/Modules/webaudio/AudioContext.idl
Source/WebCore/Modules/webaudio/AudioParam.idl
Source/WebCore/Modules/webaudio/DOMWindowWebAudio.idl
Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.idl
Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.idl
Source/WebCore/Modules/websockets/DOMWindowWebSocket.idl
Source/WebCore/Modules/websockets/WorkerContextWebSocket.idl
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/bindings/js/ScriptController.h
Source/WebCore/bindings/scripts/test/TestNode.idl
Source/WebCore/bindings/scripts/test/TestObj.idl
Source/WebCore/css/CSSFontFaceLoadEvent.idl
Source/WebCore/css/CSSHostRule.idl
Source/WebCore/css/CSSRule.idl
Source/WebCore/css/CSSRuleList.idl
Source/WebCore/css/CSSStyleDeclaration.idl
Source/WebCore/css/CSSStyleSheet.idl
Source/WebCore/css/CSSValue.idl
Source/WebCore/css/FontLoader.idl
Source/WebCore/css/StyleSheet.idl
Source/WebCore/css/WebKitCSSRegionRule.idl
Source/WebCore/dom/Clipboard.idl
Source/WebCore/dom/CustomElementConstructor.idl
Source/WebCore/dom/CustomEvent.idl
Source/WebCore/dom/DOMExceptions.in
Source/WebCore/dom/DOMNamedFlowCollection.idl
Source/WebCore/dom/DOMStringMap.idl
Source/WebCore/dom/DataTransferItemList.idl
Source/WebCore/dom/Document.idl
Source/WebCore/dom/DocumentFragment.idl
Source/WebCore/dom/Element.idl
Source/WebCore/dom/Event.idl
Source/WebCore/dom/EventNames.in
Source/WebCore/dom/EventTarget.idl
Source/WebCore/dom/EventTargetFactory.in
Source/WebCore/dom/MessageChannel.idl
Source/WebCore/dom/MouseEvent.idl
Source/WebCore/dom/MutationRecord.idl
Source/WebCore/dom/NamedNodeMap.idl
Source/WebCore/dom/Node.idl
Source/WebCore/dom/NodeList.idl
Source/WebCore/dom/RequestAnimationFrameCallback.idl
Source/WebCore/dom/ShadowRoot.idl
Source/WebCore/dom/Text.idl
Source/WebCore/history/HistoryItem.cpp
Source/WebCore/html/DOMSettableTokenList.idl
Source/WebCore/html/DOMTokenList.idl
Source/WebCore/html/HTMLAllCollection.idl
Source/WebCore/html/HTMLAppletElement.idl
Source/WebCore/html/HTMLCollection.idl
Source/WebCore/html/HTMLDialogElement.idl
Source/WebCore/html/HTMLDivElement.idl
Source/WebCore/html/HTMLDocument.idl
Source/WebCore/html/HTMLElement.idl
Source/WebCore/html/HTMLEmbedElement.idl
Source/WebCore/html/HTMLFormControlsCollection.idl
Source/WebCore/html/HTMLFormElement.idl
Source/WebCore/html/HTMLImageElement.idl
Source/WebCore/html/HTMLInputElement.idl
Source/WebCore/html/HTMLMediaElement.idl
Source/WebCore/html/HTMLObjectElement.idl
Source/WebCore/html/HTMLOptionsCollection.idl
Source/WebCore/html/HTMLSelectElement.idl
Source/WebCore/html/HTMLSpanElement.idl
Source/WebCore/html/HTMLStyleElement.idl
Source/WebCore/html/HTMLTemplateElement.idl
Source/WebCore/html/HTMLTrackElement.idl
Source/WebCore/html/HTMLUnknownElement.idl
Source/WebCore/html/MediaKeyError.idl
Source/WebCore/html/MediaKeyEvent.idl
Source/WebCore/html/MicroDataItemValue.idl
Source/WebCore/html/canvas/CanvasRenderingContext2D.idl
Source/WebCore/html/canvas/DOMPath.idl
Source/WebCore/html/shadow/HTMLContentElement.idl
Source/WebCore/html/shadow/HTMLShadowElement.idl
Source/WebCore/html/track/TextTrack.idl
Source/WebCore/inspector/InjectedScriptHost.idl
Source/WebCore/inspector/InspectorIndexedDBAgent.cpp
Source/WebCore/loader/EmptyClients.h
Source/WebCore/loader/FrameLoaderClient.h
Source/WebCore/page/Console.idl
Source/WebCore/page/DOMWindow.idl
Source/WebCore/page/DOMWindowPagePopup.idl
Source/WebCore/page/History.idl
Source/WebCore/page/Location.idl
Source/WebCore/platform/graphics/skia/PatternSkia.cpp
Source/WebCore/testing/Internals.cpp

index 43e2f5d..d80ba6b 100644 (file)
@@ -1,3 +1,12 @@
+2013-04-06  Geoffrey Garen  <ggaren@apple.com>
+
+        Removed v8 bindings hooks from IDL files
+        https://bugs.webkit.org/show_bug.cgi?id=114091
+
+        Reviewed by Anders Carlsson and Sam Weinig.
+
+        * heap/HeapStatistics.h:
+
 2013-04-03  Roger Fong  <roger_fong@apple.com>
 
         Windows VS2010 build fix.
index ce7a40a..13a29ef 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef HeapStatistics_h
 #define HeapStatistics_h
 
+#include "JSExportMacros.h"
 #include <wtf/Deque.h>
 
 namespace JSC {
index 419e8d4..8205963 100644 (file)
@@ -1,3 +1,19 @@
+2013-04-06  Geoffrey Garen  <ggaren@apple.com>
+
+        Removed v8 bindings hooks from IDL files
+        https://bugs.webkit.org/show_bug.cgi?id=114091
+
+        Reviewed by Anders Carlsson and Sam Weinig.
+
+        * wtf/ArrayBuffer.h:
+        (WTF):
+        (WTF::ArrayBufferContents::ArrayBufferContents):
+        (WTF::ArrayBufferContents::transfer):
+        (ArrayBufferContents):
+        (ArrayBuffer):
+        (WTF::ArrayBufferContents::~ArrayBufferContents):
+        * wtf/Platform.h:
+
 2013-04-05  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
 
         [GTK] Change from PLATFORM(GTK) to USE(GLIB) in WTF/CurrentTime.cpp
index aa59cf7..d2c7249 100644 (file)
@@ -36,25 +36,12 @@ namespace WTF {
 class ArrayBuffer;
 class ArrayBufferView;
 
-#if defined(WTF_USE_V8)
-// The current implementation assumes that the instance of this class is a
-// singleton living for the entire process's lifetime.
-class ArrayBufferDeallocationObserver {
-public:
-    virtual void ArrayBufferDeallocated(unsigned sizeInBytes) = 0;
-};
-#endif
-
-
 class ArrayBufferContents {
     WTF_MAKE_NONCOPYABLE(ArrayBufferContents);
 public:
     ArrayBufferContents() 
         : m_data(0)
         , m_sizeInBytes(0)
-#if defined(WTF_USE_V8)
-        , m_deallocationObserver(0)
-#endif
     { }
 
     inline ~ArrayBufferContents();
@@ -66,9 +53,6 @@ private:
     ArrayBufferContents(void* data, unsigned sizeInBytes) 
         : m_data(data)
         , m_sizeInBytes(sizeInBytes)
-#if defined(WTF_USE_V8)
-        , m_deallocationObserver(0)
-#endif
     { }
 
     friend class ArrayBuffer;
@@ -86,21 +70,10 @@ private:
         other.m_sizeInBytes = m_sizeInBytes;
         m_data = 0;
         m_sizeInBytes = 0;
-#if defined(WTF_USE_V8)
-        // Notify the current V8 isolate that the buffer is gone.
-        if (m_deallocationObserver)
-            m_deallocationObserver->ArrayBufferDeallocated(other.m_sizeInBytes);
-        ASSERT(!other.m_deallocationObserver);
-        m_deallocationObserver = 0;
-#endif
     }
 
     void* m_data;
     unsigned m_sizeInBytes;
-
-#if defined(WTF_USE_V8)
-    ArrayBufferDeallocationObserver* m_deallocationObserver;
-#endif
 };
 
 class ArrayBuffer : public RefCounted<ArrayBuffer> {
@@ -126,13 +99,6 @@ public:
     WTF_EXPORT_PRIVATE bool transfer(ArrayBufferContents&, Vector<RefPtr<ArrayBufferView> >& neuteredViews);
     bool isNeutered() { return !m_contents.m_data; }
 
-#if defined(WTF_USE_V8)
-    void setDeallocationObserver(ArrayBufferDeallocationObserver* deallocationObserver)
-    {
-        m_contents.m_deallocationObserver = deallocationObserver;
-    }
-#endif
-
     ~ArrayBuffer() { }
 
 private:
@@ -272,10 +238,6 @@ void ArrayBufferContents::tryAllocate(unsigned numElements, unsigned elementByte
 
 ArrayBufferContents::~ArrayBufferContents()
 {
-#if defined (WTF_USE_V8)
-    if (m_deallocationObserver)
-        m_deallocationObserver->ArrayBufferDeallocated(m_sizeInBytes);
-#endif
     WTF::fastFree(m_data);
 }
 
index cb50f47..2dc6898 100644 (file)
 #define WTF_USE_COREAUDIO 1
 #endif
 
-/* Not using V8 implies using JSC and vice versa */
-#if !USE(V8)
-#define WTF_USE_JSC 1
-#endif
-
 #if !defined(WTF_USE_ZLIB) && !PLATFORM(QT)
 #define WTF_USE_ZLIB 1
 #endif
index 9de1d8d..6ff05f9 100644 (file)
@@ -1,3 +1,124 @@
+2013-04-06  Geoffrey Garen  <ggaren@apple.com>
+
+        Removed v8 bindings hooks from IDL files
+        https://bugs.webkit.org/show_bug.cgi?id=114091
+
+        Reviewed by Anders Carlsson and Sam Weinig.
+
+        * Modules/encryptedmedia/MediaKeySession.idl:
+        * Modules/filesystem/DOMWindowFileSystem.idl:
+        * Modules/filesystem/WorkerContextFileSystem.idl:
+        * Modules/gamepad/NavigatorGamepad.idl:
+        * Modules/geolocation/NavigatorGeolocation.idl:
+        * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
+        * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
+        * Modules/mediastream/DOMWindowMediaStream.idl:
+        * Modules/mediastream/NavigatorMediaStream.idl:
+        * Modules/notifications/DOMWindowNotifications.idl:
+        * Modules/notifications/NotificationCenter.idl:
+        * Modules/notifications/WorkerContextNotifications.idl:
+        * Modules/quota/DOMWindowQuota.idl:
+        * Modules/speech/DOMWindowSpeech.idl:
+        * Modules/webaudio/AudioBufferSourceNode.idl:
+        * Modules/webaudio/AudioContext.idl:
+        * Modules/webaudio/AudioParam.idl:
+        * Modules/webaudio/DOMWindowWebAudio.idl:
+        * Modules/webdatabase/DOMWindowWebDatabase.idl:
+        * Modules/webdatabase/WorkerContextWebDatabase.idl:
+        * Modules/websockets/DOMWindowWebSocket.idl:
+        * Modules/websockets/WorkerContextWebSocket.idl:
+        * bindings/js/JSDOMBinding.cpp:
+        * bindings/js/ScriptController.h:
+        (ScriptController):
+        * bindings/scripts/test/TestNode.idl:
+        * bindings/scripts/test/TestObj.idl:
+        * css/CSSFontFaceLoadEvent.idl:
+        * css/CSSHostRule.idl:
+        * css/CSSRule.idl:
+        * css/CSSRuleList.idl:
+        * css/CSSStyleDeclaration.idl:
+        * css/CSSStyleSheet.idl:
+        * css/CSSValue.idl:
+        * css/FontLoader.idl:
+        * css/StyleSheet.idl:
+        * css/WebKitCSSRegionRule.idl:
+        * dom/Clipboard.idl:
+        * dom/CustomElementConstructor.idl:
+        * dom/CustomEvent.idl:
+        * dom/DOMNamedFlowCollection.idl:
+        * dom/DOMStringMap.idl:
+        * dom/DataTransferItemList.idl:
+        * dom/Document.idl:
+        * dom/DocumentFragment.idl:
+        * dom/Element.idl:
+        * dom/Event.idl:
+        * dom/EventTarget.idl:
+        * dom/MessageChannel.idl:
+        * dom/MouseEvent.idl:
+        * dom/MutationRecord.idl:
+        * dom/NamedNodeMap.idl:
+        * dom/Node.idl:
+        * dom/NodeList.idl:
+        * dom/RequestAnimationFrameCallback.idl:
+        * dom/ShadowRoot.idl:
+        * dom/Text.idl:
+        * history/HistoryItem.cpp:
+        (WebCore::HistoryItem::encodeBackForwardTreeNode):
+        (WebCore::HistoryItem::decodeBackForwardTree):
+        * html/DOMSettableTokenList.idl:
+        * html/DOMTokenList.idl:
+        * html/HTMLAllCollection.idl:
+        * html/HTMLAppletElement.idl:
+        * html/HTMLCollection.idl:
+        * html/HTMLDialogElement.idl:
+        * html/HTMLDivElement.idl:
+        * html/HTMLDocument.idl:
+        * html/HTMLElement.idl:
+        * html/HTMLEmbedElement.idl:
+        * html/HTMLFormControlsCollection.idl:
+        * html/HTMLFormElement.idl:
+        * html/HTMLImageElement.idl:
+        * html/HTMLInputElement.idl:
+        * html/HTMLMediaElement.idl:
+        * html/HTMLObjectElement.idl:
+        * html/HTMLOptionsCollection.idl:
+        * html/HTMLSelectElement.idl:
+        * html/HTMLSpanElement.idl:
+        * html/HTMLStyleElement.idl:
+        * html/HTMLTemplateElement.idl:
+        * html/HTMLTrackElement.idl:
+        * html/HTMLUnknownElement.idl:
+        * html/MediaKeyError.idl:
+        * html/MediaKeyEvent.idl:
+        * html/MicroDataItemValue.idl:
+        * html/canvas/CanvasRenderingContext2D.idl:
+        * html/canvas/DOMPath.idl:
+        * html/shadow/HTMLContentElement.idl:
+        * html/shadow/HTMLShadowElement.idl:
+        * html/track/TextTrack.idl:
+        * inspector/InjectedScriptHost.idl:
+        * inspector/InspectorIndexedDBAgent.cpp:
+        (WebCore::InspectorIndexedDBAgent::requestDatabaseNames):
+        (WebCore::InspectorIndexedDBAgent::requestDatabase):
+        (WebCore::InspectorIndexedDBAgent::requestData):
+        (WebCore::InspectorIndexedDBAgent::clearObjectStore):
+        (WebCore):
+        * loader/EmptyClients.h:
+        (EmptyFrameLoaderClient):
+        * loader/FrameLoaderClient.h:
+        (FrameLoaderClient):
+        * page/Console.idl:
+        * page/DOMWindow.idl:
+        * page/DOMWindowPagePopup.idl:
+        * page/History.idl:
+        * page/Location.idl:
+        * platform/graphics/skia/PatternSkia.cpp:
+        (WebCore::Pattern::platformDestroy):
+        (WebCore::Pattern::platformPattern):
+        * testing/Internals.cpp:
+        (WebCore::Internals::serializeObject):
+        (WebCore::Internals::deserializeBuffer):
+
 2013-04-06  Zan Dobersek  <zdobersek@igalia.com>
 
         Remove the USE(SKIA_ON_MAC_CHROMIUM) guards
index c4c9fc2..d02a83c 100644 (file)
@@ -41,9 +41,9 @@ interface [
     void close();
     
     // EventListeners
-    attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyadded;
-    attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyerror;
-    attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeymessage;
+    attribute EventListener onwebkitkeyadded;
+    attribute EventListener onwebkitkeyerror;
+    attribute EventListener onwebkitkeymessage;
 
     // EventTarget interface
     void addEventListener(in DOMString type, 
index 35ca800..a722726 100644 (file)
@@ -31,9 +31,9 @@
     const unsigned short TEMPORARY = 0;
     const unsigned short PERSISTENT = 1;
 
-    [V8EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size,
+    void webkitRequestFileSystem(in unsigned short type, in long long size,
             in [Callback] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
-    [V8EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url,
+    void webkitResolveLocalFileSystemURL(in DOMString url,
             in [Callback] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
 };
 
index 645e347..46205c5 100644 (file)
     const unsigned short TEMPORARY = 0;
     const unsigned short PERSISTENT = 1;
 
-    [V8EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size, in [Callback, Optional] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
-    [V8EnabledAtRuntime=FileSystem] DOMFileSystemSync webkitRequestFileSystemSync(in unsigned short type, in long long size) raises (FileException);
-    [V8EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url, in [Callback] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
-    [V8EnabledAtRuntime=FileSystem] EntrySync webkitResolveLocalFileSystemSyncURL(in DOMString url) raises (FileException);
+    void webkitRequestFileSystem(in unsigned short type, in long long size, in [Callback, Optional] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
+    DOMFileSystemSync webkitRequestFileSystemSync(in unsigned short type, in long long size) raises (FileException);
+    void webkitResolveLocalFileSystemURL(in DOMString url, in [Callback] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
+    EntrySync webkitResolveLocalFileSystemSyncURL(in DOMString url) raises (FileException);
 
-    [V8EnabledAtRuntime=FileSystem] attribute FileErrorConstructor FileError;
-    [V8EnabledAtRuntime=FileSystem] attribute FileExceptionConstructor FileException;
+    attribute FileErrorConstructor FileError;
+    attribute FileExceptionConstructor FileException;
 };
 
index fdf17b7..3130ffb 100644 (file)
@@ -21,6 +21,6 @@
     Conditional=GAMEPAD,
     Supplemental=Navigator
 ] interface NavigatorGamepad {
-    [V8EnabledAtRuntime] GamepadList webkitGetGamepads();
+    GamepadList webkitGetGamepads();
 };
 
index c8c5cb2..5c1c813 100644 (file)
@@ -21,6 +21,6 @@
     Conditional=GEOLOCATION,
     Supplemental=Navigator
 ] interface NavigatorGeolocation {
-    [V8EnabledAtRuntime] readonly attribute Geolocation geolocation;
+    readonly attribute Geolocation geolocation;
 };
 
index 19e6868..fed2363 100644 (file)
@@ -28,7 +28,7 @@
     Conditional=INDEXED_DATABASE,
     Supplemental=DOMWindow
 ] interface DOMWindowIndexedDatabase {
-    [ImplementedAs=indexedDB,V8MeasureAs=PrefixedIndexedDB] readonly attribute IDBFactory webkitIndexedDB;
+    [ImplementedAs=indexedDB] readonly attribute IDBFactory webkitIndexedDB;
 
     attribute IDBCursorConstructor webkitIDBCursor;
     attribute IDBDatabaseConstructor webkitIDBDatabase;
@@ -39,7 +39,7 @@
     attribute IDBRequestConstructor webkitIDBRequest;
     attribute IDBTransactionConstructor webkitIDBTransaction;
 
-    [V8MeasureAs=UnprefixedIndexedDB] readonly attribute IDBFactory indexedDB;
+    readonly attribute IDBFactory indexedDB;
 
     attribute IDBCursorConstructor IDBCursor;
     attribute IDBCursorWithValueConstructor IDBCursorWithValue;
index b632a75..f0dbeb2 100644 (file)
@@ -28,7 +28,7 @@
     Conditional=INDEXED_DATABASE,
     Supplemental=WorkerContext
 ] interface WorkerContextIndexedDatabase {
-    [ImplementedAs=indexedDB,V8EnabledAtRuntime] readonly attribute IDBFactory webkitIndexedDB;
+    [ImplementedAs=indexedDB] readonly attribute IDBFactory webkitIndexedDB;
 
     attribute IDBCursorConstructor webkitIDBCursor;
     attribute IDBDatabaseConstructor webkitIDBDatabase;
@@ -39,7 +39,7 @@
     attribute IDBRequestConstructor webkitIDBRequest;
     attribute IDBTransactionConstructor webkitIDBTransaction;
 
-    [V8EnabledAtRuntime] readonly attribute IDBFactory indexedDB;
+    readonly attribute IDBFactory indexedDB;
 
     attribute IDBCursorConstructor IDBCursor;
     attribute IDBCursorWithValueConstructor IDBCursorWithValue;
index b7eb91e..7325d30 100644 (file)
@@ -28,8 +28,8 @@
     Conditional=MEDIA_STREAM,
     Supplemental=DOMWindow
 ] interface DOMWindowMediaStream {
-    [V8EnabledAtRuntime] attribute MediaStreamConstructor webkitMediaStream;
-    [V8EnabledAtRuntime] attribute RTCPeerConnectionConstructor webkitRTCPeerConnection;
+    attribute MediaStreamConstructor webkitMediaStream;
+    attribute RTCPeerConnectionConstructor webkitRTCPeerConnection;
     attribute RTCSessionDescriptionConstructor RTCSessionDescription;
     attribute RTCIceCandidateConstructor RTCIceCandidate;
     attribute MediaStreamEventConstructor MediaStreamEvent;
index 9cc3957..4d1c871 100644 (file)
@@ -21,7 +21,7 @@
     Conditional=MEDIA_STREAM,
     Supplemental=Navigator
 ] interface NavigatorMediaStream {
-    [V8EnabledAtRuntime] void webkitGetUserMedia(in Dictionary options,
+    void webkitGetUserMedia(in Dictionary options,
                                                  in [Callback] NavigatorUserMediaSuccessCallback successCallback,
                                                  in [Callback, Optional] NavigatorUserMediaErrorCallback errorCallback)
         raises(DOMException);
index a030866..18bc97b 100644 (file)
@@ -29,7 +29,7 @@
     Supplemental=DOMWindow
 ] interface DOMWindowNotifications {
 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
-    [V8EnabledAtRuntime, V8MeasureAs=LegacyNotifications] readonly attribute NotificationCenter webkitNotifications;
+    readonly attribute NotificationCenter webkitNotifications;
 #endif
 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
     attribute NotificationConstructor Notification;
index 7a04b1b..63a7c9a 100644 (file)
@@ -35,9 +35,9 @@
     OmitConstructor
 ] interface NotificationCenter {
 #if !defined(ENABLE_TEXT_NOTIFICATIONS_ONLY) || !ENABLE_TEXT_NOTIFICATIONS_ONLY
-   [V8EnabledPerContext=htmlNotifications, V8MeasureAs=LegacyHTMLNotifications] Notification createHTMLNotification(in DOMString url) raises(DOMException);
+   Notification createHTMLNotification(in DOMString url) raises(DOMException);
 #endif
-   [V8MeasureAs=LegacyTextNotifications] Notification createNotification(in DOMString iconUrl, in DOMString title, in DOMString body) raises(DOMException);
+   Notification createNotification(in DOMString iconUrl, in DOMString title, in DOMString body) raises(DOMException);
 
    int checkPermission();
    void requestPermission(in [Optional, Callback] VoidCallback callback);
index 5e0c3fe..090fcf5 100644 (file)
@@ -29,7 +29,7 @@
     Supplemental=WorkerContext
 ] interface WorkerContextNotifications {
 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
-    [V8EnabledAtRuntime] readonly attribute NotificationCenter webkitNotifications;
+    readonly attribute NotificationCenter webkitNotifications;
 #endif
 };
 
index d3ca1c6..20c7a14 100644 (file)
@@ -27,6 +27,6 @@
     Conditional=QUOTA,
     Supplemental=DOMWindow
 ] interface DOMWindowQuota {
-    readonly attribute [V8MeasureAs=StorageInfo] StorageInfo webkitStorageInfo;
+    readonly attribute StorageInfo webkitStorageInfo;
 };
 
index 8f737c9..953b1c5 100644 (file)
@@ -27,9 +27,9 @@
     Conditional=SCRIPTED_SPEECH,
     Supplemental=DOMWindow
 ] interface DOMWindowSpeech {
-    [V8EnabledAtRuntime] attribute SpeechRecognitionConstructor webkitSpeechRecognition;
-    [V8EnabledAtRuntime] attribute SpeechRecognitionErrorConstructor webkitSpeechRecognitionError;
-    [V8EnabledAtRuntime] attribute SpeechRecognitionEventConstructor webkitSpeechRecognitionEvent;
-    [V8EnabledAtRuntime] attribute SpeechGrammarConstructor webkitSpeechGrammar;
-    [V8EnabledAtRuntime] attribute SpeechGrammarListConstructor webkitSpeechGrammarList;
+    attribute SpeechRecognitionConstructor webkitSpeechRecognition;
+    attribute SpeechRecognitionErrorConstructor webkitSpeechRecognitionError;
+    attribute SpeechRecognitionEventConstructor webkitSpeechRecognitionEvent;
+    attribute SpeechGrammarConstructor webkitSpeechGrammar;
+    attribute SpeechGrammarListConstructor webkitSpeechGrammarList;
 };
index f8f98b3..6489be8 100644 (file)
     attribute double loopStart;
     attribute double loopEnd;
 
-    [V8MeasureAs=WebAudioStart] void start(in double when);
-    [V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double when, in double grainOffset);
-    [V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double when, in double grainOffset, in double grainDuration);
+    void start(in double when);
+    [ImplementedAs=startGrain] void start(in double when, in double grainOffset);
+    [ImplementedAs=startGrain] void start(in double when, in double grainOffset, in double grainDuration);
     void stop(in double when);
 
 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO
     attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility.
 
-    [V8MeasureAs=LegacyWebAudio] void noteOn(in double when);
-    [V8MeasureAs=LegacyWebAudio] void noteGrainOn(in double when, in double grainOffset, in double grainDuration);
+    void noteOn(in double when);
+    void noteGrainOn(in double when, in double grainOffset, in double grainDuration);
     void noteOff(in double when);
 #endif
 };
index 0d5047d..909affb 100644 (file)
     void startRendering();
 
 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO
-    [V8MeasureAs=LegacyWebAudio, ImplementedAs=createGain] GainNode createGainNode();
-    [V8MeasureAs=LegacyWebAudio, ImplementedAs=createDelay] DelayNode createDelayNode(in [Optional] double maxDelayTime) 
+    [ImplementedAs=createGain] GainNode createGainNode();
+    [ImplementedAs=createDelay] DelayNode createDelayNode(in [Optional] double maxDelayTime) 
         raises(DOMException);
 
-    [V8MeasureAs=LegacyWebAudio, ImplementedAs=createScriptProcessor] ScriptProcessorNode createJavaScriptNode(in unsigned long bufferSize, in [Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long numberOfOutputChannels)
+    [ImplementedAs=createScriptProcessor] ScriptProcessorNode createJavaScriptNode(in unsigned long bufferSize, in [Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long numberOfOutputChannels)
         raises(DOMException);
 #endif
 
index d6d01fe..a7a5bc1 100644 (file)
@@ -55,7 +55,7 @@
     void cancelScheduledValues(in float startTime);
 
 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO
-    [V8MeasureAs=LegacyWebAudio, ImplementedAs=setTargetAtTime] void setTargetValueAtTime(in float targetValue, in float time, in float timeConstant);
+    [ImplementedAs=setTargetAtTime] void setTargetValueAtTime(in float targetValue, in float time, in float timeConstant);
 #endif
 
 };
index 4b1b7d1..c5553a2 100644 (file)
     Supplemental=DOMWindow
 ] interface DOMWindowWebAudio {
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
-    [JSCustomGetter, V8EnabledAtRuntime] attribute AudioContextConstructor webkitAudioContext;
-    [V8EnabledAtRuntime] attribute OfflineAudioContextConstructor webkitOfflineAudioContext;
+    [JSCustomGetter] attribute AudioContextConstructor webkitAudioContext;
+    attribute OfflineAudioContextConstructor webkitOfflineAudioContext;
     attribute PannerNodeConstructor webkitAudioPannerNode;
     attribute AudioProcessingEventConstructor AudioProcessingEvent;
     attribute OfflineAudioCompletionEventConstructor OfflineAudioCompletionEvent;
 #endif
 };
-
index 299453d..5451ed5 100644 (file)
@@ -28,7 +28,7 @@
     Conditional=SQL_DATABASE,
     Supplemental=DOMWindow
 ] interface DOMWindowWebDatabase {
-    [V8EnabledAtRuntime, V8MeasureAs=OpenWebDatabase] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)
+    Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)
         raises(DOMException);
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
     attribute SQLExceptionConstructor SQLException;
index 90bb521..ed617ea 100644 (file)
     Conditional=SQL_DATABASE,
     Supplemental=WorkerContext
 ] interface WorkerContextWebDatabase {
-    [V8EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)
+    Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)
         raises(DOMException);
 
-    [V8EnabledAtRuntime] DatabaseSync openDatabaseSync(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)
+    DatabaseSync openDatabaseSync(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)
         raises(DOMException);
 };
 
index a70f67e..c23bc4d 100644 (file)
@@ -30,7 +30,7 @@
 ] interface DOMWindowWebSocket {
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
     attribute CloseEventConstructor CloseEvent;
-    [JSCustomGetter, V8EnabledAtRuntime] attribute WebSocketConstructor WebSocket; // Usable with the new operator
+    [JSCustomGetter] attribute WebSocketConstructor WebSocket; // Usable with the new operator
 #endif
 };
 
index 1f8ae5d..5ee3b65 100644 (file)
@@ -28,6 +28,6 @@
     Conditional=WEB_SOCKETS,
     Supplemental=WorkerContext
 ] interface WorkerContextWebSocket {
-    [JSCustomGetter,V8EnabledAtRuntime] attribute WebSocketConstructor WebSocket; // Usable with the new operator
+    [JSCustomGetter] attribute WebSocketConstructor WebSocket; // Usable with the new operator
 };
 
index 9e3718d..85202c2 100644 (file)
                7C522D4915B477E8009B7C95 /* InspectorOverlay.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorOverlay.cpp; sourceTree = "<group>"; };
                7C522D4A15B478B2009B7C95 /* InspectorOverlay.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorOverlay.h; sourceTree = "<group>"; };
                7C60128060078BB70E367A95 /* DNSResolveQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DNSResolveQueue.cpp; sourceTree = "<group>"; };
+               7C6136F61710C35200FF4A57 /* Hasher.pm */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; name = Hasher.pm; path = scripts/Hasher.pm; sourceTree = "<group>"; };
+               7C6136F71710C35200FF4A57 /* InFilesCompiler.pm */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; name = InFilesCompiler.pm; path = scripts/InFilesCompiler.pm; sourceTree = "<group>"; };
+               7C6136F81710C35200FF4A57 /* InFilesParser.pm */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; name = InFilesParser.pm; path = scripts/InFilesParser.pm; sourceTree = "<group>"; };
+               7C6136F91710C35200FF4A57 /* StaticString.pm */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; name = StaticString.pm; path = scripts/StaticString.pm; sourceTree = "<group>"; };
                7E12E90D15FA5D3A005E4126 /* CustomFilterMeshGenerator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CustomFilterMeshGenerator.h; path = filters/CustomFilterMeshGenerator.h; sourceTree = "<group>"; };
                7E12E90E15FA5D3A005E4126 /* CustomFilterMeshGenerator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CustomFilterMeshGenerator.cpp; path = filters/CustomFilterMeshGenerator.cpp; sourceTree = "<group>"; };
                7E33CD00127F340D00BE8F17 /* PurgePriority.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PurgePriority.h; sourceTree = "<group>"; };
                                BC1A3794097C6FC40019F3D8 /* objc */,
                                93F8B3050A300FE100F61AB8 /* CodeGenerator.pm */,
                                93F8B3070A300FEA00F61AB8 /* generate-bindings.pl */,
+                               7C6136F61710C35200FF4A57 /* Hasher.pm */,
                                A83B533814F399BB00720D9D /* IDLAttributes.txt */,
                                14813BF309EDF88E00F757E1 /* IDLParser.pm */,
+                               7C6136F71710C35200FF4A57 /* InFilesCompiler.pm */,
+                               7C6136F81710C35200FF4A57 /* InFilesParser.pm */,
                                A83B538014FBB2EC00720D9D /* preprocess-idls.pl */,
                                C0F2A43F13869A280066C534 /* preprocessor.pm */,
                                8C6EA61711EF7E0400FD8EE3 /* RuntimeEnabledFeatures.cpp */,
                                8C6EA61811EF7E0400FD8EE3 /* RuntimeEnabledFeatures.h */,
                                97EF7DFD107E55B700D7C49C /* ScriptControllerBase.cpp */,
                                CE02F0C311E83ADD00C6684A /* ScriptControllerBase.h */,
+                               7C6136F91710C35200FF4A57 /* StaticString.pm */,
                        );
                        path = bindings;
                        sourceTree = "<group>";
index 0f765f8..6a0d7e5 100644 (file)
@@ -163,7 +163,7 @@ public:
     NPObject* windowScriptNPObject();
 #endif
 
-    // FIXME: Stub for parity with V8 implementation. http://webkit.org/b/100815
+    // FIXME: Script run from an isolated world should bypass a page's CSP. http://webkit.org/b/100815
     bool shouldBypassMainWorldContentSecurityPolicy() { return false; }
 
 private:
index 65b0151..f23ba67 100644 (file)
@@ -21,7 +21,6 @@
 [
     EventTarget,
     Constructor,
-    V8DependentLifetime
 ] interface TestNode : Node {
 };
 
index 98deed4..9587954 100644 (file)
@@ -50,7 +50,7 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
     attribute long long                longLongAttr;
     attribute unsigned long long       unsignedLongLongAttr;
     attribute DOMString                stringAttr;
-    [V8MeasureAs=TestFeature] attribute TestObj testObjAttr;
+    attribute TestObj testObjAttr;
 
     // WK_ucfirst, WK_lcfirst exceptional cases.
     attribute TestObj                  XMLObjAttr;
@@ -75,7 +75,7 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
     void    voidMethodWithArgs(in long longArg, in DOMString strArg, in TestObj objArg);
     long    longMethod();
     long    longMethodWithArgs(in long longArg, in DOMString strArg, in TestObj objArg);
-    [V8MeasureAs=TestFeature] TestObj objMethod();
+    TestObj objMethod();
     TestObj objMethodWithArgs(in long longArg, in DOMString strArg, in TestObj objArg);
 
     void methodWithSequenceArg(in sequence<ScriptProfile> sequenceArg);
@@ -97,7 +97,7 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
 
     // 'Custom' extended attribute
     [Custom] attribute long            customAttr;
-    [Custom, V8MeasureAs=CustomTestFeature] void customMethod();
+    [Custom] void customMethod();
     [Custom] void customMethodWithArgs(in long longArg, in DOMString strArg, in TestObj objArg);
 
     void addEventListener(in DOMString type, 
@@ -141,7 +141,7 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
     void    methodWithOptionalStringIsUndefined(in [Optional=DefaultIsUndefined] DOMString str);
     void    methodWithOptionalStringIsNullString(in [Optional=DefaultIsNullString] DOMString str);
 
-#if defined(TESTING_V8) || defined(TESTING_JS)
+#if defined(TESTING_JS)
     // 'Callback' extended attribute
     void    methodWithCallbackArg(in [Callback] TestCallback callback);
     void    methodWithNonCallbackArgAndCallbackArg(in long nonCallback, in [Callback] TestCallback callback);
@@ -151,19 +151,6 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
     static void    staticMethodWithCallbackArg(in [Callback] TestCallback callback);
 #endif
 
-#if defined(TESTING_V8)
-    // 'EnforceRange' extended attribute
-    void    methodWithEnforceRangeInt32(in [EnforceRange] long value);
-    void    methodWithEnforceRangeUInt32(in [EnforceRange] unsigned long value);
-    void    methodWithEnforceRangeInt64(in [EnforceRange] long long value);
-    void    methodWithEnforceRangeUInt64(in [EnforceRange] unsigned long long value);
-
-    attribute [EnforceRange] long enforcedRangeLongAttr;
-    attribute [EnforceRange] unsigned long enforcedRangeUnsignedLongAttr;
-    attribute [EnforceRange] long long enforcedRangeLongLongAttr;
-    attribute [EnforceRange] unsigned long long enforcedRangeUnsignedLongLongAttr;
-#endif
-
     // 'Conditional' extended attribute
     [Conditional=Condition1] attribute long conditionalAttr1;
     [Conditional=Condition1&Condition2] attribute long conditionalAttr2;
@@ -180,14 +167,14 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
 
     [Conditional=Condition1] const unsigned short CONDITIONAL_CONST = 0;
 
-#if defined(TESTING_V8) || defined(TESTING_JS)
+#if defined(TESTING_JS)
     [CachedAttribute] readonly attribute any cachedAttribute1;
     [CachedAttribute] readonly attribute any cachedAttribute2;
 #endif
     
     attribute any anyAttribute;
 
-#if defined(TESTING_V8) || defined(TESTING_JS)
+#if defined(TESTING_JS)
     // Overloads
     void    overloadedMethod(in TestObj? objArg, in [StrictTypeChecking] DOMString strArg);
     void    overloadedMethod(in TestObj? objArg, in [Optional] long longArg);
@@ -213,29 +200,8 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
 
     void classMethodWithClamp(in [Clamp] unsigned short objArgsShort, in [Clamp] unsigned long objArgsLong);
 
-#if defined(TESTING_V8)
-    // 'V8EnabledAtRuntime' methods and attributes.
-    [V8EnabledAtRuntime] void enabledAtRuntimeMethod1(in long longArg);
-    [V8EnabledAtRuntime=FeatureName] void enabledAtRuntimeMethod2(in long longArg);
-    [V8EnabledAtRuntime] attribute long enabledAtRuntimeAttr1;
-    [V8EnabledAtRuntime=FeatureName] attribute long enabledAtRuntimeAttr2;
-    // 'V8EnabledPerContext' methods and attributes.
-    [V8EnabledPerContext] void enabledPerContextMethod1(in long longArg);
-    [V8EnabledPerContext=FeatureName] void enabledPerContextMethod2(in long longArg);
-    [V8EnabledPerContext] attribute long enabledPerContextAttr1;
-    [V8EnabledPerContext=FeatureName] attribute long enabledPerContextAttr2;
-#endif
-
-
-#if defined(TESTING_V8)
-    attribute float[]                   floatArray;
-    attribute double[]                  doubleArray;
-#endif
-
 #if defined(TESTING_JS)
     void methodWithUnsignedLongSequence(in sequence<unsigned long> unsignedLongSequence);
-#endif
-#if defined(TESTING_V8) || defined(TESTING_JS)
     DOMString[] stringArrayFunction(in DOMString[] values) raises(DOMException);
     DOMStringList domStringListFunction(in DOMStringList values) raises(DOMException);
 #endif
@@ -296,12 +262,4 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
 
     attribute long? nullableStringValue
         getter raises(DOMException);
-
-#if defined(TESTING_V8)
-    [V8PerWorldBindings] readonly attribute TestObj perWorldReadOnlyAttribute;
-    [V8PerWorldBindings] attribute TestObj perWorldAttribute;
-    [V8PerWorldBindings] void perWorldMethod();
-    [V8PerWorldBindings] void overloadedPerWorldMethod(in long longArg);
-    [V8PerWorldBindings] void overloadedPerWorldMethod(in DOMString strArg, in long longArg);
-#endif
 };
index 02dcee0..0f0b813 100644 (file)
@@ -30,7 +30,6 @@
 
 [
     Conditional=FONT_LOAD_EVENTS,
-    V8EnabledAtRuntime=fontLoadEvents,
     JSNoStaticTables,
     ConstructorTemplate=Event
 ] interface CSSFontFaceLoadEvent : Event {
index 9957978..ad803b6 100644 (file)
@@ -21,7 +21,6 @@
 // Introduced in Shadow DOM spec:
 [
     Conditional=SHADOW_DOM,
-    V8EnabledAtRuntime=shadowDOM
 ] interface CSSHostRule : CSSRule {
     readonly attribute CSSRuleList cssRules;
     
index 4c18e52..d42d484 100644 (file)
@@ -25,8 +25,6 @@
     JSGenerateIsReachable,
     CustomToJSObject,
     ObjCPolymorphic,
-    V8DependentLifetime,
-    V8SkipVTableValidation
 ] interface CSSRule {
 
     // RuleType
index 683b655..688ba2e 100644 (file)
@@ -27,8 +27,6 @@
 [
     JSCustomIsReachable,
     IndexedGetter,
-    V8DependentLifetime,
-    V8SkipVTableValidation
 ] interface CSSRuleList {
     readonly attribute unsigned long    length;
     CSSRule           item(in [Optional=DefaultIsUndefined] unsigned long index);
index ba544ac..efd8f62 100644 (file)
     JSGenerateIsReachable,
     JSCustomGetOwnPropertySlotAndDescriptor,
     CustomNamedSetter,
-#if defined(V8_BINDING) && V8_BINDING
-    NamedGetter,
-#endif
     IndexedGetter,
     CustomEnumerateProperty,
-    V8DependentLifetime,
-    V8SkipVTableValidation
 ] interface CSSStyleDeclaration {
              [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString        cssText
                  setter raises(DOMException);
index 69843e4..6afb1ea 100644 (file)
@@ -19,9 +19,7 @@
  */
 
 // Introduced in DOM Level 2:
-[
-    V8GenerateIsReachable=ImplOwnerNodeRoot
-] interface CSSStyleSheet : StyleSheet {
+interface CSSStyleSheet : StyleSheet {
     readonly attribute CSSRule          ownerRule;
     readonly attribute CSSRuleList      cssRules;
 
index b961037..1ddaf99 100644 (file)
@@ -23,7 +23,6 @@
     JSCustomIsReachable,
     JSCustomFinalize,
     ObjCPolymorphic,
-    V8DependentLifetime,
     ImplementationLacksVTable
 ] interface CSSValue {
 
index 3b1f8a2..da296e6 100644 (file)
@@ -30,7 +30,6 @@
 
 [
     Conditional=FONT_LOAD_EVENTS,
-    V8EnabledAtRuntime=fontLoadEvents,
     ActiveDOMObject,
     EventTarget,
     GenerateIsReachable=ImplDocument,
index 9d6d845..4901c41 100644 (file)
@@ -25,7 +25,6 @@
     JSGenerateIsReachable,
     CustomToJSObject,
     ObjCPolymorphic,
-    V8GenerateIsReachable=ImplOwnerNodeRoot
 ] interface StyleSheet {
     [TreatReturnedNullStringAs=Null] readonly attribute DOMString        type;
              attribute boolean          disabled;
index 8192f29..3ea6ef2 100644 (file)
@@ -29,7 +29,6 @@
 
 [
     Conditional=CSS_REGIONS,
-    V8EnabledAtRuntime=cssRegions,
 ] interface WebKitCSSRegionRule : CSSRule {
     readonly attribute CSSRuleList cssRules;
 };
index b85235e..8061699 100644 (file)
@@ -26,9 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-[
-    V8SkipVTableValidation
-] interface Clipboard {
+interface Clipboard {
              [TreatReturnedNullStringAs=Undefined] attribute DOMString dropEffect;
              [TreatReturnedNullStringAs=Undefined] attribute DOMString effectAllowed;
     [CustomGetter] readonly attribute Array types;
@@ -41,6 +39,6 @@
     [Custom] void setDragImage(in HTMLImageElement image, in long x, in long y)
         raises(DOMException);
 
-    [Conditional=DATA_TRANSFER_ITEMS, V8EnabledAtRuntime=DataTransferItems] readonly attribute DataTransferItemList items;
+    [Conditional=DATA_TRANSFER_ITEMS] readonly attribute DataTransferItemList items;
 };
 
index 47c530f..42a9d7c 100644 (file)
@@ -24,8 +24,6 @@
 
 [
     Conditional=CUSTOM_ELEMENTS,
-    V8EnabledAtRuntime=customDOMElements,
-    V8WrapAsFunction,
     CustomCall
 ] interface CustomElementConstructor {
 };
index 58b81d3..8626a01 100644 (file)
@@ -28,7 +28,7 @@
 [
     ConstructorTemplate=Event
 ] interface CustomEvent : Event {
-    [InitializedByEventConstructor, V8Custom] readonly attribute any detail;
+    [InitializedByEventConstructor] readonly attribute any detail;
 
     void initCustomEvent(in [Optional=DefaultIsUndefined] DOMString typeArg, 
                          in [Optional=DefaultIsUndefined] boolean canBubbleArg, 
index f2d1578..6e824ff 100644 (file)
@@ -8,3 +8,4 @@ SQLException conditional=SQL_DATABASE
 SVGException conditional=SVG
 XMLHttpRequestException
 XPathException
+
index b546ddc..035a441 100644 (file)
@@ -29,7 +29,6 @@
 
 [
     Conditional=CSS_REGIONS,
-    V8EnabledAtRuntime=cssRegions,
     InterfaceName=WebKitNamedFlowCollection,
     JSGenerateToJSObject,
     IndexedGetter,
index ff1c4d4..9b25324 100644 (file)
@@ -29,7 +29,6 @@
     CustomDeleteProperty,
     CustomEnumerateProperty,
     CustomNamedSetter,
-    V8SkipVTableValidation
 ] interface DOMStringMap {
 };
 
index e65336a..042f11e 100644 (file)
@@ -32,9 +32,6 @@
     Conditional=DATA_TRANSFER_ITEMS,
     IndexedGetter,
     JSGenerateToNativeObject,
-#if defined(V8_BINDING) && V8_BINDING
-    CustomDeleteProperty,
-#endif
     ImplementationLacksVTable
 ] interface DataTransferItemList {
     readonly attribute long length;
index 391a5ed..1aaf96a 100644 (file)
     readonly attribute DOMImplementation implementation;
     readonly attribute Element documentElement;
 
-    [ReturnNewObject, V8DeliverCustomElementCallbacks, V8PerWorldBindings]
+    [ReturnNewObject]
     Element createElement(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMString tagName)
         raises (DOMException);
     DocumentFragment   createDocumentFragment();
-    [ReturnNewObject, V8PerWorldBindings] Text createTextNode(in [Optional=DefaultIsUndefined] DOMString data);
+    [ReturnNewObject] Text createTextNode(in [Optional=DefaultIsUndefined] DOMString data);
     [ReturnNewObject] Comment createComment(in [Optional=DefaultIsUndefined] DOMString data);
     [ReturnNewObject] CDATASection createCDATASection(in [Optional=DefaultIsUndefined] DOMString data)
         raises(DOMException);
         raises (DOMException);
     [ReturnNewObject] EntityReference createEntityReference(in [Optional=DefaultIsUndefined] DOMString name)
         raises(DOMException);
-    [V8PerWorldBindings] NodeList           getElementsByTagName(in [Optional=DefaultIsUndefined] DOMString tagname);
+    NodeList getElementsByTagName(in [Optional=DefaultIsUndefined] DOMString tagname);
 
     // Introduced in DOM Level 2:
 
-    [ObjCLegacyUnnamedParameters, ReturnNewObject, V8DeliverCustomElementCallbacks]
+    [ObjCLegacyUnnamedParameters, ReturnNewObject]
     Node importNode(in [Optional=DefaultIsUndefined] Node importedNode,
                     in [Optional] boolean deep)
         raises (DOMException);
-    [ObjCLegacyUnnamedParameters, ReturnNewObject, V8DeliverCustomElementCallbacks]
+    [ObjCLegacyUnnamedParameters, ReturnNewObject]
     Element createElementNS(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMString namespaceURI,
                             in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMString qualifiedName)
         raises (DOMException);
@@ -61,7 +61,7 @@
         raises (DOMException);
     [ObjCLegacyUnnamedParameters] NodeList getElementsByTagNameNS(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMString namespaceURI,
                                                    in [Optional=DefaultIsUndefined] DOMString localName);
-    [V8PerWorldBindings] Element            getElementById(in [Optional=DefaultIsUndefined] DOMString elementId);
+    Element getElementById(in [Optional=DefaultIsUndefined] DOMString elementId);
 
     // DOM Level 3 Core
 
                                                     in [Optional=DefaultIsUndefined] XPathNSResolver resolver)
         raises(DOMException);
     XPathNSResolver    createNSResolver(in Node nodeResolver);
-    [ObjCLegacyUnnamedParameters, V8Custom] XPathResult evaluate(in [Optional=DefaultIsUndefined] DOMString expression,
+    [ObjCLegacyUnnamedParameters] XPathResult evaluate(in [Optional=DefaultIsUndefined] DOMString expression,
                                                   in [Optional=DefaultIsUndefined] Node contextNode,
                                                   in [Optional=DefaultIsUndefined] XPathNSResolver resolver,
                                                   in [Optional=DefaultIsUndefined] unsigned short type,
         raises(DOMException);
 
     // Common extensions
-    [V8DeliverCustomElementCallbacks]
     boolean            execCommand(in [Optional=DefaultIsUndefined] DOMString command,
                                    in [Optional=DefaultIsUndefined] boolean userInterface,
                                    in [TreatNullAs=NullString, TreatUndefinedAs=NullString,Optional=DefaultIsUndefined] DOMString value);
     readonly attribute HTMLCollection anchors;
     readonly attribute DOMString lastModified;
 
-    [V8PerWorldBindings] NodeList getElementsByName(in [Optional=DefaultIsUndefined] DOMString elementName);
+    NodeList getElementsByName(in [Optional=DefaultIsUndefined] DOMString elementName);
 
 #if defined(ENABLE_MICRODATA) && ENABLE_MICRODATA
     NodeList getItems(in [TreatNullAs=NullString, TreatUndefinedAs=NullString, Optional=DefaultIsUndefined] DOMString typeNames);
 
 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API
     // Mozilla version
-    [V8EnabledAtRuntime] readonly attribute boolean webkitIsFullScreen;
-    [V8EnabledAtRuntime] readonly attribute boolean webkitFullScreenKeyboardInputAllowed;
-    [V8EnabledAtRuntime] readonly attribute Element webkitCurrentFullScreenElement;
-    [V8EnabledAtRuntime] void webkitCancelFullScreen();
+    readonly attribute boolean webkitIsFullScreen;
+    readonly attribute boolean webkitFullScreenKeyboardInputAllowed;
+    readonly attribute Element webkitCurrentFullScreenElement;
+    void webkitCancelFullScreen();
 
     // W3C version
-    [V8EnabledAtRuntime] readonly attribute boolean webkitFullscreenEnabled;
-    [V8EnabledAtRuntime] readonly attribute Element webkitFullscreenElement;
-    [V8EnabledAtRuntime] void webkitExitFullscreen();
+    readonly attribute boolean webkitFullscreenEnabled;
+    readonly attribute Element webkitFullscreenElement;
+    void webkitExitFullscreen();
 #endif
 
     [Conditional=POINTER_LOCK] void webkitExitPointerLock();
     [Conditional=POINTER_LOCK] readonly attribute Element webkitPointerLockElement;
 
-    [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] DOMNamedFlowCollection webkitGetNamedFlows();
+    [Conditional=CSS_REGIONS] DOMNamedFlowCollection webkitGetNamedFlows();
 
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
-    [Conditional=FONT_LOAD_EVENTS, V8EnabledAtRuntime=fontLoadEvents] readonly attribute FontLoader fontloader;
+    [Conditional=FONT_LOAD_EVENTS] readonly attribute FontLoader fontloader;
 #endif
 
 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
     [NotEnumerable] attribute EventListener onsearch;
     [NotEnumerable] attribute EventListener onselectstart;
     [NotEnumerable] attribute EventListener onselectionchange;
-    [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch] attribute EventListener ontouchstart;
-    [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch] attribute EventListener ontouchmove;
-    [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch] attribute EventListener ontouchend;
-    [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch] attribute EventListener ontouchcancel;
+    [NotEnumerable,Conditional=TOUCH_EVENTS] attribute EventListener ontouchstart;
+    [NotEnumerable,Conditional=TOUCH_EVENTS] attribute EventListener ontouchmove;
+    [NotEnumerable,Conditional=TOUCH_EVENTS] attribute EventListener ontouchend;
+    [NotEnumerable,Conditional=TOUCH_EVENTS] attribute EventListener ontouchcancel;
     [NotEnumerable, Conditional=FULLSCREEN_API] attribute EventListener onwebkitfullscreenchange;
     [NotEnumerable, Conditional=FULLSCREEN_API] attribute EventListener onwebkitfullscreenerror;
     [NotEnumerable, Conditional=POINTER_LOCK] attribute EventListener onwebkitpointerlockchange;
     [NotEnumerable, Conditional=POINTER_LOCK] attribute EventListener onwebkitpointerlockerror;
-    [NotEnumerable, Conditional=CSP_NEXT, V8EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute EventListener onsecuritypolicyviolation;
+    [NotEnumerable, Conditional=CSP_NEXT] attribute EventListener onsecuritypolicyviolation;
 #endif
 
 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
-    [ReturnNewObject, V8EnabledAtRuntime=touch] Touch createTouch(in [Optional=DefaultIsUndefined] DOMWindow window,
+    [ReturnNewObject] Touch createTouch(in [Optional=DefaultIsUndefined] DOMWindow window,
                                                      in [Optional=DefaultIsUndefined] EventTarget target,
                                                      in [Optional=DefaultIsUndefined] long identifier,
                                                      in [Optional=DefaultIsUndefined] long pageX,
                                                      in [Optional=DefaultIsUndefined] float webkitRotationAngle,
                                                      in [Optional=DefaultIsUndefined] float webkitForce)
         raises (DOMException);
-    [ReturnNewObject, V8EnabledAtRuntime=touch, Custom] TouchList createTouchList()
+    [ReturnNewObject, Custom] TouchList createTouchList()
         raises (DOMException);
 #endif
 
 #if defined(ENABLE_CUSTOM_ELEMENTS) && ENABLE_CUSTOM_ELEMENTS
-    [V8EnabledAtRuntime=customDOMElements, Conditional=CUSTOM_ELEMENTS, ImplementedAs=registerElement, CallWith=ScriptState, V8DeliverCustomElementCallbacks]
+    [Conditional=CUSTOM_ELEMENTS, ImplementedAs=registerElement, CallWith=ScriptState]
     CustomElementConstructor webkitRegister(in DOMString name, in [Optional] Dictionary options) raises(DOMException);
-    [ReturnNewObject, V8DeliverCustomElementCallbacks, V8PerWorldBindings]
+    [ReturnNewObject]
     Element createElement(in DOMString localName, in [TreatNullAs=NullString] DOMString typeExtension) raises (DOMException);
-    [ReturnNewObject, V8DeliverCustomElementCallbacks]
+    [ReturnNewObject]
     Element createElementNS(in [TreatNullAs=NullString] DOMString namespaceURI, in DOMString qualifiedName,
                             in [TreatNullAs=NullString] DOMString typeExtension) raises (DOMException);
 #endif
     [Conditional=PAGE_VISIBILITY_API] readonly attribute boolean webkitHidden;
 
     // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#script-interfaces
-    [Conditional=CSP_NEXT, V8EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attribute DOMSecurityPolicy securityPolicy;
+    [Conditional=CSP_NEXT] readonly attribute DOMSecurityPolicy securityPolicy;
 
 };
 
index 191311e..bcf035c 100644 (file)
@@ -17,9 +17,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-[
-    V8SkipVTableValidation
-] interface DocumentFragment : Node {
+interface DocumentFragment : Node {
     // NodeSelector - Selector API
     Element querySelector(in DOMString selectors)
         raises(DOMException);
index 38806da..0286679 100644 (file)
 [
     JSGenerateToNativeObject,
     JSInlineGetOwnPropertySlot,
-    V8CustomToJSObject,
-    V8SkipVTableValidation
 ] interface Element : Node {
 
     // DOM Level 1 Core
 
-    [TreatReturnedNullStringAs=Null, V8PerWorldBindings] readonly attribute DOMString tagName;
+    [TreatReturnedNullStringAs=Null] readonly attribute DOMString tagName;
 
     [TreatReturnedNullStringAs=Null] DOMString getAttribute(in [Optional=DefaultIsUndefined] DOMString name);
     [ObjCLegacyUnnamedParameters] void setAttribute(in [Optional=DefaultIsUndefined] DOMString name,
         raises(DOMException);
     Attr removeAttributeNode(in [Optional=DefaultIsUndefined] Attr oldAttr)
         raises(DOMException);
-    [V8PerWorldBindings] NodeList getElementsByTagName(in [Optional=DefaultIsUndefined] DOMString name);
+    NodeList getElementsByTagName(in [Optional=DefaultIsUndefined] DOMString name);
 
 #if !defined(LANGUAGE_OBJECTIVE_C)
     // For ObjC this is defined on Node for legacy support.
-    [V8PerWorldBindings] readonly attribute NamedNodeMap     attributes;
+    readonly attribute NamedNodeMap     attributes;
     boolean            hasAttributes();
 #endif
 
     [ObjCLegacyUnnamedParameters] boolean hasAttributeNS(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMString namespaceURI,
                                           in [Optional=DefaultIsUndefined] DOMString localName);
 
-    [V8PerWorldBindings] readonly attribute CSSStyleDeclaration style;
+    readonly attribute CSSStyleDeclaration style;
 
     // Common extensions
 
-    [V8PerWorldBindings] readonly attribute long offsetLeft;
-    [V8PerWorldBindings] readonly attribute long offsetTop;
-    [V8PerWorldBindings] readonly attribute long offsetWidth;
-    [V8PerWorldBindings] readonly attribute long offsetHeight;
-    [ImplementedAs=bindingsOffsetParent, V8PerWorldBindings] readonly attribute Element offsetParent;
-    [V8PerWorldBindings] readonly attribute long clientLeft;
-    [V8PerWorldBindings] readonly attribute long clientTop;
-    [V8PerWorldBindings] readonly attribute long clientWidth;
-    [V8PerWorldBindings] readonly attribute long clientHeight;
-             [V8PerWorldBindings] attribute long scrollLeft;
-             [V8PerWorldBindings] attribute long scrollTop;
-    [V8PerWorldBindings] readonly attribute long scrollWidth;
-    [V8PerWorldBindings] readonly attribute long scrollHeight;
+    readonly attribute long offsetLeft;
+    readonly attribute long offsetTop;
+    readonly attribute long offsetWidth;
+    readonly attribute long offsetHeight;
+    [ImplementedAs=bindingsOffsetParent] readonly attribute Element offsetParent;
+    readonly attribute long clientLeft;
+    readonly attribute long clientTop;
+    readonly attribute long clientWidth;
+    readonly attribute long clientHeight;
+    attribute long scrollLeft;
+    attribute long scrollTop;
+    readonly attribute long scrollWidth;
+    readonly attribute long scrollHeight;
 
     void focus();
     void blur();
     // HTML 5
     NodeList getElementsByClassName(in [Optional=DefaultIsUndefined] DOMString name);
 
-    [Reflect=class, V8PerWorldBindings] attribute DOMString className;
-    [V8PerWorldBindings] readonly attribute DOMTokenList classList;
+    [Reflect=class] attribute DOMString className;
+    readonly attribute DOMTokenList classList;
 
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
-    [V8PerWorldBindings] readonly attribute DOMStringMap dataset;
+    readonly attribute DOMStringMap dataset;
 #endif
 
     // NodeSelector - Selector API
         raises(DOMException);
 
     // ElementTraversal API
-    [V8PerWorldBindings] readonly attribute Element firstElementChild;
-    [V8PerWorldBindings] readonly attribute Element lastElementChild;
-    [V8PerWorldBindings] readonly attribute Element previousElementSibling;
-    [V8PerWorldBindings] readonly attribute Element nextElementSibling;
-    [V8PerWorldBindings] readonly attribute unsigned long childElementCount;
+    readonly attribute Element firstElementChild;
+    readonly attribute Element lastElementChild;
+    readonly attribute Element previousElementSibling;
+    readonly attribute Element nextElementSibling;
+    readonly attribute unsigned long childElementCount;
 
     // ShadowAware API
 #if defined(ENABLE_SHADOW_DOM) && ENABLE_SHADOW_DOM && defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
-    [Reflect=pseudo, V8EnabledAtRuntime=shadowDOM, ImplementedAs=pseudo, V8PerWorldBindings] attribute DOMString webkitPseudo;
-    [V8EnabledAtRuntime=shadowDOM, ImplementedAs=createShadowRoot] ShadowRoot webkitCreateShadowRoot() raises(DOMException);
-    [V8EnabledAtRuntime=shadowDOM, ImplementedAs=shadowRoot, V8PerWorldBindings] readonly attribute ShadowRoot webkitShadowRoot;
-    [V8EnabledAtRuntime=shadowDOM, ImplementedAs=insertionParentForBinding, V8PerWorldBindings] readonly attribute Node webkitInsertionParent;
+    [Reflect=pseudo, ImplementedAs=pseudo] attribute DOMString webkitPseudo;
+    [ImplementedAs=createShadowRoot] ShadowRoot webkitCreateShadowRoot() raises(DOMException);
+    [ImplementedAs=shadowRoot] readonly attribute ShadowRoot webkitShadowRoot;
+    [ImplementedAs=insertionParentForBinding] readonly attribute Node webkitInsertionParent;
 #endif
 
     // DOM 4
 
 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
     // Objective-C extensions
-    [V8PerWorldBindings] readonly attribute DOMString innerText;
+    readonly attribute DOMString innerText;
 #endif
 
 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API
     // Mozilla version
     const unsigned short ALLOW_KEYBOARD_INPUT = 1;
-    [V8EnabledAtRuntime] void webkitRequestFullScreen(in [Optional=DefaultIsUndefined] unsigned short flags);
+    void webkitRequestFullScreen(in [Optional=DefaultIsUndefined] unsigned short flags);
 
     // W3C version
-    [V8EnabledAtRuntime] void webkitRequestFullscreen();
+    void webkitRequestFullscreen();
 #endif
 
     [Conditional=POINTER_LOCK] void webkitRequestPointerLock();
 
     // CSS Regions API
-    [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions, V8PerWorldBindings] readonly attribute DOMString webkitRegionOverset;
-    [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] sequence<Range> webkitGetRegionFlowRanges();
+    [Conditional=CSS_REGIONS] readonly attribute DOMString webkitRegionOverset;
+    [Conditional=CSS_REGIONS] sequence<Range> webkitGetRegionFlowRanges();
 
 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
     // Event handler DOM attributes
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onabort;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onblur;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onchange;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onclick;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener oncontextmenu;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener ondblclick;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener ondrag;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener ondragend;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener ondragenter;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener ondragleave;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener ondragover;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener ondragstart;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener ondrop;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onerror;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onfocus;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener oninput;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener oninvalid;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onkeydown;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onkeypress;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onkeyup;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onload;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onmousedown;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onmousemove;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onmouseout;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onmouseover;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onmouseup;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onmousewheel;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onscroll;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onselect;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onsubmit;
+    [NotEnumerable] attribute EventListener onabort;
+    [NotEnumerable] attribute EventListener onblur;
+    [NotEnumerable] attribute EventListener onchange;
+    [NotEnumerable] attribute EventListener onclick;
+    [NotEnumerable] attribute EventListener oncontextmenu;
+    [NotEnumerable] attribute EventListener ondblclick;
+    [NotEnumerable] attribute EventListener ondrag;
+    [NotEnumerable] attribute EventListener ondragend;
+    [NotEnumerable] attribute EventListener ondragenter;
+    [NotEnumerable] attribute EventListener ondragleave;
+    [NotEnumerable] attribute EventListener ondragover;
+    [NotEnumerable] attribute EventListener ondragstart;
+    [NotEnumerable] attribute EventListener ondrop;
+    [NotEnumerable] attribute EventListener onerror;
+    [NotEnumerable] attribute EventListener onfocus;
+    [NotEnumerable] attribute EventListener oninput;
+    [NotEnumerable] attribute EventListener oninvalid;
+    [NotEnumerable] attribute EventListener onkeydown;
+    [NotEnumerable] attribute EventListener onkeypress;
+    [NotEnumerable] attribute EventListener onkeyup;
+    [NotEnumerable] attribute EventListener onload;
+    [NotEnumerable] attribute EventListener onmousedown;
+    [NotEnumerable] attribute EventListener onmousemove;
+    [NotEnumerable] attribute EventListener onmouseout;
+    [NotEnumerable] attribute EventListener onmouseover;
+    [NotEnumerable] attribute EventListener onmouseup;
+    [NotEnumerable] attribute EventListener onmousewheel;
+    [NotEnumerable] attribute EventListener onscroll;
+    [NotEnumerable] attribute EventListener onselect;
+    [NotEnumerable] attribute EventListener onsubmit;
 
     // attribute [NotEnumerable] EventListener oncanplay;
     // attribute [NotEnumerable] EventListener oncanplaythrough;
     // attribute [NotEnumerable] EventListener onwaiting;
 
     // WebKit extensions
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onbeforecut;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener oncut;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onbeforecopy;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener oncopy;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onbeforepaste;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onpaste;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onreset;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onsearch;
-    [NotEnumerable, V8PerWorldBindings] attribute EventListener onselectstart;
-    [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorldBindings] attribute EventListener ontouchstart;
-    [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorldBindings] attribute EventListener ontouchmove;
-    [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorldBindings] attribute EventListener ontouchend;
-    [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorldBindings] attribute EventListener ontouchcancel;
-    [NotEnumerable, Conditional=FULLSCREEN_API, V8PerWorldBindings] attribute EventListener onwebkitfullscreenchange;
-    [NotEnumerable, Conditional=FULLSCREEN_API, V8PerWorldBindings] attribute EventListener onwebkitfullscreenerror;
+    [NotEnumerable] attribute EventListener onbeforecut;
+    [NotEnumerable] attribute EventListener oncut;
+    [NotEnumerable] attribute EventListener onbeforecopy;
+    [NotEnumerable] attribute EventListener oncopy;
+    [NotEnumerable] attribute EventListener onbeforepaste;
+    [NotEnumerable] attribute EventListener onpaste;
+    [NotEnumerable] attribute EventListener onreset;
+    [NotEnumerable] attribute EventListener onsearch;
+    [NotEnumerable] attribute EventListener onselectstart;
+    [NotEnumerable,Conditional=TOUCH_EVENTS] attribute EventListener ontouchstart;
+    [NotEnumerable,Conditional=TOUCH_EVENTS] attribute EventListener ontouchmove;
+    [NotEnumerable,Conditional=TOUCH_EVENTS] attribute EventListener ontouchend;
+    [NotEnumerable,Conditional=TOUCH_EVENTS] attribute EventListener ontouchcancel;
+    [NotEnumerable, Conditional=FULLSCREEN_API] attribute EventListener onwebkitfullscreenchange;
+    [NotEnumerable, Conditional=FULLSCREEN_API] attribute EventListener onwebkitfullscreenerror;
 #endif
 };
 
index 7a75193..ad22796 100644 (file)
@@ -24,7 +24,6 @@
     ConstructorTemplate=Event,
     JSNoStaticTables,
     ObjCPolymorphic,
-    V8SkipVTableValidation
 ] interface Event {
 
     // DOM PhaseType
index 124ef53..ebb7a21 100644 (file)
@@ -58,3 +58,4 @@ TrackEvent conditional=VIDEO_TRACK
 AutocompleteErrorEvent conditional=REQUEST_AUTOCOMPLETE
 CSSFontFaceLoadEvent conditional=FONT_LOAD_EVENTS
 SecurityPolicyViolationEvent conditional=CSP_NEXT
+
index b7fe772..c97681d 100644 (file)
@@ -25,7 +25,6 @@
     OmitConstructor,
     CustomToJSObject,
     JSCustomToNativeObject,
-    V8NoWrapperCache,
     EventTarget
 ] interface EventTarget {
     [ObjCLegacyUnnamedParameters] void addEventListener(in DOMString type, 
index a0c0144..476d1b5 100644 (file)
@@ -42,3 +42,4 @@ WebSocket conditional=WEB_SOCKETS
 Worker conditional=WORKERS
 XMLHttpRequest
 XMLHttpRequestUpload
+
index 103014d..064369e 100644 (file)
@@ -27,7 +27,6 @@
 [
     Constructor,
     CallWith=ScriptExecutionContext,
-    V8CustomConstructor,
     JSCustomMarkFunction,
     JSNoStaticTables,
     ImplementationLacksVTable
index bb523fb..c2609d4 100644 (file)
@@ -20,7 +20,6 @@
 [
     ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR,
     ConstructorTemplate=Event,
-    V8SkipVTableValidation
 ] interface MouseEvent : UIEvent {
     [InitializedByEventConstructor] readonly attribute long             screenX;
     [InitializedByEventConstructor] readonly attribute long             screenY;
index bb9ea05..f2813da 100644 (file)
@@ -28,9 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-[
-    V8SkipVTableValidation
-] interface MutationRecord {
+interface MutationRecord {
     readonly attribute DOMString type;
     readonly attribute Node target;
 
index 8e04793..f374dc2 100644 (file)
@@ -22,7 +22,6 @@
     GenerateIsReachable=ImplElementRoot,
     IndexedGetter,
     NamedGetter,
-    V8CustomIndexedGetter,
     ImplementationLacksVTable
 ] interface NamedNodeMap {
 
index 5ddfbec..61f75df 100644 (file)
@@ -29,7 +29,6 @@
     JSGenerateToNativeObject,
     JSInlineGetOwnPropertySlot,
     ObjCPolymorphic,
-    V8DependentLifetime
 ] interface Node
 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
     : Object, EventTarget
     const unsigned short      DOCUMENT_FRAGMENT_NODE         = 11;
     const unsigned short      NOTATION_NODE                  = 12;
 
-    readonly attribute [TreatReturnedNullStringAs=Null, V8PerWorldBindings] DOMString        nodeName;
+    readonly attribute [TreatReturnedNullStringAs=Null] DOMString        nodeName;
 
              // FIXME: the spec says this can also raise on retrieval.
-             attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, V8PerWorldBindings] DOMString        nodeValue
+             attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString        nodeValue
                  setter raises(DOMException);
 
-    readonly attribute [V8PerWorldBindings] unsigned short   nodeType;
-    readonly attribute [V8PerWorldBindings] Node             parentNode;
-    readonly attribute [V8PerWorldBindings] NodeList         childNodes;
-    readonly attribute [V8PerWorldBindings] Node             firstChild;
-    readonly attribute [V8PerWorldBindings] Node             lastChild;
-    readonly attribute [V8PerWorldBindings] Node             previousSibling;
-    readonly attribute [V8PerWorldBindings] Node             nextSibling;
-    readonly attribute [V8PerWorldBindings] Document         ownerDocument;
+    readonly attribute unsigned short   nodeType;
+    readonly attribute Node             parentNode;
+    readonly attribute NodeList         childNodes;
+    readonly attribute Node             firstChild;
+    readonly attribute Node             lastChild;
+    readonly attribute Node             previousSibling;
+    readonly attribute Node             nextSibling;
+    readonly attribute Document         ownerDocument;
 
-    [ObjCLegacyUnnamedParameters, Custom, V8PerWorldBindings] Node insertBefore(in [CustomReturn] Node newChild,
+    [ObjCLegacyUnnamedParameters, Custom] Node insertBefore(in [CustomReturn] Node newChild,
                                                             in Node refChild)
         raises(DOMException);
     [ObjCLegacyUnnamedParameters, Custom] Node replaceChild(in Node newChild,
                                                             in [CustomReturn] Node oldChild)
         raises(DOMException);
-    [Custom, V8PerWorldBindings] Node removeChild(in [CustomReturn] Node oldChild)
+    [Custom] Node removeChild(in [CustomReturn] Node oldChild)
         raises(DOMException);
-    [Custom, V8PerWorldBindings] Node appendChild(in [CustomReturn] Node newChild)
+    [Custom] Node appendChild(in [CustomReturn] Node newChild)
         raises(DOMException);
 
     boolean            hasChildNodes();
-    [V8DeliverCustomElementCallbacks, V8PerWorldBindings]
     Node               cloneNode(in [Optional=DefaultIsUndefined] boolean deep);
     void               normalize();
 
     [ObjCLegacyUnnamedParameters] boolean isSupported(in [Optional=DefaultIsUndefined] DOMString feature, 
                                        in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMString version);
 
-    readonly attribute [TreatReturnedNullStringAs=Null, V8PerWorldBindings] DOMString        namespaceURI;
-             attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, V8PerWorldBindings] DOMString        prefix
+    readonly attribute [TreatReturnedNullStringAs=Null] DOMString        namespaceURI;
+             attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString        prefix
                  setter raises(DOMException);
-    readonly attribute [TreatReturnedNullStringAs=Null, V8PerWorldBindings] DOMString        localName;
+    readonly attribute [TreatReturnedNullStringAs=Null] DOMString        localName;
 
 #if defined(LANGUAGE_OBJECTIVE_C)
-    readonly attribute [V8PerWorldBindings] NamedNodeMap     attributes;
+    readonly attribute NamedNodeMap     attributes;
     boolean            hasAttributes();
 #endif
 
 
     // Introduced in DOM Level 3:
 
-    readonly attribute [TreatReturnedNullStringAs=Null, V8PerWorldBindings] DOMString       baseURI;
+    readonly attribute [TreatReturnedNullStringAs=Null] DOMString       baseURI;
 
              // FIXME: the spec says this can also raise on retrieval.
-             attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, V8PerWorldBindings] DOMString       textContent
+             attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString       textContent
                  setter raises(DOMException);
 
     boolean            isSameNode(in [Optional=DefaultIsUndefined] Node other);
     boolean contains(in [Optional=DefaultIsUndefined] Node other);
 
     // IE extensions
-    readonly attribute [V8PerWorldBindings] Element          parentElement;
+    readonly attribute Element          parentElement;
 
 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
     // Objective-C extensions
-    readonly attribute [V8PerWorldBindings] boolean          isContentEditable;
+    readonly attribute boolean          isContentEditable;
 
     void inspect();
 #endif /* defined(LANGUAGE_OBJECTIVE_C) */
index 9a71212..d1bc4de 100644 (file)
@@ -22,8 +22,6 @@
     CustomIsReachable,
     IndexedGetter,
     NamedGetter,
-    V8DependentLifetime,
-    V8SkipVTableValidation
 ] interface NodeList {
 
     Node item(in [IsIndex,Optional=DefaultIsUndefined] unsigned long index);
index b4347cf..f251f3d 100644 (file)
 ] interface RequestAnimationFrameCallback{
     // highResTime is passed as high resolution timestamp, see
     // http://www.w3.org/TR/hr-time/ for details.
-#if defined(V8_BINDING) && V8_BINDING
-    boolean handleEvent(in double highResTime);
-#else
     [Custom] boolean handleEvent(in double highResTime);
-#endif
-
 };
index 5b35e9f..9ab1d6e 100644 (file)
@@ -32,7 +32,7 @@
     attribute boolean applyAuthorStyles;
     attribute boolean resetStyleInheritance;
 
-    [TreatNullAs=NullString, V8DeliverCustomElementCallbacks]
+    [TreatNullAs=NullString]
     attribute DOMString innerHTML setter raises(DOMException);
 
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
index b8e602b..e73931f 100644 (file)
@@ -16,9 +16,8 @@
  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  * Boston, MA 02110-1301, USA.
  */
-[ 
-    V8SkipVTableValidation,
-] interface Text : CharacterData {
+
+interface Text : CharacterData {
 
     // DOM Level 1
 
@@ -31,7 +30,7 @@
                                         raises(DOMException);
     // ShadowAware API
 #if defined(ENABLE_SHADOW_DOM) && ENABLE_SHADOW_DOM && defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
-    [V8EnabledAtRuntime=shadowDOM, ImplementedAs=insertionParentForBinding, V8PerWorldBindings] readonly attribute Node webkitInsertionParent;
+    [ImplementedAs=insertionParentForBinding] readonly attribute Node webkitInsertionParent;
 #endif
 
 };
index a5d9500..6b5a658 100644 (file)
@@ -720,13 +720,8 @@ void HistoryItem::encodeBackForwardTreeNode(Encoder& encoder) const
     encoder.encodeFloat(m_pageScaleFactor);
 
     encoder.encodeBool(m_stateObject);
-    if (m_stateObject) {
-#if !USE(V8)
+    if (m_stateObject)
         encoder.encodeBytes(m_stateObject->data().data(), m_stateObject->data().size());
-#else
-        encoder.encodeString(m_stateObject->toWireString());
-#endif
-    }
 
     encoder.encodeString(m_target);
 }
@@ -832,17 +827,10 @@ resume:
     if (!decoder.decodeBool(hasStateObject))
         return 0;
     if (hasStateObject) {
-#if !USE(V8)
         Vector<uint8_t> bytes;
         if (!decoder.decodeBytes(bytes))
             return 0;
         node->m_stateObject = SerializedScriptValue::adopt(bytes);
-#else
-        String string;
-        if (!decoder.decodeString(string))
-            return 0;
-        node->m_stateObject = SerializedScriptValue::createFromWire(string);
-#endif
     }
 
     if (!decoder.decodeString(node->m_target))
index f3936e8..bcaa033 100644 (file)
@@ -25,7 +25,6 @@
 [
     IndexedGetter,
     JSGenerateToJSObject,
-    V8SkipVTableValidation
 ] interface DOMSettableTokenList : DOMTokenList {
     attribute DOMString value;
 };
index 5689dfa..d4e22bf 100644 (file)
@@ -25,7 +25,6 @@
 [
     GenerateIsReachable=ImplElementRoot,
     IndexedGetter,
-    V8SkipVTableValidation
 ] interface DOMTokenList {
     readonly attribute unsigned long length;
     [TreatReturnedNullStringAs=Null] DOMString item(in unsigned long index);
index fff6335..7a01084 100644 (file)
@@ -29,7 +29,6 @@
     CustomCall,
     MasqueradesAsUndefined,
     GenerateIsReachable=ImplOwnerNodeRoot,
-    V8DependentLifetime,
 ] interface HTMLAllCollection {
     readonly attribute unsigned long length;
     [Custom] Node item(in [Optional=DefaultIsUndefined] unsigned long index);
index 073cfd7..f80b11a 100644 (file)
@@ -21,7 +21,6 @@
 [
     CustomNamedSetter,
     JSCustomGetOwnPropertySlotAndDescriptor,
-    V8CustomIndexedGetter,
     CustomCall
 ] interface HTMLAppletElement : HTMLElement {
     [Reflect] attribute DOMString align;
index dd5acbc..06f82c9 100644 (file)
@@ -23,9 +23,7 @@
     NamedGetter,
     CustomToJSObject,
     GenerateIsReachable=ImplOwnerNodeRoot,
-    V8DependentLifetime,
     ObjCPolymorphic,
-    V8SkipVTableValidation
 ] interface HTMLCollection {
     readonly attribute unsigned long length;
     Node item(in [Optional=DefaultIsUndefined] unsigned long index);
index edc2ac2..e8755ea 100644 (file)
@@ -25,7 +25,6 @@
 
 [
     Conditional=DIALOG_ELEMENT,
-    V8SkipVTableValidation
 ] interface HTMLDialogElement : HTMLElement {
     [Reflect] attribute boolean open;
     void close() raises(DOMException);
index 5dd9acd..40c8db4 100644 (file)
@@ -17,9 +17,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-[
-    V8SkipVTableValidation
-] interface HTMLDivElement : HTMLElement {
+interface HTMLDivElement : HTMLElement {
     [Reflect] attribute DOMString align;
 };
 
index 07427cf..2e8d1ef 100644 (file)
 
 [
     CustomNamedGetter,
-    V8CustomToJSObject,
-    V8SkipVTableValidation
 ] interface HTMLDocument : Document {
-    [JSCustom, V8Custom] void open();
+    [JSCustom] void open();
     void close();
     [Custom] void write(in [Optional=DefaultIsUndefined] DOMString text);
     [Custom] void writeln(in [Optional=DefaultIsUndefined] DOMString text);
index 5b70e6c..7d6b0b1 100644 (file)
@@ -21,8 +21,6 @@
 [
     JSGenerateToNativeObject,
     JSCustomPushEventHandlerScope,
-    V8CustomToJSObject,
-    V8SkipVTableValidation
 ] interface HTMLElement : Element {
              // iht.com relies on id returning the empty string when no id is present. 
              // Other browsers do this as well. So we don't convert null to JS null.
              [Reflect] attribute DOMString accessKey;
 
     // Extensions
-             [TreatNullAs=NullString, V8DeliverCustomElementCallbacks] attribute DOMString innerHTML
+             [TreatNullAs=NullString] attribute DOMString innerHTML
                  setter raises(DOMException);
              [TreatNullAs=NullString] attribute DOMString innerText
                  setter raises(DOMException);
-             [TreatNullAs=NullString, V8DeliverCustomElementCallbacks] attribute DOMString outerHTML
+             [TreatNullAs=NullString] attribute DOMString outerHTML
                  setter raises(DOMException);
              [TreatNullAs=NullString] attribute DOMString outerText
                  setter raises(DOMException);
@@ -51,7 +49,6 @@
     Element insertAdjacentElement(in [Optional=DefaultIsUndefined] DOMString where,
                                   in [Optional=DefaultIsUndefined] Element element)
         raises(DOMException);
-    [V8DeliverCustomElementCallbacks]
     void insertAdjacentHTML(in [Optional=DefaultIsUndefined] DOMString where,
                             in [Optional=DefaultIsUndefined] DOMString html)
         raises(DOMException);
index efff092..7688bbc 100644 (file)
@@ -22,8 +22,6 @@
     CustomNamedSetter,
     JSCustomGetOwnPropertySlotAndDescriptor,
     CustomCall,
-    V8CustomIndexedGetter,
-    V8SkipVTableValidation
 ] interface HTMLEmbedElement : HTMLElement {
 attribute [Reflect] DOMString align;
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
index 001a3ee..da65ea3 100644 (file)
@@ -22,7 +22,6 @@
     IndexedGetter,
     NamedGetter,
     GenerateIsReachable=ImplOwnerNodeRoot,
-    V8DependentLifetime,
 ] interface HTMLFormControlsCollection : HTMLCollection {
     [Custom] Node namedItem(in [Optional=DefaultIsUndefined] DOMString name);
 };
index c57d859..77f147a 100644 (file)
@@ -20,7 +20,6 @@
 
 [
     IndexedGetter,
-    V8CustomIndexedGetter,
     CustomNamedGetter
 ] interface HTMLFormElement : HTMLElement {
     [Reflect=accept_charset] attribute DOMString acceptCharset;
@@ -45,8 +44,8 @@
     boolean checkValidity();
 
 #if defined(ENABLE_REQUEST_AUTOCOMPLETE) && ENABLE_REQUEST_AUTOCOMPLETE
-    [V8EnabledAtRuntime=requestAutocomplete] void requestAutocomplete();
-    [V8EnabledAtRuntime=requestAutocomplete,NotEnumerable] attribute EventListener onautocomplete;
-    [V8EnabledAtRuntime=requestAutocomplete,NotEnumerable] attribute EventListener onautocompleteerror;
+    void requestAutocomplete();
+    [NotEnumerable] attribute EventListener onautocomplete;
+    [NotEnumerable] attribute EventListener onautocompleteerror;
 #endif
 };
index 5ef7cde..7f81d98 100644 (file)
@@ -20,7 +20,6 @@
 
 [
     JSGenerateToNativeObject,
-    V8SkipVTableValidation
 ] interface HTMLImageElement : HTMLElement {
     [Reflect] attribute DOMString name;
     [Reflect] attribute DOMString align;
index 2e03551..1717800 100644 (file)
@@ -19,9 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-[
-    V8SkipVTableValidation
-] interface HTMLInputElement : HTMLElement {
+interface HTMLInputElement : HTMLElement {
     [Reflect] attribute DOMString accept;
     [Reflect] attribute DOMString alt;
     [Reflect] attribute DOMString autocomplete;
     [Conditional=DIRECTORY_UPLOAD, Reflect] attribute boolean webkitdirectory;
     [Reflect] attribute DOMString useMap;
     [Reflect] attribute boolean incremental;
-    [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] attribute boolean webkitSpeech;
-    [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] attribute boolean webkitGrammar;
+    [Conditional=INPUT_SPEECH, Reflect] attribute boolean webkitSpeech;
+    [Conditional=INPUT_SPEECH, Reflect] attribute boolean webkitGrammar;
     [Conditional=INPUT_SPEECH, NotEnumerable] attribute EventListener onwebkitspeechchange;
 
 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
index 939452d..920520b 100644 (file)
@@ -97,26 +97,26 @@ readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitAudioDecod
 readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitVideoDecodedByteCount;
 
 #if defined(ENABLE_ENCRYPTED_MEDIA) && ENABLE_ENCRYPTED_MEDIA
-[V8EnabledAtRuntime=encryptedMedia] void webkitGenerateKeyRequest(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional] Uint8Array initData)
+void webkitGenerateKeyRequest(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional] Uint8Array initData)
     raises (DOMException);
-[V8EnabledAtRuntime=encryptedMedia] void webkitAddKey(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in Uint8Array key, in [Optional] Uint8Array initData, in [Optional=DefaultIsNullString] DOMString sessionId)
+void webkitAddKey(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in Uint8Array key, in [Optional] Uint8Array initData, in [Optional=DefaultIsNullString] DOMString sessionId)
     raises (DOMException);
-[V8EnabledAtRuntime=encryptedMedia] void webkitCancelKeyRequest(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional=DefaultIsNullString] DOMString sessionId)
+void webkitCancelKeyRequest(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional=DefaultIsNullString] DOMString sessionId)
     raises (DOMException);
 
-    attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyadded;
-    attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyerror;
-    attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeymessage;
+    attribute EventListener onwebkitkeyadded;
+    attribute EventListener onwebkitkeyerror;
+    attribute EventListener onwebkitkeymessage;
 #endif
-    attribute [Conditional=ENCRYPTED_MEDIA|ENCRYPTED_MEDIA_V2, V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitneedkey;
+    attribute [Conditional=ENCRYPTED_MEDIA|ENCRYPTED_MEDIA_V2] EventListener onwebkitneedkey;
 #if defined(ENABLE_ENCRYPTED_MEDIA_V2) && ENABLE_ENCRYPTED_MEDIA_V2
-    attribute [V8EnabledAtRuntime=encryptedMedia] MediaKeys mediaKeys;
+    attribute MediaKeys mediaKeys;
 #endif
 
 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK
-[V8EnabledAtRuntime=webkitVideoTrack] TextTrack addTextTrack(in DOMString kind, in [Optional] DOMString label, in [Optional] DOMString language)
+TextTrack addTextTrack(in DOMString kind, in [Optional] DOMString label, in [Optional] DOMString language)
     raises (DOMException);
-readonly attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackList textTracks;
+readonly attribute TextTrackList textTracks;
 #endif
 
 [Reflect, TreatNullAs=NullString] attribute DOMString mediaGroup;
index a1d5873..624a692 100644 (file)
@@ -21,7 +21,6 @@
 [
     CustomNamedSetter,
     JSCustomGetOwnPropertySlotAndDescriptor,
-    V8CustomIndexedGetter,
     CustomCall
 ] interface HTMLObjectElement : HTMLElement {
     readonly attribute HTMLFormElement form;
index b240f24..5776977 100644 (file)
@@ -23,8 +23,6 @@
     CustomIndexedSetter,
     NamedGetter,
     GenerateIsReachable=ImplOwnerNodeRoot,
-    V8CustomIndexedGetter,
-    V8DependentLifetime,
 ] interface HTMLOptionsCollection : HTMLCollection {
     attribute long selectedIndex;
     [CustomSetter] attribute unsigned long length
index 74164a5..878c50c 100644 (file)
@@ -21,8 +21,6 @@
 [
     IndexedGetter,
     CustomIndexedSetter,
-    V8CustomIndexedGetter,
-    V8SkipVTableValidation
 ] interface HTMLSelectElement : HTMLElement {
     attribute [Reflect] boolean autofocus;
     attribute [Reflect] boolean disabled;
index 5924757..e47cfd7 100644 (file)
@@ -24,8 +24,6 @@
  */
 
 // http://www.whatwg.org/specs/web-apps/current-work/#htmlspanelement
-[
-    V8SkipVTableValidation
-] interface HTMLSpanElement : HTMLElement {
+interface HTMLSpanElement : HTMLElement {
 };
 
index a14165d..74864c2 100644 (file)
@@ -20,7 +20,7 @@
 
 interface HTMLStyleElement : HTMLElement {
     attribute boolean disabled;
-    [Conditional=STYLE_SCOPED, V8EnabledAtRuntime=styleScoped] attribute boolean scoped;
+    [Conditional=STYLE_SCOPED] attribute boolean scoped;
     [Reflect] attribute DOMString media;
     [Reflect] attribute DOMString type;
 
index d7da925..36d635d 100644 (file)
@@ -31,6 +31,6 @@
 [
     Conditional=TEMPLATE_ELEMENT
 ] interface HTMLTemplateElement : HTMLElement {
-    [JSCustom, V8CacheAttributeForGC] readonly attribute DocumentFragment content;
+    [JSCustom] readonly attribute DocumentFragment content;
 };
 
index 07b781b..e4844fd 100644 (file)
@@ -25,7 +25,6 @@
 
 [
     Conditional=VIDEO_TRACK,
-    V8EnabledAtRuntime=webkitVideoTrack
 ] interface HTMLTrackElement : HTMLElement {
     attribute DOMString kind;
     [Reflect, URL] attribute DOMString src;
index 28e04c1..fe1ca9e 100644 (file)
@@ -26,8 +26,7 @@
  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
-[
-    V8SkipVTableValidation
-] interface HTMLUnknownElement : HTMLElement {
+
+interface HTMLUnknownElement : HTMLElement {
 };
 
index 9631551..0c65d9d 100644 (file)
@@ -25,7 +25,6 @@
 
 interface [
     Conditional=ENCRYPTED_MEDIA|ENCRYPTED_MEDIA_V2,
-    V8EnabledAtRuntime=encryptedMedia, 
     ImplementationLacksVTable
 ] MediaKeyError {
     const unsigned short MEDIA_KEYERR_UNKNOWN = 1;
index f4d0d86..ade288e 100644 (file)
@@ -25,7 +25,6 @@
 
 [
     Conditional=ENCRYPTED_MEDIA,
-    V8EnabledAtRuntime=encryptedMedia,
     ConstructorTemplate=Event 
 ] interface MediaKeyEvent : Event {
     [InitializedByEventConstructor] readonly attribute DOMString keySystem;
index fc1a3ac..9746bf3 100644 (file)
@@ -32,6 +32,5 @@
     Conditional=MICRODATA,
     CustomToJSObject,
     OmitConstructor,
-    V8NoWrapperCache
 ] interface MicroDataItemValue {
 };
index 65892f7..67596f0 100644 (file)
@@ -78,11 +78,8 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
     sequence<float> getLineDash();
     attribute float lineDashOffset;
 
-    // FIXME: These attributes should also be implemented for V8.
-#if !(defined(V8_BINDING) && V8_BINDING)
     [Custom] attribute Array webkitLineDash;
     attribute float webkitLineDashOffset;
-#endif
 
     void clearRect(in [Optional=DefaultIsUndefined] float x,
                    in [Optional=DefaultIsUndefined] float y,
index 178dfea..04da20e 100644 (file)
@@ -27,7 +27,6 @@
  */
 
 interface [
-    V8EnabledAtRuntime=canvasPath,
     Constructor,
     Constructor(in DOMPath path),
 #if defined(ENABLE_SVG) && ENABLE_SVG
index c6bb613..ff65194 100644 (file)
@@ -26,8 +26,6 @@
 
 [
     Conditional=SHADOW_DOM,
-    V8EnabledAtRuntime=shadowDOM,
-    V8SkipVTableValidation
 ] interface HTMLContentElement : HTMLElement {
     [Reflect] attribute DOMString select;
     attribute boolean resetStyleInheritance;
index 177edca..266887c 100644 (file)
@@ -30,7 +30,6 @@
 
 [
     Conditional=SHADOW_DOM,
-    V8EnabledAtRuntime=shadowDOM
 ] interface HTMLShadowElement : HTMLElement {
     attribute boolean resetStyleInheritance;
     readonly attribute ShadowRoot olderShadowRoot;
index da355e2..f523b82 100644 (file)
 
 [
     Conditional=VIDEO_TRACK,
-    V8EnabledAtRuntime=webkitVideoTrack,
     EventTarget,
     JSCustomMarkFunction,
     JSCustomIsReachable,
-    V8SkipVTableValidation
 ] interface TextTrack {
     readonly attribute DOMString kind;
     readonly attribute DOMString label;
index 6880f6f..f8f4712 100644 (file)
     // FIXME: Remove evaluateReturnsEvalFunction once InjectedScriptHost returns eval in evaluate on V8. https://webkit.org/b/113134
     readonly attribute boolean evaluateReturnsEvalFunction;
 
-#if defined(V8_BINDING) && V8_BINDING
-    [Custom] any evaluate(in DOMString text);
-#else
     [Custom] readonly attribute any evaluate;
-#endif
 
     [Custom] DOMString databaseId(in any database);
     [Custom] DOMString storageId(in any storage);
index edd24fd..9fb2997 100644 (file)
@@ -624,13 +624,6 @@ void InspectorIndexedDBAgent::requestDatabaseNames(ErrorString* errorString, con
     if (!idbFactory)
         return;
 
-#if USE(V8)
-    v8::HandleScope handleScope;
-    v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
-    ASSERT(!context.IsEmpty());
-    v8::Context::Scope contextScope(context);
-#endif
-
     ExceptionCode ec = 0;
     RefPtr<IDBRequest> idbRequest = idbFactory->getDatabaseNames(document, ec);
     if (ec) {
@@ -650,13 +643,6 @@ void InspectorIndexedDBAgent::requestDatabase(ErrorString* errorString, const St
     if (!idbFactory)
         return;
 
-#if USE(V8)
-    v8::HandleScope handleScope;
-    v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
-    ASSERT(!context.IsEmpty());
-    v8::Context::Scope contextScope(context);
-#endif
-
     RefPtr<DatabaseLoader> databaseLoader = DatabaseLoader::create(document, requestCallback);
     databaseLoader->start(idbFactory, document->securityOrigin(), databaseName);
 }
@@ -679,13 +665,6 @@ void InspectorIndexedDBAgent::requestData(ErrorString* errorString, const String
         return;
     }
 
-#if USE(V8)
-    v8::HandleScope handleScope;
-    v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
-    ASSERT(!context.IsEmpty());
-    v8::Context::Scope contextScope(context);
-#endif
-
     RefPtr<DataLoader> dataLoader = DataLoader::create(document, requestCallback, injectedScript, objectStoreName, indexName, idbKeyRange, skipCount, pageSize);
     dataLoader->start(idbFactory, document->securityOrigin(), databaseName);
 }
@@ -783,16 +762,10 @@ void InspectorIndexedDBAgent::clearObjectStore(ErrorString* errorString, const S
     if (!idbFactory)
         return;
 
-#if USE(V8)
-        v8::HandleScope handleScope;
-        v8::Handle<v8::Context> context = document->frame()->script()->mainWorldContext();
-        ASSERT(!context.IsEmpty());
-        v8::Context::Scope contextScope(context);
-#endif
-
     RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(document, objectStoreName, requestCallback);
     clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName);
 }
+
 } // namespace WebCore
 
 #endif // ENABLE(INSPECTOR) && ENABLE(INDEXED_DATABASE)
index add5018..6ad778c 100644 (file)
 #include "Page.h"
 #include "ResourceError.h"
 
-#if USE(V8)
-#include <v8.h>
-#endif
-
 /*
  This file holds empty Client stubs for use by WebCore.
  Viewless element needs to create a dummy Page->Frame->FrameView tree for use in parsing or executing JavaScript.
@@ -367,12 +363,6 @@ public:
 
     virtual void registerForIconNotification(bool) { }
 
-#if USE(V8)
-    virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGroup, int worldId) { }
-    virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) { }
-    virtual bool allowScriptExtension(const String& extensionName, int extensionGroup, int worldId) { return false; }
-#endif
-
 #if PLATFORM(MAC)
     virtual RemoteAXObjectRef accessibilityRemoteObject() { return 0; }
     virtual NSCachedURLResponse* willCacheResponse(DocumentLoader*, unsigned long, NSCachedURLResponse* response) const { return response; }
index eb90844..7727ff6 100644 (file)
@@ -53,13 +53,6 @@ class NSCachedURLResponse;
 class NSView;
 #endif
 
-#if USE(V8)
-namespace v8 {
-class Context;
-template<class T> class Handle;
-}
-#endif
-
 namespace WebCore {
 
     class AuthenticationChallenge;
@@ -288,12 +281,6 @@ namespace WebCore {
 
         virtual void didExhaustMemoryAvailableForScript() { };
 
-#if USE(V8)
-        virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGroup, int worldId) = 0;
-        virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) = 0;
-        virtual bool allowScriptExtension(const String& extensionName, int extensionGroup, int worldId) = 0;
-#endif
-
         virtual void registerForIconNotification(bool listen = true) = 0;
         
 #if PLATFORM(MAC)
index faefd6b..601dfce 100644 (file)
@@ -39,8 +39,8 @@
     [CallWith=ScriptArguments|ScriptState] void dir();
     [CallWith=ScriptArguments|ScriptState] void dirxml();
     [CallWith=ScriptArguments|ScriptState] void table();
-    [V8Custom, CallWith=ScriptArguments|ScriptState] void trace();
-    [V8Custom, CallWith=ScriptArguments|ScriptState, ImplementedAs=assertCondition] void assert(in boolean condition);
+    [CallWith=ScriptArguments|ScriptState] void trace();
+    [CallWith=ScriptArguments|ScriptState, ImplementedAs=assertCondition] void assert(in boolean condition);
     [CallWith=ScriptArguments|ScriptState] void count();
     [CallWith=ScriptArguments] void markTimeline();
 
index d06afe0..b1b583b 100644 (file)
@@ -38,9 +38,6 @@
     JSGenerateToNativeObject,
     ReplaceableConstructor,
     JSLegacyParent=JSDOMWindowBase,
-    V8CustomToJSObject,
-    V8NoWrapperCache,
-    V8CustomIndexedGetter,
     InterfaceName=Window
 ] interface DOMWindow {
     // DOM Level 0
@@ -56,9 +53,9 @@
     [Replaceable] readonly attribute Navigator clientInformation;
     readonly attribute Crypto crypto;
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
-    attribute [DoNotCheckSecurity, CustomSetter, V8Unforgeable] Location location;
+    attribute [DoNotCheckSecurity, CustomSetter] Location location;
 #endif
-    [Replaceable, CustomGetter, V8CustomSetter] readonly attribute Event event;
+    [Replaceable, CustomGetter] readonly attribute Event event;
 
     DOMSelection getSelection();
 
 
     // Self referential attributes
     [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute DOMWindow self;
-    [DoNotCheckSecurity, V8Unforgeable] readonly attribute DOMWindow window;
+    [DoNotCheckSecurity] readonly attribute DOMWindow window;
     [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute  DOMWindow frames;
 
-    [Replaceable, DoNotCheckSecurityOnGetter, V8CustomSetter] readonly attribute DOMWindow opener;
+    [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute DOMWindow opener;
     [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute DOMWindow parent;
-    [DoNotCheckSecurityOnGetter, V8Unforgeable] readonly attribute DOMWindow top;
+    [DoNotCheckSecurityOnGetter] readonly attribute DOMWindow top;
 
     // DOM Level 2 AbstractView Interface
     readonly attribute Document document;
     readonly attribute StyleMedia styleMedia;
 
     // DOM Level 2 Style Interface
-    [V8PerWorldBindings] CSSStyleDeclaration getComputedStyle(in [Optional=DefaultIsUndefined] Element element,
+    CSSStyleDeclaration getComputedStyle(in [Optional=DefaultIsUndefined] Element element,
                                                               in [TreatNullAs=NullString, TreatUndefinedAs=NullString,Optional=DefaultIsUndefined] DOMString pseudoElement);
 
     // WebKit extensions
     WebKitPoint webkitConvertPointFromNodeToPage(in [Optional=DefaultIsUndefined] Node node, 
                                                  in [Optional=DefaultIsUndefined] WebKitPoint p);
 
-    readonly attribute [V8EnabledAtRuntime] DOMApplicationCache applicationCache;
+    readonly attribute DOMApplicationCache applicationCache;
 
-    readonly attribute [V8EnabledAtRuntime] Storage sessionStorage
+    readonly attribute Storage sessionStorage
         getter raises(DOMException);
-    readonly attribute [V8EnabledAtRuntime] Storage localStorage
+    readonly attribute Storage localStorage
         getter raises(DOMException);
 
 #if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
     void clearInterval(in [Optional=DefaultIsUndefined] long handle);
 
 #if defined(ENABLE_REQUEST_ANIMATION_FRAME) && ENABLE_REQUEST_ANIMATION_FRAME
-    [V8MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(in [Callback] RequestAnimationFrameCallback callback);
+    long requestAnimationFrame(in [Callback] RequestAnimationFrameCallback callback);
     void cancelAnimationFrame(in long id);
-    [V8MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCallback callback);
+    long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCallback callback);
     [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(in long id);
     [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame(in long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove this when removing vendor prefix.
 #endif
 #if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
     attribute EventListener onorientationchange;
 #endif
-    attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch] EventListener ontouchstart;
-    attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch] EventListener ontouchmove;
-    attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch] EventListener ontouchend;
-    attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch] EventListener ontouchcancel;
+    attribute [Conditional=TOUCH_EVENTS] EventListener ontouchstart;
+    attribute [Conditional=TOUCH_EVENTS] EventListener ontouchmove;
+    attribute [Conditional=TOUCH_EVENTS] EventListener ontouchend;
+    attribute [Conditional=TOUCH_EVENTS] EventListener ontouchcancel;
 
-    attribute [Conditional=DEVICE_ORIENTATION,V8EnabledAtRuntime] EventListener ondevicemotion;
-    attribute [Conditional=DEVICE_ORIENTATION,V8EnabledAtRuntime] EventListener ondeviceorientation;
+    attribute [Conditional=DEVICE_ORIENTATION] EventListener ondevicemotion;
+    attribute [Conditional=DEVICE_ORIENTATION] EventListener ondeviceorientation;
 
     attribute [Conditional=PROXIMITY_EVENTS] EventListener onwebkitdeviceproximity;
 
     boolean dispatchEvent(in Event evt)
         raises(EventException);
 
-    [V8Custom] void captureEvents(/*in long eventFlags*/);
-    [V8Custom] void releaseEvents(/*in long eventFlags*/);
+    void captureEvents(/*in long eventFlags*/);
+    void releaseEvents(/*in long eventFlags*/);
 
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
     // Global constructors
     attribute NotationConstructor Notation;
     attribute EntityConstructor Entity;
     attribute EntityReferenceConstructor EntityReference;
-    [Conditional=CANVAS_PATH, V8EnabledAtRuntime=canvasPath] attribute DOMPathConstructor Path;
+    [Conditional=CANVAS_PATH] attribute DOMPathConstructor Path;
     attribute ProcessingInstructionConstructor ProcessingInstruction;
-    [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] attribute ShadowRootConstructor WebKitShadowRoot;
-    [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] attribute HTMLContentElementConstructor HTMLContentElement;
-    [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] attribute HTMLShadowElementConstructor HTMLShadowElement;
+    [Conditional=SHADOW_DOM] attribute ShadowRootConstructor WebKitShadowRoot;
+    [Conditional=SHADOW_DOM] attribute HTMLContentElementConstructor HTMLContentElement;
+    [Conditional=SHADOW_DOM] attribute HTMLShadowElementConstructor HTMLShadowElement;
 
     attribute DOMSelectionConstructor Selection;
     attribute DOMWindowConstructor Window;
     attribute HTMLCanvasElementConstructor HTMLCanvasElement;
     attribute HTMLDListElementConstructor HTMLDListElement;
     [Conditional=DATALIST_ELEMENT] attribute HTMLDataListElementConstructor HTMLDataListElement;
-    [Conditional=DIALOG_ELEMENT, V8EnabledPerContext=dialogElement] attribute HTMLDialogElementConstructor HTMLDialogElement;
+    [Conditional=DIALOG_ELEMENT] attribute HTMLDialogElementConstructor HTMLDialogElement;
     attribute HTMLDirectoryElementConstructor HTMLDirectoryElement;
     attribute HTMLDivElementConstructor HTMLDivElement;
     attribute HTMLEmbedElementConstructor HTMLEmbedElement;
     [JSCustomGetter, CustomConstructor] attribute HTMLImageElementConstructorConstructor Image; // Usable with new operator
     [JSCustomGetter] attribute HTMLOptionElementConstructorConstructor Option; // Usable with new operator
 
-    [Conditional=ENCRYPTED_MEDIA, V8EnabledAtRuntime=encryptedMedia] attribute MediaKeyEventConstructor MediaKeyEvent;
-    attribute [Conditional=ENCRYPTED_MEDIA_V2, V8EnabledAtRuntime=encryptedMedia] MediaKeysConstructor MediaKeys;
-    attribute [Conditional=ENCRYPTED_MEDIA_V2|ENCRYPTED_MEDIA, V8EnabledAtRuntime=encryptedMedia] MediaKeyErrorConstructor MediaKeyError;
-    attribute [Conditional=ENCRYPTED_MEDIA_V2, V8EnabledAtRuntime=encryptedMedia] MediaKeyMessageEventConstructor MediaKeyMessageEvent;
-    attribute [Conditional=ENCRYPTED_MEDIA_V2, V8EnabledAtRuntime=encryptedMedia] MediaKeyNeededEventConstructor MediaKeyNeededEvent;
-
-    [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute HTMLTrackElementConstructor HTMLTrackElement;
-    [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute TextTrackConstructor TextTrack;
-    [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute TextTrackCueConstructor TextTrackCue; // Usable with the new operator
-    [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute TextTrackCueListConstructor TextTrackCueList;
-    [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute TextTrackListConstructor TextTrackList;
-    [Conditional=VIDEO_TRACK & WEBVTT_REGIONS, V8EnabledAtRuntime=webkitVideoTrack] attribute TextTrackRegionConstructor TextTrackRegion; // Usable with the new operator
-    [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute TrackEventConstructor TrackEvent;
-
-    [JSCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator
-    [Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLAudioElementConstructor HTMLAudioElement;
-    [Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLMediaElementConstructor HTMLMediaElement;
-    [Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLVideoElementConstructor HTMLVideoElement;
-    [Conditional=VIDEO, V8EnabledAtRuntime] attribute MediaErrorConstructor MediaError;
-    [Conditional=VIDEO, V8EnabledAtRuntime] attribute TimeRangesConstructor TimeRanges;
-    [Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLSourceElementConstructor HTMLSourceElement;
-    [Conditional=VIDEO, V8EnabledAtRuntime] attribute MediaControllerConstructor MediaController;
+    [Conditional=ENCRYPTED_MEDIA] attribute MediaKeyEventConstructor MediaKeyEvent;
+    attribute [Conditional=ENCRYPTED_MEDIA_V2] MediaKeysConstructor MediaKeys;
+    attribute [Conditional=ENCRYPTED_MEDIA_V2|ENCRYPTED_MEDIA] MediaKeyErrorConstructor MediaKeyError;
+    attribute [Conditional=ENCRYPTED_MEDIA_V2] MediaKeyMessageEventConstructor MediaKeyMessageEvent;
+    attribute [Conditional=ENCRYPTED_MEDIA_V2] MediaKeyNeededEventConstructor MediaKeyNeededEvent;
+
+    [Conditional=VIDEO_TRACK] attribute HTMLTrackElementConstructor HTMLTrackElement;
+    [Conditional=VIDEO_TRACK] attribute TextTrackConstructor TextTrack;
+    [Conditional=VIDEO_TRACK] attribute TextTrackCueConstructor TextTrackCue; // Usable with the new operator
+    [Conditional=VIDEO_TRACK] attribute TextTrackCueListConstructor TextTrackCueList;
+    [Conditional=VIDEO_TRACK] attribute TextTrackListConstructor TextTrackList;
+    [Conditional=VIDEO_TRACK & WEBVTT_REGIONS] attribute TextTrackRegionConstructor TextTrackRegion; // Usable with the new operator
+    [Conditional=VIDEO_TRACK] attribute TrackEventConstructor TrackEvent;
+
+    [JSCustomGetter, Conditional=VIDEO] attribute HTMLAudioElementConstructorConstructor Audio; // Usable with the new operator
+    [Conditional=VIDEO] attribute HTMLAudioElementConstructor HTMLAudioElement;
+    [Conditional=VIDEO] attribute HTMLMediaElementConstructor HTMLMediaElement;
+    [Conditional=VIDEO] attribute HTMLVideoElementConstructor HTMLVideoElement;
+    [Conditional=VIDEO] attribute MediaErrorConstructor MediaError;
+    [Conditional=VIDEO] attribute TimeRangesConstructor TimeRanges;
+    [Conditional=VIDEO] attribute HTMLSourceElementConstructor HTMLSourceElement;
+    [Conditional=VIDEO] attribute MediaControllerConstructor MediaController;
 
     attribute CanvasPatternConstructor CanvasPattern;
     attribute CanvasGradientConstructor CanvasGradient;
     attribute WebKitTransitionEventConstructor WebKitTransitionEvent;
     attribute WheelEventConstructor WheelEvent;
     attribute XMLHttpRequestProgressEventConstructor XMLHttpRequestProgressEvent;
-    [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] attribute DeviceMotionEventConstructor DeviceMotionEvent;
-    [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] attribute DeviceOrientationEventConstructor DeviceOrientationEvent;
-    [Conditional=TOUCH_EVENTS, V8EnabledAtRuntime=touch] attribute TouchConstructor Touch;
-    [Conditional=TOUCH_EVENTS, V8EnabledAtRuntime=touch] attribute TouchEventConstructor TouchEvent;
-    [Conditional=TOUCH_EVENTS, V8EnabledAtRuntime=touch] attribute TouchListConstructor TouchList;
+    [Conditional=DEVICE_ORIENTATION] attribute DeviceMotionEventConstructor DeviceMotionEvent;
+    [Conditional=DEVICE_ORIENTATION] attribute DeviceOrientationEventConstructor DeviceOrientationEvent;
+    [Conditional=TOUCH_EVENTS] attribute TouchConstructor Touch;
+    [Conditional=TOUCH_EVENTS] attribute TouchEventConstructor TouchEvent;
+    [Conditional=TOUCH_EVENTS] attribute TouchListConstructor TouchList;
     attribute StorageEventConstructor StorageEvent;
     [Conditional=INPUT_SPEECH] attribute SpeechInputEventConstructor SpeechInputEvent;
     [Conditional=WEBGL] attribute WebGLContextEventConstructor WebGLContextEvent;
     [Conditional=PROXIMITY_EVENTS] attribute DeviceProximityEventConstructor DeviceProximityEvent;
     [Conditional=REQUEST_AUTOCOMPLETE] attribute AutocompleteErrorEventConstructor AutocompleteErrorEvent;
-    [Conditional=CSP_NEXT, V8EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute SecurityPolicyViolationEventConstructor SecurityPolicyViolationEvent;
+    [Conditional=CSP_NEXT] attribute SecurityPolicyViolationEventConstructor SecurityPolicyViolationEvent;
 
     attribute EventExceptionConstructor EventException;
 
     attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule;
     attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule;
-    [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] attribute WebKitCSSRegionRuleConstructor WebKitCSSRegionRule;
+    [Conditional=CSS_REGIONS] attribute WebKitCSSRegionRuleConstructor WebKitCSSRegionRule;
 
     attribute WebKitCSSMatrixConstructor WebKitCSSMatrix; // Usable with the new operator
 
     attribute ClipboardConstructor Clipboard;
 
     [Conditional=WORKERS] attribute WorkerConstructor Worker; // Usable with the new operator
-    [Conditional=SHARED_WORKERS, JSCustomGetter, V8EnabledAtRuntime] attribute SharedWorkerConstructor SharedWorker; // Usable with the new operator
+    [Conditional=SHARED_WORKERS, JSCustomGetter] attribute SharedWorkerConstructor SharedWorker; // Usable with the new operator
 
     attribute FileConstructor File;
     attribute FileListConstructor FileList;
     attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add metrics to determine when we can remove this.
     attribute MutationObserverConstructor MutationObserver;
 
-    [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaSource;
-    [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourceBuffer;
-    [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitSourceBufferList;
+    [Conditional=MEDIA_SOURCE] attribute MediaSourceConstructor WebKitMediaSource;
+    [Conditional=MEDIA_SOURCE] attribute SourceBufferConstructor WebKitSourceBuffer;
+    [Conditional=MEDIA_SOURCE] attribute SourceBufferListConstructor WebKitSourceBufferList;
 
 #endif // defined(LANGUAGE_JAVASCRIPT)
-
-#if defined(V8_BINDING) && V8_BINDING
-    // window.toString() requires special handling in V8
-    [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString toString();
-#endif // defined(V8_BINDING)
 };
-
index 301d8b9..ae36039 100644 (file)
@@ -32,5 +32,5 @@
     Conditional=PAGE_POPUP,
     Supplemental=DOMWindow
 ] interface DOMWindowPagePopup {
-    [V8EnabledPerContext=pagePopup] readonly attribute PagePopupController pagePopupController;
+    readonly attribute PagePopupController pagePopupController;
 };
index 99a9dbe..83e88bc 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 [
-#if defined(V8_BINDING) && V8_BINDING
-    CheckSecurity,
-#endif
     JSCustomGetOwnPropertySlotAndDescriptor,
     CustomNamedSetter,
     JSGenerateIsReachable=ImplFrame,
@@ -41,8 +38,8 @@
     [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void forward();
     [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void go(in [Optional=DefaultIsUndefined] long distance);
 
-    [Custom, V8EnabledPerContext=pushState] void pushState(in any data, in DOMString title, in [Optional] DOMString url)
+    [Custom] void pushState(in any data, in DOMString title, in [Optional] DOMString url)
         raises(DOMException);
-    [Custom, V8EnabledPerContext=pushState] void replaceState(in any data, in DOMString title, in [Optional] DOMString url)
+    [Custom] void replaceState(in any data, in DOMString title, in [Optional] DOMString url)
         raises(DOMException);
 };
index 8b03f77..9777703 100644 (file)
@@ -27,9 +27,6 @@
  */
 
 [
-#if defined(V8_BINDING) && V8_BINDING
-    CheckSecurity,
-#endif
     JSCustomGetOwnPropertySlotAndDescriptor,
     CustomNamedSetter,
     JSGenerateIsReachable=ImplFrame,
     OmitConstructor
 ] interface Location {
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
-             [DoNotCheckSecurityOnSetter, CustomSetter, V8Unforgeable] attribute DOMString href;
+             [DoNotCheckSecurityOnSetter, CustomSetter] attribute DOMString href;
 #endif
 
-    [Custom, V8Unforgeable] void assign(in [Optional=DefaultIsUndefined] DOMString url);
-    [Custom, V8Unforgeable] void replace(in [Optional=DefaultIsUndefined] DOMString url);
-    [Custom, V8Unforgeable] void reload();
+    [Custom] void assign(in [Optional=DefaultIsUndefined] DOMString url);
+    [Custom] void replace(in [Optional=DefaultIsUndefined] DOMString url);
+    [Custom] void reload();
 
     // URI decomposition attributes
 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
     readonly attribute DOMStringList ancestorOrigins;
 
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
-    [NotEnumerable, Custom, V8Unforgeable, V8ReadOnly, ImplementedAs=toStringFunction] DOMString toString();
-#endif
-#if defined(V8_BINDING) && V8_BINDING
-    [NotEnumerable, Custom, V8Unforgeable, V8ReadOnly] any valueOf();
+    [NotEnumerable, Custom, ImplementedAs=toStringFunction] DOMString toString();
 #endif
 };
 
index fa0aa86..74cbb3d 100644 (file)
 #include "SkColorShader.h"
 #include "SkShader.h"
 
-#if USE(V8)
-#include <v8.h>
-#endif
-
 using namespace std;
 
 namespace WebCore {
@@ -50,12 +46,8 @@ void Pattern::platformDestroy()
 {
     SkSafeUnref(m_pattern);
     m_pattern = 0;
-    if (m_externalMemoryAllocated) {
-#if USE(V8)
-        v8::V8::AdjustAmountOfExternalAllocatedMemory(-m_externalMemoryAllocated);
-#endif
+    if (m_externalMemoryAllocated)
         m_externalMemoryAllocated = 0;
-    }
 }
 
 PlatformPatternPtr Pattern::platformPattern(const AffineTransform& patternTransform)
@@ -105,9 +97,6 @@ PlatformPatternPtr Pattern::platformPattern(const AffineTransform& patternTransf
 
         // Clamp to int, since that's what the adjust function takes.
         m_externalMemoryAllocated = static_cast<int>(min(static_cast<size_t>(INT_MAX), bm2.getSafeSize()));
-#if USE(V8)
-        v8::V8::AdjustAmountOfExternalAllocatedMemory(m_externalMemoryAllocated);
-#endif
     }
     m_pattern->setLocalMatrix(m_patternSpaceTransformation);
     return m_pattern;
index bba0983..9757cc4 100644 (file)
@@ -2042,25 +2042,15 @@ String Internals::getCurrentCursorInfo(Document* document, ExceptionCode& ec)
 
 PassRefPtr<ArrayBuffer> Internals::serializeObject(PassRefPtr<SerializedScriptValue> value) const
 {
-#if USE(V8)
-    String stringValue = value->toWireString();
-    return ArrayBuffer::create(static_cast<const void*>(stringValue.impl()->characters()), stringValue.sizeInBytes());
-#else
     Vector<uint8_t> bytes = value->data();
     return ArrayBuffer::create(bytes.data(), bytes.size());
-#endif
 }
 
 PassRefPtr<SerializedScriptValue> Internals::deserializeBuffer(PassRefPtr<ArrayBuffer> buffer) const
 {
-#if USE(V8)
-    String value(static_cast<const UChar*>(buffer->data()), buffer->byteLength() / sizeof(UChar));
-    return SerializedScriptValue::createFromWire(value);
-#else
     Vector<uint8_t> bytes;
     bytes.append(static_cast<const uint8_t*>(buffer->data()), buffer->byteLength());
     return SerializedScriptValue::adopt(bytes);
-#endif
 }
 
 void Internals::setUsesOverlayScrollbars(bool enabled)