Changeset 147382 in webkit
- Timestamp:
- Apr 1, 2013 10:31:12 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r147380 r147382 1 2013-04-01 Michael Pruett <michael@68k.org> 2 3 [JSC] IndexedDB: Exceptions not thrown for non-cloneable values 4 https://bugs.webkit.org/show_bug.cgi?id=113689 5 6 Reviewed by Kentaro Hara. 7 8 * platform/gtk/TestExpectations: 9 1 10 2013-04-01 Shinya Kawanaka <shinyak@chromium.org> 2 11 -
trunk/LayoutTests/platform/gtk/TestExpectations
r147374 r147382 1384 1384 webkit.org/b/113127 media/track/track-prefer-captions.html [ Timeout ] 1385 1385 1386 webkit.org/b/113689 storage/indexeddb/clone-exception.html [ Failure ]1387 webkit.org/b/113689 storage/indexeddb/exceptions.html [ Failure ]1388 webkit.org/b/113689 storage/indexeddb/structured-clone.html [ Failure ]1389 1390 1386 #//////////////////////////////////////////////////////////////////////////////////////// 1391 1387 # End of Tests failing -
trunk/Source/WebCore/ChangeLog
r147381 r147382 1 2013-04-01 Michael Pruett <michael@68k.org> 2 3 [JSC] IndexedDB: Exceptions not thrown for non-cloneable values 4 https://bugs.webkit.org/show_bug.cgi?id=113689 5 6 Reviewed by Kentaro Hara. 7 8 ScriptValue::serialize() should not clear exceptions thrown during 9 serialization. This change is needed to match behavior in V8. 10 11 Tests: storage/indexeddb/clone-exception.html 12 storage/indexeddb/exceptions.html 13 storage/indexeddb/structured-clone.html 14 15 * bindings/js/ScriptValue.cpp: 16 (WebCore::ScriptValue::serialize): 17 1 18 2013-04-01 Joshua Bell <jsbell@chromium.org> 2 19 -
trunk/Source/WebCore/bindings/js/ScriptValue.cpp
r129574 r147382 106 106 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState, MessagePortArray* messagePorts, ArrayBufferArray* arrayBuffers, bool& didThrow) 107 107 { 108 JSValueRef exception = 0; 109 RefPtr<SerializedScriptValue> serializedValue = SerializedScriptValue::create(toRef(scriptState), toRef(scriptState, jsValue()), messagePorts, arrayBuffers, &exception); 110 didThrow = exception ? true : false; 108 RefPtr<SerializedScriptValue> serializedValue = SerializedScriptValue::create(scriptState, jsValue(), messagePorts, arrayBuffers); 109 didThrow = scriptState->hadException(); 111 110 return serializedValue.release(); 112 111 }
Note: See TracChangeset
for help on using the changeset viewer.