Diff
Modified: trunk/Source/WebCore/ChangeLog (134673 => 134674)
--- trunk/Source/WebCore/ChangeLog 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/ChangeLog 2012-11-14 22:47:40 UTC (rev 134674)
@@ -1,5 +1,36 @@
2012-11-14 Michael Pruett <mich...@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 <mich...@68k.org>
+
IndexedDB: Replace int64 with int64_t
https://bugs.webkit.org/show_bug.cgi?id=102270
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBAny.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBAny.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBAny.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -26,7 +26,8 @@
[
Conditional=INDEXED_DATABASE,
CustomToJSObject,
- V8NoWrapperCache
+ V8NoWrapperCache,
+ JSNoStaticTables
] interface IDBAny {
// This space is intentionally left blank.
};
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -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;
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -24,7 +24,8 @@
*/
[
- Conditional=INDEXED_DATABASE
+ Conditional=INDEXED_DATABASE,
+ JSNoStaticTables
] interface IDBCursorWithValue : IDBCursor {
readonly attribute any value;
};
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -27,7 +27,8 @@
[
Conditional=INDEXED_DATABASE,
ActiveDOMObject,
- EventTarget
+ EventTarget,
+ JSNoStaticTables
] interface IDBDatabase {
readonly attribute DOMString name;
readonly attribute IDBAny version;
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseException.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseException.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseException.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -25,7 +25,8 @@
[
Conditional=INDEXED_DATABASE,
- DoNotCheckConstants
+ DoNotCheckConstants,
+ JSNoStaticTables
] exception IDBDatabaseException {
readonly attribute unsigned short code;
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBFactory.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBFactory.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBFactory.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -24,7 +24,8 @@
*/
[
- Conditional=INDEXED_DATABASE
+ Conditional=INDEXED_DATABASE,
+ JSNoStaticTables
] interface IDBFactory {
[CallWith=ScriptExecutionContext, ImplementedAs=getDatabaseNames] IDBRequest webkitGetDatabaseNames();
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -24,7 +24,8 @@
*/
[
- Conditional=INDEXED_DATABASE
+ Conditional=INDEXED_DATABASE,
+ JSNoStaticTables
] interface IDBIndex {
readonly attribute DOMString name;
readonly attribute IDBObjectStore objectStore;
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBKey.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBKey.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBKey.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -26,7 +26,8 @@
[
Conditional=INDEXED_DATABASE,
CustomToJSObject,
- V8NoWrapperCache
+ V8NoWrapperCache,
+ JSNoStaticTables
] interface IDBKey {
// This space is intentionally left blank.
};
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -24,7 +24,8 @@
*/
[
- Conditional=INDEXED_DATABASE
+ Conditional=INDEXED_DATABASE,
+ JSNoStaticTables
] interface IDBKeyRange {
readonly attribute IDBKey lower;
readonly attribute IDBKey upper;
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -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;
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -26,7 +26,8 @@
[
Conditional=INDEXED_DATABASE,
ActiveDOMObject,
- EventTarget
+ EventTarget,
+ JSNoStaticTables
] interface IDBOpenDBRequest : IDBRequest {
attribute EventListener onblocked;
attribute EventListener onupgradeneeded;
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -30,7 +30,8 @@
[
Conditional=INDEXED_DATABASE,
ActiveDOMObject,
- EventTarget
+ EventTarget,
+ JSNoStaticTables
] interface IDBRequest {
readonly attribute IDBAny result
getter raises (IDBDatabaseException);
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -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;
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBUpgradeNeededEvent.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBUpgradeNeededEvent.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBUpgradeNeededEvent.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -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;
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -24,7 +24,8 @@
*/
[
- Conditional=INDEXED_DATABASE
+ Conditional=INDEXED_DATABASE,
+ JSNoStaticTables
] interface IDBVersionChangeEvent : Event {
readonly attribute DOMString version;
};
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeRequest.idl (134673 => 134674)
--- trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeRequest.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeRequest.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -26,7 +26,8 @@
[
Conditional=INDEXED_DATABASE,
ActiveDOMObject,
- EventTarget
+ EventTarget,
+ JSNoStaticTables
] interface IDBVersionChangeRequest : IDBRequest {
attribute EventListener onblocked;
};
Modified: trunk/Source/WebCore/dom/DOMStringList.idl (134673 => 134674)
--- trunk/Source/WebCore/dom/DOMStringList.idl 2012-11-14 22:42:15 UTC (rev 134673)
+++ trunk/Source/WebCore/dom/DOMStringList.idl 2012-11-14 22:47:40 UTC (rev 134674)
@@ -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);