[Webkit-unassigned] [Bug 101725] [V8] Inspector does not callback IDB methods in context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 9 01:38:31 PST 2012


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





--- Comment #2 from Dan Carney <dcarney at google.com>  2012-11-09 01:40:08 PST ---
This is a hack in the style of the previous idb hack. It should be done properly, but I'm not sure how to do that here. All three points I injected the context have stack traces similar to:

WebCore::IDBOpenDBRequest::create(WebCore::ScriptExecutionContext*, WTF::PassRefPtr<WebCore::IDBAny>, WTF::PassRefPtr<WebCore::IDBDatabaseCallbacksImpl>, long) at IDBOpenDBRequest.cpp:42
WebCore::IDBFactory::openInternal(WebCore::ScriptExecutionContext*, WTF::String const&, long, int&) at IDBFactory.cpp:130
WebCore::IDBFactory::open(WebCore::ScriptExecutionContext*, WTF::String const&, int&) at IDBFactory.cpp:138
start at InspectorIndexedDBAgent.cpp:210
WebCore::InspectorIndexedDBAgent::requestDatabase(WTF::String*, WTF::String const&, WTF::String const&, WTF::PassRefPtr<WebCore::InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDatabaseCallback>) at InspectorIndexedDBAgent.cpp:669
WebCore::InspectorBackendDispatcherImpl::IndexedDB_requestDatabase(long, WebCore::InspectorObject*) at InspectorBackendDispatcher.cpp:2147
WebCore::InspectorBackendDispatcherImpl::dispatch(WTF::String const&) at InspectorBackendDispatcher.cpp:5660
WebCore::InspectorController::dispatchMessageFromFrontend(WTF::String const&) at InspectorController.cpp:343
WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend(WebKit::WebString const&) at WebDevToolsAgentImpl.cpp:565

I see no better place to to the context injection.

Finally, I used the main world here but I have no idea if that it the correct thing to do.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list