IndexedDB: Add JSNoStaticTables to IndexedDB interfaces
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Nov 2012 22:47:40 +0000 (22:47 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Nov 2012 22:47:40 +0000 (22:47 +0000)
https://bugs.webkit.org/show_bug.cgi?id=102268

Patch by Michael Pruett <michael@68k.org> on 2012-11-14
Reviewed by Geoffrey Garen.

Add JSNoStaticTables attribute to IndexedDB interface
definitions. This attribute must be specified in interfaces
which can be accessed from workers.

Tests: storage/indexeddb/*

* Modules/indexeddb/IDBAny.idl:
* Modules/indexeddb/IDBCursor.idl:
* Modules/indexeddb/IDBCursorWithValue.idl:
* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBDatabaseException.idl:
* Modules/indexeddb/IDBFactory.idl:
* Modules/indexeddb/IDBIndex.idl:
* Modules/indexeddb/IDBKey.idl:
* Modules/indexeddb/IDBKeyRange.idl:
* Modules/indexeddb/IDBObjectStore.idl:
* Modules/indexeddb/IDBOpenDBRequest.idl:
* Modules/indexeddb/IDBRequest.idl:
* Modules/indexeddb/IDBTransaction.idl:
* Modules/indexeddb/IDBUpgradeNeededEvent.idl:
* Modules/indexeddb/IDBVersionChangeEvent.idl:
* Modules/indexeddb/IDBVersionChangeRequest.idl:
* dom/DOMStringList.idl:

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

18 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/indexeddb/IDBAny.idl
Source/WebCore/Modules/indexeddb/IDBCursor.idl
Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl
Source/WebCore/Modules/indexeddb/IDBDatabase.idl
Source/WebCore/Modules/indexeddb/IDBDatabaseException.idl
Source/WebCore/Modules/indexeddb/IDBFactory.idl
Source/WebCore/Modules/indexeddb/IDBIndex.idl
Source/WebCore/Modules/indexeddb/IDBKey.idl
Source/WebCore/Modules/indexeddb/IDBKeyRange.idl
Source/WebCore/Modules/indexeddb/IDBObjectStore.idl
Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl
Source/WebCore/Modules/indexeddb/IDBRequest.idl
Source/WebCore/Modules/indexeddb/IDBTransaction.idl
Source/WebCore/Modules/indexeddb/IDBUpgradeNeededEvent.idl
Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl
Source/WebCore/Modules/indexeddb/IDBVersionChangeRequest.idl
Source/WebCore/dom/DOMStringList.idl

index d77d794..6de2079 100644 (file)
@@ -1,5 +1,36 @@
 2012-11-14  Michael Pruett  <michael@68k.org>
 
+        IndexedDB: Add JSNoStaticTables to IndexedDB interfaces
+        https://bugs.webkit.org/show_bug.cgi?id=102268
+
+        Reviewed by Geoffrey Garen.
+
+        Add JSNoStaticTables attribute to IndexedDB interface
+        definitions. This attribute must be specified in interfaces
+        which can be accessed from workers.
+
+        Tests: storage/indexeddb/*
+
+        * Modules/indexeddb/IDBAny.idl:
+        * Modules/indexeddb/IDBCursor.idl:
+        * Modules/indexeddb/IDBCursorWithValue.idl:
+        * Modules/indexeddb/IDBDatabase.idl:
+        * Modules/indexeddb/IDBDatabaseException.idl:
+        * Modules/indexeddb/IDBFactory.idl:
+        * Modules/indexeddb/IDBIndex.idl:
+        * Modules/indexeddb/IDBKey.idl:
+        * Modules/indexeddb/IDBKeyRange.idl:
+        * Modules/indexeddb/IDBObjectStore.idl:
+        * Modules/indexeddb/IDBOpenDBRequest.idl:
+        * Modules/indexeddb/IDBRequest.idl:
+        * Modules/indexeddb/IDBTransaction.idl:
+        * Modules/indexeddb/IDBUpgradeNeededEvent.idl:
+        * Modules/indexeddb/IDBVersionChangeEvent.idl:
+        * Modules/indexeddb/IDBVersionChangeRequest.idl:
+        * dom/DOMStringList.idl:
+
+2012-11-14  Michael Pruett  <michael@68k.org>
+
         IndexedDB: Replace int64 with int64_t
         https://bugs.webkit.org/show_bug.cgi?id=102270
 
index b6c4042..a200ee2 100644 (file)
@@ -26,7 +26,8 @@
 [
     Conditional=INDEXED_DATABASE,
     CustomToJSObject,
-    V8NoWrapperCache
+    V8NoWrapperCache,
+    JSNoStaticTables
 ] interface IDBAny {
     // This space is intentionally left blank.
 };
index 4757093..46dc787 100644 (file)
@@ -25,6 +25,7 @@
 
 [
     Conditional=INDEXED_DATABASE,
+    JSNoStaticTables
 ] interface IDBCursor {
     // FIXME: Eventually remove legacy enum constants, see https://bugs.webkit.org/show_bug.cgi?id=85315
     const unsigned short NEXT = 0;
index 01750dc..7ee92da 100644 (file)
@@ -24,7 +24,8 @@
  */
 
 [
-    Conditional=INDEXED_DATABASE
+    Conditional=INDEXED_DATABASE,
+    JSNoStaticTables
 ] interface IDBCursorWithValue : IDBCursor {
     readonly attribute any value;
 };
index d236c49..4ef62af 100644 (file)
@@ -27,7 +27,8 @@
 [
     Conditional=INDEXED_DATABASE,
     ActiveDOMObject,
-    EventTarget
+    EventTarget,
+    JSNoStaticTables
 ] interface IDBDatabase {
     readonly attribute DOMString name;
     readonly attribute IDBAny version;
index bb215bd..a75baff 100644 (file)
@@ -25,7 +25,8 @@
 
 [
     Conditional=INDEXED_DATABASE,
-    DoNotCheckConstants
+    DoNotCheckConstants,
+    JSNoStaticTables
 ] exception IDBDatabaseException {
 
     readonly attribute unsigned short   code;
index a24cd2b..579a6e1 100644 (file)
@@ -24,7 +24,8 @@
  */
 
 [
-    Conditional=INDEXED_DATABASE
+    Conditional=INDEXED_DATABASE,
+    JSNoStaticTables
 ] interface IDBFactory {
     [CallWith=ScriptExecutionContext, ImplementedAs=getDatabaseNames] IDBRequest webkitGetDatabaseNames();
 
index effa9cf..c00e3f0 100644 (file)
@@ -24,7 +24,8 @@
  */
 
 [
-    Conditional=INDEXED_DATABASE
+    Conditional=INDEXED_DATABASE,
+    JSNoStaticTables
 ] interface IDBIndex {
     readonly attribute DOMString name;
     readonly attribute IDBObjectStore objectStore;
index 074b2ab..3b590c6 100644 (file)
@@ -26,7 +26,8 @@
 [
     Conditional=INDEXED_DATABASE,
     CustomToJSObject,
-    V8NoWrapperCache
+    V8NoWrapperCache,
+    JSNoStaticTables
 ] interface IDBKey {
     // This space is intentionally left blank.
 };
index 820628a..424003d 100644 (file)
@@ -24,7 +24,8 @@
  */
 
 [
-    Conditional=INDEXED_DATABASE
+    Conditional=INDEXED_DATABASE,
+    JSNoStaticTables
 ] interface IDBKeyRange {
     readonly attribute IDBKey lower;
     readonly attribute IDBKey upper;
index 7d562dd..cc95207 100644 (file)
@@ -24,7 +24,8 @@
  */
 
 [
-    Conditional=INDEXED_DATABASE
+    Conditional=INDEXED_DATABASE,
+    JSNoStaticTables
 ] interface IDBObjectStore {
     [TreatReturnedNullStringAs=Null] readonly attribute DOMString name;
     [ImplementedAs=keyPathAny] readonly attribute IDBAny keyPath;
index bbde9bc..f00e8e4 100644 (file)
@@ -26,7 +26,8 @@
 [
     Conditional=INDEXED_DATABASE,
     ActiveDOMObject,
-    EventTarget
+    EventTarget,
+    JSNoStaticTables
 ] interface IDBOpenDBRequest : IDBRequest {
     attribute EventListener onblocked;
     attribute EventListener onupgradeneeded;
index 4e8ff09..0b169dd 100644 (file)
@@ -30,7 +30,8 @@
 [
     Conditional=INDEXED_DATABASE,
     ActiveDOMObject,
-    EventTarget
+    EventTarget,
+    JSNoStaticTables
 ] interface IDBRequest {
     readonly attribute IDBAny result
         getter raises (IDBDatabaseException);
index 72faa8d..8ec4b31 100644 (file)
@@ -27,7 +27,8 @@
 [
     Conditional=INDEXED_DATABASE,
     ActiveDOMObject,
-    EventTarget
+    EventTarget,
+    JSNoStaticTables
 ] interface IDBTransaction {
     // FIXME: Eventually remove legacy enum constants, see https://bugs.webkit.org/show_bug.cgi?id=85315
     const unsigned short READ_ONLY = 0;
index 0810dd2..8f22584 100644 (file)
@@ -25,7 +25,8 @@
 
 [
     Conditional=INDEXED_DATABASE,
-    InterfaceName=IDBVersionChangeEvent
+    InterfaceName=IDBVersionChangeEvent,
+    JSNoStaticTables
 ] interface IDBUpgradeNeededEvent : Event {
     readonly attribute unsigned long long oldVersion;
     readonly attribute unsigned long long newVersion;
index f92ef53..8d21322 100644 (file)
@@ -24,7 +24,8 @@
  */
 
 [
-    Conditional=INDEXED_DATABASE
+    Conditional=INDEXED_DATABASE,
+    JSNoStaticTables
 ] interface IDBVersionChangeEvent : Event {
     readonly attribute DOMString version;
 };
index 497b57b..9b6e1e3 100644 (file)
@@ -26,7 +26,8 @@
 [
     Conditional=INDEXED_DATABASE,
     ActiveDOMObject,
-    EventTarget
+    EventTarget,
+    JSNoStaticTables
 ] interface IDBVersionChangeRequest : IDBRequest {
     attribute EventListener onblocked;
 };
index d0eb362..aa643e6 100644 (file)
@@ -25,7 +25,8 @@
 
 [
     IndexedGetter,
-    JSCustomToNativeObject
+    JSCustomToNativeObject,
+    JSNoStaticTables
 ] interface DOMStringList {
     readonly attribute unsigned long length;
     [TreatReturnedNullStringAs=Null] DOMString item(in [Optional=DefaultIsUndefined] unsigned long index);