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

Side by Side Diff: LayoutTests/fast/js/function-length.html

Issue 174073007: Remove deprecated window.showModalDialog() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months 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="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("This tests the length property of functions."); 8 description("This tests the length property of functions.");
9 9
10 shouldBe('window.confirm.length', '0'); 10 shouldBe('window.confirm.length', '0');
11 shouldBe('window.open.length', '2'); 11 shouldBe('window.open.length', '2');
12 shouldBe('window.showModalDialog.length', '1');
13 shouldBe('window.setTimeout.length', '1'); 12 shouldBe('window.setTimeout.length', '1');
14 shouldBe('window.clearTimeout.length', '0'); 13 shouldBe('window.clearTimeout.length', '0');
15 shouldBe('window.addEventListener.length', '2'); 14 shouldBe('window.addEventListener.length', '2');
16 shouldBe('window.postMessage.length', '2'); 15 shouldBe('window.postMessage.length', '2');
17 shouldBe('window.dispatchEvent.length', '1'); 16 shouldBe('window.dispatchEvent.length', '1');
18 shouldBe('window.openDatabase.length', '4'); 17 shouldBe('window.openDatabase.length', '4');
19 shouldBe('window.history.pushState.length', '2'); 18 shouldBe('window.history.pushState.length', '2');
20 shouldBe('window.history.length', '1'); 19 shouldBe('window.history.length', '1');
21 shouldBe('window.URL.createObjectURL.length', '1'); 20 shouldBe('window.URL.createObjectURL.length', '1');
22 shouldBe('window.Storage.prototype.key.length', '1'); 21 shouldBe('window.Storage.prototype.key.length', '1');
(...skipping 15 matching lines...) Expand all
38 shouldBe('Math.min.length', '2'); 37 shouldBe('Math.min.length', '2');
39 shouldBe('Function.prototype.apply.length', '2'); 38 shouldBe('Function.prototype.apply.length', '2');
40 shouldBe('Function.prototype.call.length', '1'); 39 shouldBe('Function.prototype.call.length', '1');
41 shouldBe('String.prototype.split.length', '2'); 40 shouldBe('String.prototype.split.length', '2');
42 shouldBe('String.prototype.substring.length', '2'); 41 shouldBe('String.prototype.substring.length', '2');
43 42
44 43
45 </script> 44 </script>
46 </body> 45 </body>
47 </html> 46 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/harness/show-modal-dialog-expected.txt ('k') | LayoutTests/fast/js/function-length-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698