Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: LayoutTests/fast/dom/call-a-constructor-as-a-function-expected.txt

Issue 23440058: Improve generated TypeError exception messages in bindings. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/mediastream/constructors-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/call-a-constructor-as-a-function-expected.txt
diff --git a/LayoutTests/fast/dom/call-a-constructor-as-a-function-expected.txt b/LayoutTests/fast/dom/call-a-constructor-as-a-function-expected.txt
index 03388ebb12224fecabbbc84cb90d3c11299f729b..81f797c3f935d61dfe2c16b85a4a14fdfe0bc57d 100644
--- a/LayoutTests/fast/dom/call-a-constructor-as-a-function-expected.txt
+++ b/LayoutTests/fast/dom/call-a-constructor-as-a-function-expected.txt
@@ -5,29 +5,29 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS ArrayBuffer() threw exception TypeError: Constructor ArrayBuffer requires 'new'.
SKIP AudioContext is not implemented.
-PASS FormData() threw exception TypeError: DOM object constructor cannot be called as a function..
+PASS FormData() threw exception TypeError: Failed to construct 'DOMFormData': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
PASS DataView() threw exception TypeError: Constructor DataView requires 'new'.
-PASS EventSource() threw exception TypeError: DOM object constructor cannot be called as a function..
-PASS FileReader() threw exception TypeError: DOM object constructor cannot be called as a function..
+PASS EventSource() threw exception TypeError: Failed to construct 'EventSource': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
+PASS FileReader() threw exception TypeError: Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
PASS Float32Array() threw exception TypeError: Constructor Float32Array requires 'new'.
PASS Float64Array() threw exception TypeError: Constructor Float64Array requires 'new'.
-PASS Audio() threw exception TypeError: DOM object constructor cannot be called as a function..
+PASS Audio() threw exception TypeError: Failed to construct 'HTMLAudioElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
PASS Image() threw exception TypeError: DOM object constructor cannot be called as a function..
-PASS Option() threw exception TypeError: DOM object constructor cannot be called as a function..
+PASS Option() threw exception TypeError: Failed to construct 'HTMLOptionElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
PASS Int16Array() threw exception TypeError: Constructor Int16Array requires 'new'.
PASS Int32Array() threw exception TypeError: Constructor Int32Array requires 'new'.
PASS Int8Array() threw exception TypeError: Constructor Int8Array requires 'new'.
-PASS MessageChannel() threw exception TypeError: DOM object constructor cannot be called as a function..
-PASS SharedWorker() threw exception TypeError: DOM object constructor cannot be called as a function..
+PASS MessageChannel() threw exception TypeError: Failed to construct 'MessageChannel': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
+PASS SharedWorker() threw exception TypeError: Failed to construct 'SharedWorker': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
PASS Uint16Array() threw exception TypeError: Constructor Uint16Array requires 'new'.
PASS Uint32Array() threw exception TypeError: Constructor Uint32Array requires 'new'.
PASS Uint8Array() threw exception TypeError: Constructor Uint8Array requires 'new'.
-PASS WebKitCSSMatrix() threw exception TypeError: DOM object constructor cannot be called as a function..
-PASS WebKitPoint() threw exception TypeError: DOM object constructor cannot be called as a function..
-PASS WebSocket() threw exception TypeError: DOM object constructor cannot be called as a function..
-PASS Worker() threw exception TypeError: DOM object constructor cannot be called as a function..
-PASS XMLHttpRequest() threw exception TypeError: DOM object constructor cannot be called as a function..
-PASS XSLTProcessor() threw exception TypeError: DOM object constructor cannot be called as a function..
+PASS WebKitCSSMatrix() threw exception TypeError: Failed to construct 'CSSMatrix': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
+PASS WebKitPoint() threw exception TypeError: Failed to construct 'DOMPoint': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
+PASS WebSocket() threw exception TypeError: Failed to construct 'WebSocket': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
+PASS Worker() threw exception TypeError: Failed to construct 'Worker': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
+PASS XMLHttpRequest() threw exception TypeError: Failed to construct 'XMLHttpRequest': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
+PASS XSLTProcessor() threw exception TypeError: Failed to construct 'XSLTProcessor': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « no previous file | LayoutTests/fast/mediastream/constructors-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698