blob: f9b643d4f0bc760d23668f65b8728ef1fa310b2e [file] [log] [blame]
This tests the length property of constructors.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ArrayBuffer.length is 1
FAIL AudioContext.length should be 0. Threw exception ReferenceError: Can't find variable: AudioContext
FAIL AutocompleteErrorEvent.length should be 1. Threw exception ReferenceError: Can't find variable: AutocompleteErrorEvent
PASS AnimationEvent.length is 1
PASS BeforeLoadEvent.length is 1
PASS Blob.length is 0
PASS CloseEvent.length is 1
PASS CustomEvent.length is 1
FAIL DOMFormData.length should be 0. Threw exception ReferenceError: Can't find variable: DOMFormData
PASS DOMParser.length is 0
PASS DataView.length is 3
PASS ErrorEvent.length is 1
PASS Event.length is 1
PASS EventSource.length is 1
PASS Float32Array.length is 3
PASS Float64Array.length is 3
PASS FileReader.length is 0
FAIL FileReaderSync.length should be 0. Threw exception ReferenceError: Can't find variable: FileReaderSync
PASS HashChangeEvent.length is 1
PASS Int16Array.length is 3
PASS Int32Array.length is 3
PASS Int8Array.length is 3
FAIL Intent.length should be 3. Threw exception ReferenceError: Can't find variable: Intent
PASS MediaController.length is 0
PASS MediaStream.length is 0
PASS MessageChannel.length is 0
PASS MessageEvent.length is 1
PASS OverflowEvent.length is 1
PASS PageTransitionEvent.length is 1
FAIL PeerConnection.length should be 2. Threw exception ReferenceError: Can't find variable: PeerConnection
PASS PopStateEvent.length is 1
PASS ProgressEvent.length is 1
FAIL ShadowRoot.length should be 1. Was 0.
PASS StorageEvent.length is 1
PASS TextTrackCue.length is 0
PASS TrackEvent.length is 1
PASS Uint16Array.length is 3
PASS Uint32Array.length is 3
PASS Uint8Array.length is 3
PASS Uint8ClampedArray.length is 3
PASS VTTCue.length is 3
PASS WebGLContextEvent.length is 1
PASS WebKitAnimationEvent.length is 1
PASS WebKitCSSMatrix.length is 0
PASS WebKitMutationObserver.length is 1
PASS WebKitPoint.length is 0
PASS WebKitTransitionEvent.length is 1
PASS WebSocket.length is 1
PASS Worker.length is 1
PASS URL.length is 1
PASS XMLHttpRequest.length is 0
PASS XMLSerializer.length is 0
PASS XPathEvaluator.length is 0
PASS XSLTProcessor.length is 0
PASS successfullyParsed is true
TEST COMPLETE