| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <script> |
| </script> |
| <script src="../../js-test-resources/js-test-pre.js"></script> |
| </head> |
| <body> |
| <p id="description"></p> |
| <div id="console"></div> |
| <script> |
| description("This test checks that Web Timing reports secureConnectionStart correctly and has reasonable values for connectStart and connectEnd."); |
| |
| window.performance = window.performance || {}; |
| var navigation = performance.navigation || {}; |
| var timing = performance.timing || {}; |
| |
| shouldBeGreaterThanOrEqual("timing.connectStart", "timing.navigationStart"); |
| shouldBeGreaterThanOrEqual("timing.secureConnectionStart", "timing.connectStart"); |
| shouldBeGreaterThanOrEqual("timing.connectEnd", "timing.secureConnectionStart"); |
| |
| </script> |
| <script src="../../js-test-resources/js-test-post.js"></script> |
| </body> |
| </html> |