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

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

Issue 1383543004: Reland: Store |detail| as a hidden value of custom event wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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('AutocompleteErrorEvent.length', '1'); 12 shouldBe('AutocompleteErrorEvent.length', '1');
13 shouldBe('Blob.length', '0'); 13 shouldBe('Blob.length', '0');
14 shouldBe('CloseEvent.length', '1'); 14 shouldBe('CloseEvent.length', '1');
15 // TODO(bashi): CustomEvent.length == 0 since it uses custom constructor.
16 // Fix this regression once http://crbug.com/529941 is fixed.
15 shouldBe('CustomEvent.length', '1'); 17 shouldBe('CustomEvent.length', '1');
16 shouldBe('DOMFormData.length', '0'); 18 shouldBe('DOMFormData.length', '0');
17 shouldBe('DOMParser.length', '0'); 19 shouldBe('DOMParser.length', '0');
18 shouldBe('DataView.length', '3'); 20 shouldBe('DataView.length', '3');
19 shouldBe('ErrorEvent.length', '1'); 21 shouldBe('ErrorEvent.length', '1');
20 shouldBe('Event.length', '1'); 22 shouldBe('Event.length', '1');
21 shouldBe('EventSource.length', '1'); 23 shouldBe('EventSource.length', '1');
22 shouldBe('Float32Array.length', '3'); 24 shouldBe('Float32Array.length', '3');
23 shouldBe('Float64Array.length', '3'); 25 shouldBe('Float64Array.length', '3');
24 shouldBe('FileReader.length', '0'); 26 shouldBe('FileReader.length', '0');
(...skipping 29 matching lines...) Expand all
54 shouldBe('Worker.length', '1'); 56 shouldBe('Worker.length', '1');
55 shouldBe('URL.length', '1'); 57 shouldBe('URL.length', '1');
56 shouldBe('XMLHttpRequest.length', '0'); 58 shouldBe('XMLHttpRequest.length', '0');
57 shouldBe('XMLSerializer.length', '0'); 59 shouldBe('XMLSerializer.length', '0');
58 shouldBe('XPathEvaluator.length', '0'); 60 shouldBe('XPathEvaluator.length', '0');
59 shouldBe('XSLTProcessor.length', '0'); 61 shouldBe('XSLTProcessor.length', '0');
60 62
61 </script> 63 </script>
62 </body> 64 </body>
63 </html> 65 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698