blob: a0a44fee35c3b5f5d724c2ee242d8dbac1f56a1f [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: AudioContext is not defined
PASS AutocompleteErrorEvent.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: DOMFormData is not defined
PASS DOMParser.length is 0
PASS DataView.length is 1
PASS ErrorEvent.length is 1
PASS Event.length is 1
PASS EventSource.length is 1
PASS Float32Array.length is 1
PASS Float64Array.length is 1
PASS FileReader.length is 0
FAIL FileReaderSync.length should be 0. Threw exception ReferenceError: FileReaderSync is not defined
PASS HashChangeEvent.length is 1
PASS Int16Array.length is 1
PASS Int32Array.length is 1
PASS Int8Array.length is 1
FAIL Intent.length should be 3. Threw exception ReferenceError: Intent is not defined
PASS MediaController.length is 0
FAIL MediaStream.length should be 0. Threw exception ReferenceError: MediaStream is not defined
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: PeerConnection is not defined
PASS PopStateEvent.length is 1
PASS ProgressEvent.length is 1
FAIL ShadowRoot.length should be 1. Threw exception ReferenceError: ShadowRoot is not defined
PASS SharedWorker.length is 1
PASS StorageEvent.length is 1
PASS TextTrackCue.length is 3
PASS TrackEvent.length is 1
PASS Uint16Array.length is 1
PASS Uint32Array.length is 1
PASS Uint8Array.length is 1
PASS Uint8ClampedArray.length is 1
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 0
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