blob: 9dddae497fa49beaa0fe7c567b5608d7471c01e6 [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 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
FAIL MediaStream.length should be 0. Threw exception ReferenceError: Can't find variable: MediaStream
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. Threw exception ReferenceError: Can't find variable: ShadowRoot
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
FAIL WebGLContextEvent.length should be 1. Threw exception ReferenceError: Can't find variable: WebGLContextEvent
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