[Webkit-unassigned] [Bug 113091] [V8] IndexedDB: Exceptions thrown inconsistently for non-cloneable values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 22 15:16:45 PDT 2013


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





--- Comment #4 from Joshua Bell <jsbell at chromium.org>  2013-03-22 15:19:11 PST ---
Applying this patch to IDBObjectStore resolves the first issue, but it seems like it should not be necessary.

-    RefPtr<SerializedScriptValue> serializedValue = value.serialize(state);
-    if (state->hadException()) {
+    bool didThrow = false;
+    RefPtr<SerializedScriptValue> serializedValue = value.serialize(state, 0, 0, didThrow);
+    if (didThrow || state->hadException()) {

-- 
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