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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/js/constructor-length.html

Issue 2015673003: Use correct signature for custom constructor of CustomEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 constructors."); 8 description("This tests the length property of constructors.");
9 9
10 shouldBe('ArrayBuffer.length', '1'); 10 shouldBe('ArrayBuffer.length', '1');
11 shouldBe('AudioContext.length', '0'); 11 shouldBe('AudioContext.length', '0');
12 shouldBe('Blob.length', '0'); 12 shouldBe('Blob.length', '0');
13 shouldBe('CloseEvent.length', '1'); 13 shouldBe('CloseEvent.length', '1');
14 // TODO(bashi): CustomEvent.length == 0 since it uses custom constructor.
15 // Fix this regression once http://crbug.com/529941 is fixed.
16 shouldBe('CustomEvent.length', '1'); 14 shouldBe('CustomEvent.length', '1');
17 shouldBe('DOMFormData.length', '0'); 15 shouldBe('DOMFormData.length', '0');
18 shouldBe('DOMParser.length', '0'); 16 shouldBe('DOMParser.length', '0');
19 shouldBe('DataView.length', '3'); 17 shouldBe('DataView.length', '3');
20 shouldBe('ErrorEvent.length', '1'); 18 shouldBe('ErrorEvent.length', '1');
21 shouldBe('Event.length', '1'); 19 shouldBe('Event.length', '1');
22 shouldBe('EventSource.length', '1'); 20 shouldBe('EventSource.length', '1');
23 shouldBe('Float32Array.length', '3'); 21 shouldBe('Float32Array.length', '3');
24 shouldBe('Float64Array.length', '3'); 22 shouldBe('Float64Array.length', '3');
25 shouldBe('FileReader.length', '0'); 23 shouldBe('FileReader.length', '0');
(...skipping 28 matching lines...) Expand all
54 shouldBe('Worker.length', '1'); 52 shouldBe('Worker.length', '1');
55 shouldBe('URL.length', '1'); 53 shouldBe('URL.length', '1');
56 shouldBe('XMLHttpRequest.length', '0'); 54 shouldBe('XMLHttpRequest.length', '0');
57 shouldBe('XMLSerializer.length', '0'); 55 shouldBe('XMLSerializer.length', '0');
58 shouldBe('XPathEvaluator.length', '0'); 56 shouldBe('XPathEvaluator.length', '0');
59 shouldBe('XSLTProcessor.length', '0'); 57 shouldBe('XSLTProcessor.length', '0');
60 58
61 </script> 59 </script>
62 </body> 60 </body>
63 </html> 61 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/js/constructor-length-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698