[Webkit-unassigned] [Bug 40835] Adds support for throwing behavior of SerializedScriptValue to be specified in the IDL.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 24 07:48:02 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40835
Jeremy Orlow <jorlow at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #59405|review? |review-
Flag| |
--- Comment #22 from Jeremy Orlow <jorlow at chromium.org> 2010-06-24 07:48:02 PST ---
(From update of attachment 59405)
WebCore/bindings/js/SerializedScriptValue.cpp:987
+ PassRefPtr<SerializedScriptValue> serializedValue = new SerializedScriptValue(SerializedScriptValueData::serialize(exec, value));
RefPtr not PassRefPtr
WebCore/bindings/js/SerializedScriptValue.cpp:994
+ return serializedValue;
.release() here.
WebCore/bindings/js/SerializedScriptValue.cpp:981
+ PassRefPtr<SerializedScriptValue> serializedValue = SerializedScriptValue::create(exec, value, &ec);
Don't you need to set the dom exception here as well?
Also don't use PassRefPtr within a function.
WebCore/bindings/scripts/CodeGeneratorJS.pm:1719
+ push(@implContent, " podImp = " . JSValueToNative($attribute->signature, "value", 0) . ";\n");
Use booleans.
WebCore/bindings/scripts/CodeGeneratorJS.pm:1721
+ push(@implContent, " podImp.set$implSetterFunctionName(" . JSValueToNative($attribute->signature, "value", 0) . ");\n");
ditto (and elsewhere)
LayoutTests/storage/indexeddb/script-tests/idb-add-serialized-script-value.js:1
+ description("Test IndexedDB's openCursor.");
Update the description.
LayoutTests/storage/indexeddb/resources/shared.js:52
+ testFailed("Success function called unexpectedly: (" + event.code + ") " + event.message);
There will be no code/message.
LayoutTests/fast/loader/stateobjects/initpopstateevent-expected.txt:5
+ PASS serialized script value threw an exception due to a cycle.
Put a message in the beginning saying it'll print "COMPLETE" when done and then add code to do that.
--
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