Currently the DOMRequestState maintained in IDBRequest is propagated to deserializeIDBValue() and idbKeyToScriptValue(). This approach is fine for the V8 implementation of the IDB binding utilities, but in order to implement the binding utilities for JSC, the DOMRequestState should be propagated to injectIDBKeyIntoScriptValue(), createIDBKeyFromScriptValueAndKeyPath(), and canInjectIDBKeyIntoScriptValue() as well.
Created attachment 174525 [details] Propagate DOMRequestState to IndexedDB binding utility functions
Comment on attachment 174525 [details] Propagate DOMRequestState to IndexedDB binding utility functions In general this LGTM, I wonder if we'll also have to stick in some Scope()'s as well. But for now, lets leave them out optimistically.
Comment on attachment 174525 [details] Propagate DOMRequestState to IndexedDB binding utility functions What is a DOMRequestState in JSC? http://trac.webkit.org/browser/trunk/Source/WebCore/bindings/js/DOMRequestState.h didn't find anything.
(In reply to comment #3) > (From update of attachment 174525 [details]) > What is a DOMRequestState in JSC? http://trac.webkit.org/browser/trunk/Source/WebCore/bindings/js/DOMRequestState.h didn't find anything. I haven't yet submitted a patch adding the JSC implementation of DOMRequestState, but I envision it being fairly similar to the IDBJSContext class in Source/WebCore/bindings/js/IDBBindingUtilities.cpp in the most recent patch I submitted for <https://bugs.webkit.org/show_bug.cgi?id=45110>.
Comment on attachment 174525 [details] Propagate DOMRequestState to IndexedDB binding utility functions Ok, so it's basically the exec state. Then this patch makes sense.
Created attachment 174719 [details] Propagate DOMRequestState to IndexedDB binding utility functions I've updated ChangeLogs adding Adam Barth as the reviewer.
Comment on attachment 174719 [details] Propagate DOMRequestState to IndexedDB binding utility functions FYI, the commit queue will automaticaly update the CLs with the reviewer if a committer checks cq+.
Comment on attachment 174719 [details] Propagate DOMRequestState to IndexedDB binding utility functions Clearing flags on attachment: 174719 Committed r134989: <http://trac.webkit.org/changeset/134989>
All reviewed patches have been landed. Closing bug.