OLD | NEW |
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 Loading... |
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> |
OLD | NEW |