RESOLVED FIXED 53975
Events should propagate through IDBDatabase (for IDBRequest and IDBTransaction)
https://bugs.webkit.org/show_bug.cgi?id=53975
Summary Events should propagate through IDBDatabase (for IDBRequest and IDBTransaction)
Jeremy Orlow
Reported 2011-02-07 21:21:35 PST
Events should propagate through IDBDatabase (for IDBRequest and IDBTransaction)
Attachments
Patch (39.10 KB, patch)
2011-02-07 21:24 PST, Jeremy Orlow
no flags
Patch (39.30 KB, patch)
2011-02-08 15:47 PST, Jeremy Orlow
japhet: review+
Jeremy Orlow
Comment 1 2011-02-07 21:24:06 PST
Jeremy Orlow
Comment 2 2011-02-07 21:24:37 PST
please review
WebKit Review Bot
Comment 3 2011-02-07 21:57:11 PST
WebKit Review Bot
Comment 4 2011-02-08 00:46:19 PST
Jeremy Orlow
Comment 5 2011-02-08 15:47:58 PST
Nate Chapin
Comment 6 2011-02-08 16:05:16 PST
Comment on attachment 81708 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=81708&action=review > Source/WebCore/storage/IDBDatabase.cpp:143 > +ScriptExecutionContext* IDBDatabase::scriptExecutionContext() const > +{ > + return ActiveDOMObject::scriptExecutionContext(); > +} Is there a reason we're overriding this if we're just calling straight to ActiveDOMObject? > Source/WebCore/storage/IDBRequest.cpp:150 > + // If there ever are events that are associated with a database but not have a Grammar nit: "but not have" -> "but do not have" > Source/WebCore/storage/IDBTransaction.cpp:116 > +ScriptExecutionContext* IDBTransaction::scriptExecutionContext() const > +{ > + return ActiveDOMObject::scriptExecutionContext(); > +} > + Same as above: is there a reason for this? Am I missing something obvious?
Jeremy Orlow
Comment 7 2011-02-08 17:01:57 PST
(In reply to comment #6) > (From update of attachment 81708 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=81708&action=review > > > Source/WebCore/storage/IDBDatabase.cpp:143 > > +ScriptExecutionContext* IDBDatabase::scriptExecutionContext() const > > +{ > > + return ActiveDOMObject::scriptExecutionContext(); > > +} > > Is there a reason we're overriding this if we're just calling straight to ActiveDOMObject? In eventTarget.h: virtual ScriptExecutionContext* scriptExecutionContext() const = 0;
Jeremy Orlow
Comment 8 2011-02-08 18:14:29 PST
Zhenyao Mo
Comment 9 2011-02-08 19:18:46 PST
storage/indexeddb/request-event-propagation.html storage/indexeddb/transaction-event-propagation.html are failing on chromium+webkit bots.
Note You need to log in before you can comment on or make changes to this bug.