Commit 3e0eb47a authored by zandobersek@gmail.com's avatar zandobersek@gmail.com

[InexedDB] Interfaces inheriting from EventTarget should generate JSC (un)wrapping functions

https://bugs.webkit.org/show_bug.cgi?id=122114

Reviewed by Darin Adler.

After r156590, four IndexedDB interfaces are inheriting from the EventTarget interface. Because of that,
they're now required to have interface-specific JSC wrapping and unwrapping functions generated since the
JSC wrapping and unwrapping functions for the EventTarget interface delegate these operations to these
interface-specific functions. If the functions are not generated and accessible, the EventTarget functions
end up recursively calling themselves.

* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBOpenDBRequest.idl:
* Modules/indexeddb/IDBRequest.idl:
* Modules/indexeddb/IDBTransaction.idl:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e46de4d5
2013-10-01 Zan Dobersek <zdobersek@igalia.com>
[InexedDB] Interfaces inheriting from EventTarget should generate JSC (un)wrapping functions
https://bugs.webkit.org/show_bug.cgi?id=122114
Reviewed by Darin Adler.
After r156590, four IndexedDB interfaces are inheriting from the EventTarget interface. Because of that,
they're now required to have interface-specific JSC wrapping and unwrapping functions generated since the
JSC wrapping and unwrapping functions for the EventTarget interface delegate these operations to these
interface-specific functions. If the functions are not generated and accessible, the EventTarget functions
end up recursively calling themselves.
* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBOpenDBRequest.idl:
* Modules/indexeddb/IDBRequest.idl:
* Modules/indexeddb/IDBTransaction.idl:
2013-09-30 Ryuan Choi <ryuan.choi@samsung.com>
Build fix for EFL, Qt, Gtk port after r156688
......@@ -28,7 +28,9 @@
Conditional=INDEXED_DATABASE,
ActiveDOMObject,
EventTarget,
JSNoStaticTables
JSNoStaticTables,
JSGenerateToJSObject,
JSGenerateToNativeObject
] interface IDBDatabase : EventTarget {
readonly attribute DOMString name;
readonly attribute unsigned long long version;
......
......@@ -27,7 +27,8 @@
Conditional=INDEXED_DATABASE,
EventTarget,
JSNoStaticTables,
JSGenerateToJSObject
JSGenerateToJSObject,
JSGenerateToNativeObject
] interface IDBOpenDBRequest : IDBRequest {
attribute EventListener onblocked;
attribute EventListener onupgradeneeded;
......
......@@ -31,7 +31,9 @@
Conditional=INDEXED_DATABASE,
ActiveDOMObject,
EventTarget,
JSNoStaticTables
JSNoStaticTables,
JSGenerateToJSObject,
JSGenerateToNativeObject
] interface IDBRequest : EventTarget {
[GetterRaisesException] readonly attribute IDBAny result;
[GetterRaisesException] readonly attribute DOMError error;
......
......@@ -28,7 +28,9 @@
Conditional=INDEXED_DATABASE,
ActiveDOMObject,
EventTarget,
JSNoStaticTables
JSNoStaticTables,
JSGenerateToJSObject,
JSGenerateToNativeObject
] interface IDBTransaction : EventTarget {
readonly attribute DOMString mode;
readonly attribute IDBDatabase db;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment