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 46be96dd90743ae5fe624b7235e5aa0066e0e8b9..0026c14f9a7ddb1e9c3ec1e0fd307c077d4fd9a2 100644 |
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html |
@@ -67,9 +67,10 @@ shouldThrow("new webkitRTCPeerConnection({iceServers:[], certificates:[1337]}, n |
// 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({iceServers:[], certificates:[certRSA]}, null);'); |