OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/js-test-pre.js"></script> | 4 <script src="resources/js-test-pre.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'); |
(...skipping 21 matching lines...) Expand all Loading... |
32 shouldBe('MediaController.length', '0'); | 32 shouldBe('MediaController.length', '0'); |
33 shouldBe('MediaStream.length', '0'); | 33 shouldBe('MediaStream.length', '0'); |
34 shouldBe('MessageChannel.length', '0'); | 34 shouldBe('MessageChannel.length', '0'); |
35 shouldBe('MessageEvent.length', '1'); | 35 shouldBe('MessageEvent.length', '1'); |
36 shouldBe('OverflowEvent.length', '1'); | 36 shouldBe('OverflowEvent.length', '1'); |
37 shouldBe('PageTransitionEvent.length', '1'); | 37 shouldBe('PageTransitionEvent.length', '1'); |
38 shouldBe('PeerConnection.length', '2'); | 38 shouldBe('PeerConnection.length', '2'); |
39 shouldBe('PopStateEvent.length', '1'); | 39 shouldBe('PopStateEvent.length', '1'); |
40 shouldBe('ProgressEvent.length', '1'); | 40 shouldBe('ProgressEvent.length', '1'); |
41 shouldBe('ShadowRoot.length', '1'); | 41 shouldBe('ShadowRoot.length', '1'); |
42 shouldBe('SharedWorker.length', '2'); | 42 shouldBe('SharedWorker.length', '1'); |
43 shouldBe('StorageEvent.length', '1'); | 43 shouldBe('StorageEvent.length', '1'); |
44 shouldBe('TextTrackCue.length', '3'); | 44 shouldBe('TextTrackCue.length', '3'); |
45 shouldBe('TrackEvent.length', '1'); | 45 shouldBe('TrackEvent.length', '1'); |
46 shouldBe('Uint16Array.length', '1'); | 46 shouldBe('Uint16Array.length', '1'); |
47 shouldBe('Uint32Array.length', '1'); | 47 shouldBe('Uint32Array.length', '1'); |
48 shouldBe('Uint8Array.length', '1'); | 48 shouldBe('Uint8Array.length', '1'); |
49 shouldBe('Uint8ClampedArray.length', '1'); | 49 shouldBe('Uint8ClampedArray.length', '1'); |
50 shouldBe('WebGLContextEvent.length', '1'); | 50 shouldBe('WebGLContextEvent.length', '1'); |
51 shouldBe('WebKitAnimationEvent.length', '1'); | 51 shouldBe('WebKitAnimationEvent.length', '1'); |
52 shouldBe('WebKitCSSMatrix.length', '0'); | 52 shouldBe('WebKitCSSMatrix.length', '0'); |
53 shouldBe('WebKitMutationObserver.length', '1'); | 53 shouldBe('WebKitMutationObserver.length', '1'); |
54 shouldBe('WebKitPoint.length', '0'); | 54 shouldBe('WebKitPoint.length', '0'); |
55 shouldBe('WebKitTransitionEvent.length', '1'); | 55 shouldBe('WebKitTransitionEvent.length', '1'); |
56 shouldBe('WebSocket.length', '1'); | 56 shouldBe('WebSocket.length', '1'); |
57 shouldBe('Worker.length', '1'); | 57 shouldBe('Worker.length', '1'); |
58 shouldBe('URL.length', '0'); | 58 shouldBe('URL.length', '0'); |
59 shouldBe('XMLHttpRequest.length', '0'); | 59 shouldBe('XMLHttpRequest.length', '0'); |
60 shouldBe('XMLSerializer.length', '0'); | 60 shouldBe('XMLSerializer.length', '0'); |
61 shouldBe('XPathEvaluator.length', '0'); | 61 shouldBe('XPathEvaluator.length', '0'); |
62 shouldBe('XSLTProcessor.length', '0'); | 62 shouldBe('XSLTProcessor.length', '0'); |
63 | 63 |
64 </script> | 64 </script> |
65 <script src="resources/js-test-post.js"></script> | 65 <script src="resources/js-test-post.js"></script> |
66 </body> | 66 </body> |
67 </html> | 67 </html> |
OLD | NEW |