Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
index f256f8576b462c794c23803ff73e3a29fe6285a2..7af1cec12bb1678f255c0af7a6a515f3564f510c 100644 |
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
@@ -69,9 +69,10 @@ shouldThrow("new webkitRTCPeerConnection({certificates:[1337]}, null);"); |
// Global certificate variables so that the "should..." methods can evaluate them. |
var certRSA = null; |
var certECDSA = null; |
+ |
function testCertificates1RSA() |
{ |
- webkitRTCPeerConnection.generateCertificate({ name: "RSASSA-PKCS1-v1_5", modulusLength: 2048, publicExponent: 65537 }) |
+ webkitRTCPeerConnection.generateCertificate({ name: "RSASSA-PKCS1-v1_5", modulusLength: 2048, publicExponent: new Uint8Array([1, 0, 1]), hash: "SHA-256" }) |
.then(function(certificate) { |
certRSA = certificate; |
shouldNotThrow('new webkitRTCPeerConnection({certificates:[certRSA]}, null);'); |