Changeset 239211 in webkit
- Timestamp:
- Dec 14, 2018 9:44:47 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r239190 r239211 1 2018-12-14 Youenn Fablet <youenn@apple.com> 2 3 IDB should store RTCCertificate 4 https://bugs.webkit.org/show_bug.cgi?id=192599 5 6 Reviewed by Brady Eidson. 7 8 * webrtc/certificates-indexeddb-expected.txt: Added. 9 * webrtc/certificates-indexeddb.html: Added. 10 1 11 2018-12-13 Ryosuke Niwa <rniwa@webkit.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r239206 r239211 1 2018-12-14 Youenn Fablet <youenn@apple.com> 2 3 IDB should store RTCCertificate 4 https://bugs.webkit.org/show_bug.cgi?id=192599 5 6 Reviewed by Brady Eidson. 7 8 In case there is no script execution context, do not create a JS DOM wrapper for RTCCertificate. 9 Instead, create an empty object so that the deserialization can still succeed. 10 This should only impact IDB deserialization in the Network Process which does not need the actual JS DOM wrapper. 11 12 Test: webrtc/certificates-indexeddb.html 13 14 * bindings/js/SerializedScriptValue.cpp: 15 (WebCore::CloneDeserializer::readTerminal): 16 1 17 2018-12-14 Zalan Bujtas <zalan@apple.com> 2 18 -
trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp
r238754 r239211 2718 2718 } 2719 2719 2720 if (!m_isDOMGlobalObject) 2721 return constructEmptyObject(m_exec, m_globalObject->objectPrototype()); 2722 2720 2723 auto rtcCertificate = RTCCertificate::create(SecurityOrigin::createFromString(origin->string()), expires, WTFMove(fingerprints), certificate->takeString(), keyedMaterial->takeString()); 2721 2724 return toJSNewlyCreated(m_exec, jsCast<JSDOMGlobalObject*>(m_globalObject), WTFMove(rtcCertificate));
Note: See TracChangeset
for help on using the changeset viewer.