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

Side by Side Diff: LayoutTests/fast/events/constructors/focus-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 FocusEvent DOM class."); 9 description("This tests the constructor for the FocusEvent DOM class.");
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 shouldBe("new FocusEvent('eventType', { get relatedTarget() { return 123; } }).r elatedTarget", "null"); 72 shouldBe("new FocusEvent('eventType', { get relatedTarget() { return 123; } }).r elatedTarget", "null");
73 shouldThrow("new FocusEvent('eventType', { get relatedTarget() { throw 'FocusEve nt Error'; } })"); 73 shouldThrow("new FocusEvent('eventType', { get relatedTarget() { throw 'FocusEve nt Error'; } })");
74 74
75 // All initializers are passed. 75 // All initializers are passed.
76 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).bubbles", "true"); 76 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).bubbles", "true");
77 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).cancelable", "true"); 77 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).cancelable", "true");
78 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).view", "window"); 78 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).view", "window");
79 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).detail", "111"); 79 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).detail", "111");
80 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).relatedTarget", "testDiv"); 80 shouldBe("new FocusEvent('eventType', { bubbles: true, cancelable: true, view: w indow, detail: 111, relatedTarget: testDiv }).relatedTarget", "testDiv");
81 </script> 81 </script>
82 <script src="../../js/resources/js-test-post.js"></script>
83 </body> 82 </body>
84 </html> 83 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698