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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html

Issue 1644553002: Constructing an RTCPeerConnection with expired certificates should throw an exception. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check expiration at RTCPeerConnection::create, not at parseConfiguration Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Tests the RTCPeerConnection constructor."); 8 description("Tests the RTCPeerConnection constructor.");
9 9
10 shouldNotThrow("new webkitRTCPeerConnection(null);"); 10 shouldNotThrow("new webkitRTCPeerConnection(null);");
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 }, 90 },
91 function() { 91 function() {
92 testFailed('Generating ECDSA P-256'); 92 testFailed('Generating ECDSA P-256');
93 finishJSTest(); 93 finishJSTest();
94 }); 94 });
95 } 95 }
96 // Sequentially test construction with RSA and ECDSA certificates. 96 // Sequentially test construction with RSA and ECDSA certificates.
97 // testCertificates2ECDSA's callback methods mark the end of the async tests. 97 // testCertificates2ECDSA's callback methods mark the end of the async tests.
98 testCertificates1RSA(); 98 testCertificates1RSA();
99 99
100 // TODO(hbos): Make sure constructing with expired certificates throws an except ion once it is possible to
101 // choose the expiration time of certificates, see: crbug.com/569005.
102
100 window.jsTestIsAsync = true; 103 window.jsTestIsAsync = true;
101 window.successfullyParsed = true; 104 window.successfullyParsed = true;
102 </script> 105 </script>
103 </body> 106 </body>
104 </html> 107 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698