Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / call-a-constructor-as-a-function-expected.txt
1 This tests if TypeError is thrown or not when we call a constructor as a normal function.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS ArrayBuffer() threw exception TypeError: Constructor ArrayBuffer requires 'new'.
7 PASS AudioContext() threw exception TypeError: Failed to construct 'AudioContext': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
8 PASS FormData() threw exception TypeError: Failed to construct 'FormData': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
9 PASS DataView() threw exception TypeError: Constructor DataView requires 'new'.
10 PASS EventSource() threw exception TypeError: Failed to construct 'EventSource': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
11 PASS FileReader() threw exception TypeError: Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
12 PASS Float32Array() threw exception TypeError: Constructor Float32Array requires 'new'.
13 PASS Float64Array() threw exception TypeError: Constructor Float64Array requires 'new'.
14 PASS Audio() threw exception TypeError: Failed to construct 'Audio': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
15 PASS Image() threw exception TypeError: Failed to construct 'Image': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
16 PASS Option() threw exception TypeError: Failed to construct 'Option': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
17 PASS Int16Array() threw exception TypeError: Constructor Int16Array requires 'new'.
18 PASS Int32Array() threw exception TypeError: Constructor Int32Array requires 'new'.
19 PASS Int8Array() threw exception TypeError: Constructor Int8Array requires 'new'.
20 PASS MessageChannel() threw exception TypeError: Failed to construct 'MessageChannel': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
21 PASS SharedWorker() threw exception TypeError: Failed to construct 'SharedWorker': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
22 PASS Uint16Array() threw exception TypeError: Constructor Uint16Array requires 'new'.
23 PASS Uint32Array() threw exception TypeError: Constructor Uint32Array requires 'new'.
24 PASS Uint8Array() threw exception TypeError: Constructor Uint8Array requires 'new'.
25 PASS WebKitCSSMatrix() threw exception TypeError: Failed to construct 'WebKitCSSMatrix': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
26 PASS WebSocket() threw exception TypeError: Failed to construct 'WebSocket': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
27 PASS Worker() threw exception TypeError: Failed to construct 'Worker': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
28 PASS XMLHttpRequest() threw exception TypeError: Failed to construct 'XMLHttpRequest': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
29 PASS XSLTProcessor() threw exception TypeError: Failed to construct 'XSLTProcessor': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33