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

Side by Side Diff: LayoutTests/http/tests/misc/resources/webtiming-two-redirects.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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="../../js-test-resources/js-test-pre.js"></script> 4 <script src="../../js-test-resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 description("This test checks that Web Timing reports redirectCount correctly an d has reasonable values for redirectStart and redirectCount."); 10 description("This test checks that Web Timing reports redirectCount correctly an d has reasonable values for redirectStart and redirectCount.");
11 11
12 window.performance = window.performance || {}; 12 window.performance = window.performance || {};
13 var navigation = performance.navigation || {}; 13 var navigation = performance.navigation || {};
14 var timing = performance.timing || {}; 14 var timing = performance.timing || {};
15 15
16 shouldBeGreaterThanOrEqual("timing.redirectStart", "timing.navigationStart"); 16 shouldBeGreaterThanOrEqual("timing.redirectStart", "timing.navigationStart");
17 shouldBeGreaterThanOrEqual("timing.redirectEnd", "timing.redirectStart"); 17 shouldBeGreaterThanOrEqual("timing.redirectEnd", "timing.redirectStart");
18 shouldBe("navigation.redirectCount", "2"); 18 shouldBe("navigation.redirectCount", "2");
19 19
20 </script> 20 </script>
21 <script src="../../js-test-resources/js-test-post.js"></script>
22 </body> 21 </body>
23 </html> 22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/misc/resources/webtiming-ssl.html ('k') | LayoutTests/http/tests/misc/script-async.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698