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

Side by Side Diff: LayoutTests/fast/events/constructors/hash-change-event-constructor.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 8
9 description("This tests the constructor for the HashChangeEvent DOM class."); 9 description("This tests the constructor for the HashChangeEvent DOM class.");
10 10
(...skipping 30 matching lines...) Expand all
41 shouldBeEqualToString("new HashChangeEvent('eventType', { " + attr + ": {dor emi: 12345} })." + attr, "[object Object]"); 41 shouldBeEqualToString("new HashChangeEvent('eventType', { " + attr + ": {dor emi: 12345} })." + attr, "[object Object]");
42 shouldBeEqualToString("new HashChangeEvent('eventType', { " + attr + ": {val ueOf: function () { return 'doremi'; } } })." + attr, "[object Object]"); 42 shouldBeEqualToString("new HashChangeEvent('eventType', { " + attr + ": {val ueOf: function () { return 'doremi'; } } })." + attr, "[object Object]");
43 }); 43 });
44 44
45 // All initializers are passed. 45 // All initializers are passed.
46 shouldBe("new HashChangeEvent('eventType', { bubbles: true, cancelable: true, ol dURL: 'doremi', newURL: 'andre' }).bubbles", "true"); 46 shouldBe("new HashChangeEvent('eventType', { bubbles: true, cancelable: true, ol dURL: 'doremi', newURL: 'andre' }).bubbles", "true");
47 shouldBe("new HashChangeEvent('eventType', { bubbles: true, cancelable: true, ol dURL: 'doremi', newURL: 'andre' }).cancelable", "true"); 47 shouldBe("new HashChangeEvent('eventType', { bubbles: true, cancelable: true, ol dURL: 'doremi', newURL: 'andre' }).cancelable", "true");
48 shouldBeEqualToString("new HashChangeEvent('eventType', { bubbles: true, cancela ble: true, oldURL: 'doremi', newURL: 'andre' }).oldURL", "doremi"); 48 shouldBeEqualToString("new HashChangeEvent('eventType', { bubbles: true, cancela ble: true, oldURL: 'doremi', newURL: 'andre' }).oldURL", "doremi");
49 shouldBeEqualToString("new HashChangeEvent('eventType', { bubbles: true, cancela ble: true, oldURL: 'doremi', newURL: 'andre' }).newURL", "andre"); 49 shouldBeEqualToString("new HashChangeEvent('eventType', { bubbles: true, cancela ble: true, oldURL: 'doremi', newURL: 'andre' }).newURL", "andre");
50 </script> 50 </script>
51 <script src="../../js/resources/js-test-post.js"></script>
52 </body> 51 </body>
53 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698