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: LayoutTests/fast/loader/stateobjects/state-attribute-object-types.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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head/> 5 </head/>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('This test calls pushState with state objects of all the differe nt object types supported by the HTML5 "internal structured cloning algorithm" a nd makes sure the state attribute returns the expected objects.'); 8 description('This test calls pushState with state objects of all the differe nt object types supported by the HTML5 "internal structured cloning algorithm" a nd makes sure the state attribute returns the expected objects.');
9 9
10 if (window.testRunner) 10 if (window.testRunner)
(...skipping 20 matching lines...) Expand all
31 shouldBe("+history.state", "+(new Date(0))"); 31 shouldBe("+history.state", "+(new Date(0))");
32 history.pushState(new RegExp("foo", "gi"), "RegExp entry"); 32 history.pushState(new RegExp("foo", "gi"), "RegExp entry");
33 shouldEvaluateTo("history.state", new RegExp("foo", "gi")); 33 shouldEvaluateTo("history.state", new RegExp("foo", "gi"));
34 history.pushState(new Array, "Array entry"); 34 history.pushState(new Array, "Array entry");
35 shouldEvaluateTo("history.state", new Array); 35 shouldEvaluateTo("history.state", new Array);
36 history.pushState(new Object, "Object entry"); 36 history.pushState(new Object, "Object entry");
37 shouldEvaluateTo("history.state", new Object); 37 shouldEvaluateTo("history.state", new Object);
38 history.pushState(document.createElement("canvas").getContext("2d").createIm ageData(10,10), "ImageData entry"); 38 history.pushState(document.createElement("canvas").getContext("2d").createIm ageData(10,10), "ImageData entry");
39 shouldEvaluateTo("history.state", document.createElement("canvas").getContex t("2d").createImageData(10,10)); 39 shouldEvaluateTo("history.state", document.createElement("canvas").getContex t("2d").createImageData(10,10));
40 </script> 40 </script>
41 <script src="../../js/resources/js-test-post.js"></script>
42 </body> 41 </body>
43 </html> 42 </html>
44 43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698