Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt

Issue 2444323002: Throw InvalidAccessError for expired RTCCertificate (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt
index 63a31e4443eb2ac5cf2c13fcd9dbbbfc159c62ba..dc60d615637ceb626ca9ebd91422f72307dbbf7b 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt
@@ -84,9 +84,7 @@ FAIL new RTCPeerConnection({ iceCandidatePoolSize: toNumberThrows }) assert_thro
eval(expr);
}" did not throw
PASS new RTCPeerConnection({ certificates: [certificate] })
-FAIL new RTCPeerConnection({ certificates: [expiredCertificate] }) assert_throws: function "function () {
- new RTCPeerConnection({ certificates: [certificate] });
- }" threw object "InvalidStateError: Failed to construct 'RTCPeerConnection': Expired certificate(s)." that is not a DOMException InvalidAccessError: property "code" is equal to 11, expected 15
+PASS new RTCPeerConnection({ certificates: [expiredCertificate] })
PASS localDescription initial value
FAIL currentLocalDescription initial value assert_equals: expected (object) null but got (undefined) undefined
FAIL pendingLocalDescription initial value assert_equals: expected (object) null but got (undefined) undefined

Powered by Google App Engine
This is Rietveld 408576698