| 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'); |
| 11 shouldBe('AudioContext.length', '0'); | 11 shouldBe('AudioContext.length', '0'); |
| 12 shouldBe('AutocompleteErrorEvent.length', '2'); | 12 shouldBe('AutocompleteErrorEvent.length', '1'); |
| 13 shouldBe('BeforeLoadEvent.length', '2'); | 13 shouldBe('BeforeLoadEvent.length', '1'); |
| 14 shouldBe('Blob.length', '2'); | 14 shouldBe('Blob.length', '0'); |
| 15 shouldBe('CloseEvent.length', '2'); | 15 shouldBe('CloseEvent.length', '1'); |
| 16 shouldBe('CustomEvent.length', '2'); | 16 shouldBe('CustomEvent.length', '1'); |
| 17 shouldBe('DOMFormData.length', '0'); | 17 shouldBe('DOMFormData.length', '0'); |
| 18 shouldBe('DOMParser.length', '0'); | 18 shouldBe('DOMParser.length', '0'); |
| 19 shouldBe('DataView.length', '3'); | 19 shouldBe('DataView.length', '1'); |
| 20 shouldBe('ErrorEvent.length', '2'); | 20 shouldBe('ErrorEvent.length', '1'); |
| 21 shouldBe('Event.length', '2'); | 21 shouldBe('Event.length', '1'); |
| 22 shouldBe('EventSource.length', '2'); | 22 shouldBe('EventSource.length', '1'); |
| 23 shouldBe('Float32Array.length', '1'); | 23 shouldBe('Float32Array.length', '1'); |
| 24 shouldBe('Float64Array.length', '1'); | 24 shouldBe('Float64Array.length', '1'); |
| 25 shouldBe('FileReader.length', '0'); | 25 shouldBe('FileReader.length', '0'); |
| 26 shouldBe('FileReaderSync.length', '0'); | 26 shouldBe('FileReaderSync.length', '0'); |
| 27 shouldBe('HashChangeEvent.length', '2'); | 27 shouldBe('HashChangeEvent.length', '1'); |
| 28 shouldBe('Int16Array.length', '1'); | 28 shouldBe('Int16Array.length', '1'); |
| 29 shouldBe('Int32Array.length', '1'); | 29 shouldBe('Int32Array.length', '1'); |
| 30 shouldBe('Int8Array.length', '1'); | 30 shouldBe('Int8Array.length', '1'); |
| 31 shouldBe('Intent.length', '3'); | 31 shouldBe('Intent.length', '3'); |
| 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', '2'); | 35 shouldBe('MessageEvent.length', '1'); |
| 36 shouldBe('OverflowEvent.length', '2'); | 36 shouldBe('OverflowEvent.length', '1'); |
| 37 shouldBe('PageTransitionEvent.length', '2'); | 37 shouldBe('PageTransitionEvent.length', '1'); |
| 38 shouldBe('PeerConnection.length', '2'); | 38 shouldBe('PeerConnection.length', '2'); |
| 39 shouldBe('PopStateEvent.length', '2'); | 39 shouldBe('PopStateEvent.length', '1'); |
| 40 shouldBe('ProgressEvent.length', '2'); | 40 shouldBe('ProgressEvent.length', '1'); |
| 41 shouldBe('ShadowRoot.length', '1'); | 41 shouldBe('ShadowRoot.length', '1'); |
| 42 shouldBe('SharedWorker.length', '2'); | 42 shouldBe('SharedWorker.length', '2'); |
| 43 shouldBe('StorageEvent.length', '2'); | 43 shouldBe('StorageEvent.length', '1'); |
| 44 shouldBe('TextTrackCue.length', '3'); | 44 shouldBe('TextTrackCue.length', '3'); |
| 45 shouldBe('TrackEvent.length', '2'); | 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', '2'); | 50 shouldBe('WebGLContextEvent.length', '1'); |
| 51 shouldBe('WebKitAnimationEvent.length', '2'); | 51 shouldBe('WebKitAnimationEvent.length', '1'); |
| 52 shouldBe('WebKitCSSMatrix.length', '1'); | 52 shouldBe('WebKitCSSMatrix.length', '0'); |
| 53 shouldBe('WebKitMutationObserver.length', '1'); | 53 shouldBe('WebKitMutationObserver.length', '1'); |
| 54 shouldBe('WebKitPoint.length', '2'); | 54 shouldBe('WebKitPoint.length', '0'); |
| 55 shouldBe('WebKitTransitionEvent.length', '2'); | 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 |