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

Side by Side Diff: LayoutTests/fast/events/constructors/autocomplete-error-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 AutocompleteErrorEvent DOM class ."); 9 description("This tests the constructor for the AutocompleteErrorEvent DOM class .");
10 10
(...skipping 29 matching lines...) Expand all
40 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { reason: {do remi: 12345} }).reason", "[object Object]"); 40 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { reason: {do remi: 12345} }).reason", "[object Object]");
41 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { reason: {va lueOf: function () { return 'doremi'; } } }).reason", "[object Object]"); 41 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { reason: {va lueOf: function () { return 'doremi'; } } }).reason", "[object Object]");
42 42
43 // All initializers are passed. 43 // All initializers are passed.
44 shouldBe("new AutocompleteErrorEvent('eventType', { bubbles: true, cancelabl e: true, reason: 'doremi' }).bubbles", "true"); 44 shouldBe("new AutocompleteErrorEvent('eventType', { bubbles: true, cancelabl e: true, reason: 'doremi' }).bubbles", "true");
45 shouldBe("new AutocompleteErrorEvent('eventType', { bubbles: true, cancelabl e: true, reason: 'doremi' }).cancelable", "true"); 45 shouldBe("new AutocompleteErrorEvent('eventType', { bubbles: true, cancelabl e: true, reason: 'doremi' }).cancelable", "true");
46 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { bubbles: tr ue, cancelable: true, reason: 'doremi' }).reason", "doremi"); 46 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { bubbles: tr ue, cancelable: true, reason: 'doremi' }).reason", "doremi");
47 } 47 }
48 48
49 </script> 49 </script>
50 <script src="../../js/resources/js-test-post.js"></script>
51 </body> 50 </body>
52 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698