Searched refs:throwError (Results 1 - 25 of 96) sorted by relevance

1234

/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8AudioNodeCustom.cpp42 return throwError("Not enough arguments", V8Proxy::SyntaxError);
46 return throwError("Invalid destination node", V8Proxy::SyntaxError);
54 return throwError("Invalid index parameters", V8Proxy::SyntaxError);
60 return throwError("Invalid index parameters", V8Proxy::SyntaxError);
66 return throwError("Invalid index parameter", V8Proxy::SyntaxError);
78 return throwError("Invalid index parameters", V8Proxy::SyntaxError);
84 return throwError("Invalid index parameter", V8Proxy::SyntaxError);
H A DV8WebSocketCustom.cpp53 return throwError("DOM object custructor cannot be called as a function.");
55 return throwError("Not enough arguments", V8Proxy::SyntaxError);
60 return throwError(tryCatch.Exception());
62 return throwError("Empty URL", V8Proxy::SyntaxError);
67 return throwError("WebSocket constructor's associated frame is not available", V8Proxy::ReferenceError);
80 return throwError(tryCatchProtocol.Exception());
84 return throwError(ec);
H A DV8AudioContextCustom.cpp48 return throwError("AudioContext constructor associated frame is unavailable", V8Proxy::ReferenceError);
52 return throwError("AudioContext constructor associated document is unavailable", V8Proxy::ReferenceError);
63 return throwError("Not enough arguments", V8Proxy::SyntaxError);
69 return throwError("Invalid number of channels", V8Proxy::SyntaxError);
73 return throwError("Invalid number of frames", V8Proxy::SyntaxError);
81 return throwError("Error creating AudioContext", V8Proxy::SyntaxError);
93 return throwError("Not enough arguments", V8Proxy::SyntaxError);
111 return throwError("Error decoding audio file data", V8Proxy::SyntaxError);
121 return throwError("Not enough arguments", V8Proxy::SyntaxError);
127 return throwError("Invali
[all...]
H A DV8EventSourceConstructor.cpp51 return throwError("DOM object constructor cannot be called as a function.", V8Proxy::TypeError);
57 return throwError("EventSource constructor's associated context is not available", V8Proxy::ReferenceError);
59 return throwError("Not enough arguments", V8Proxy::SyntaxError);
67 return throwError(ec);
H A DV8ArrayBufferCustom.cpp46 return throwError("DOM object constructor cannot be called as a function.", V8Proxy::SyntaxError);
70 return throwError("ArrayBuffer size is not a small enough positive integer.", V8Proxy::RangeError);
H A DV8WebKitCSSMatrixConstructor.cpp52 return throwError("DOM object constructor cannot be called as a function.");
63 throwError(ec);
H A DV8XMLHttpRequestConstructor.cpp48 return throwError("DOM object constructor cannot be called as a function.", V8Proxy::TypeError);
54 return throwError("XMLHttpRequest constructor's associated context is not available", V8Proxy::ReferenceError);
H A DV8SharedWorkerCustom.cpp52 return throwError("DOM object constructor cannot be called as a function.");
55 return throwError("Not enough arguments", V8Proxy::SyntaxError);
64 return throwError(tryCatch.Exception());
79 return throwError(ec);
H A DV8MessagePortCustom.cpp60 return throwError(ec);
71 throwError("MessagePortArray argument must be an object");
84 throwError("MessagePortArray argument has no length attribute");
95 throwError(INVALID_STATE_ERR);
100 throwError("MessagePortArray argument must contain only MessagePorts");
H A DV8NavigatorCustom.cpp53 return throwError(exceptionCatcher.Exception());
80 throwError("The second argument should be a function");
94 return throwError("Two arguments required: an application name and a callback.", V8Proxy::SyntaxError);
97 return throwError("The first argument should be a string.");
108 return throwError(INVALID_STATE_ERR);
H A DV8NotificationCenterCustom.cpp59 return throwError(ec);
74 return throwError(ec);
88 return throwError(INVALID_STATE_ERR);
92 return throwError(NOT_SUPPORTED_ERR);
97 return throwError("Callback must be of valid type.", V8Proxy::TypeError);
H A DV8WorkerCustom.cpp55 return throwError("DOM object constructor cannot be called as a function.");
58 return throwError("Not enough arguments", V8Proxy::SyntaxError);
63 return throwError(tryCatch.Exception());
78 return throwError(ec);
105 return throwError(ec);
H A DV8HTMLOptionElementConstructor.cpp54 return throwError("DOM object constructor cannot be called as a function.");
58 return throwError("Option constructor associated frame is unavailable", V8Proxy::ReferenceError);
62 return throwError("Option constructor associated document is unavailable", V8Proxy::ReferenceError);
81 throwError(ec);
H A DV8SQLResultSetRowListCustom.cpp47 V8Proxy::throwError(V8Proxy::SyntaxError, "Item index is required.");
52 V8Proxy::throwError(V8Proxy::TypeError, "Item index must be a number.");
60 V8Proxy::throwError(V8Proxy::RangeError, "Item index is out of range.");
H A DV8DataViewCustom.cpp42 return throwError("DOM object constructor cannot be called as a function", V8Proxy::SyntaxError);
60 return throwError("Not enough arguments", V8Proxy::SyntaxError);
77 return throwError("Not enough arguments", V8Proxy::SyntaxError);
94 return throwError("Not enough arguments", V8Proxy::SyntaxError);
110 return throwError("Not enough arguments", V8Proxy::SyntaxError);
H A DV8HTMLInputElementCustom.cpp48 return throwError("Accessing selectionStart on an input element that cannot have a selection.");
61 throwError("Accessing selectionStart on an input element that cannot have a selection.");
74 return throwError("Accessing selectionEnd on an input element that cannot have a selection.");
87 throwError("Accessing selectionEnd on an input element that cannot have a selection.");
101 return throwError("Calling setSelectionRange on an input element that cannot have a selection.");
H A DV8HTMLAudioElementConstructor.cpp54 return throwError("DOM object constructor cannot be called as a function.");
58 return throwError("Audio constructor associated frame is unavailable", V8Proxy::ReferenceError);
62 return throwError("Audio constructor associated document is unavailable", V8Proxy::ReferenceError);
H A DV8HTMLImageElementConstructor.cpp54 return throwError("DOM object constructor cannot be called as a function.");
58 return throwError("Image constructor associated frame is unavailable", V8Proxy::ReferenceError);
62 return throwError("Image constructor associated document is unavailable", V8Proxy::ReferenceError);
H A DV8ClipboardCustom.cpp76 return throwError("clearData: Invalid number of arguments", V8Proxy::SyntaxError);
89 return throwError("getData: Invalid number of arguments", V8Proxy::SyntaxError);
108 return throwError("setDragImage: Invalid number of arguments", V8Proxy::SyntaxError);
118 return throwError("setDragImageFromElement: Invalid first argument");
H A DV8DedicatedWorkerContextCustom.cpp60 return throwError(ec);
H A DV8SQLTransactionCustom.cpp56 return throwError(SYNTAX_ERR);
64 return throwError(TYPE_MISMATCH_ERR);
100 return throwError(TYPE_MISMATCH_ERR);
107 return throwError(TYPE_MISMATCH_ERR);
/external/webkit/Source/WebCore/bindings/js/
H A DJSAudioContextCustom.cpp46 return throwError(exec, createReferenceError(exec, "AudioContext constructor callee is unavailable"));
50 return throwError(exec, createReferenceError(exec, "AudioContext constructor script execution context is unavailable"));
53 return throwError(exec, createReferenceError(exec, "AudioContext constructor called in a script execution context which is not a document"));
66 return throwError(exec, createSyntaxError(exec, "Not enough arguments"));
76 return throwError(exec, createReferenceError(exec, "Error creating AudioContext"));
84 return throwError(exec, createSyntaxError(exec, "Not enough arguments"));
99 return throwError(exec, createSyntaxError(exec, "Error decoding audio file data"));
109 return throwError(exec, createSyntaxError(exec, "Not enough arguments"));
117 return throwError(exec, createSyntaxError(exec, "Error creating AudioBuffer"));
H A DJSAudioNodeCustom.cpp39 return throwError(exec, createSyntaxError(exec, "Not enough arguments"));
46 return throwError(exec, createSyntaxError(exec, "Invalid destination node"));
57 return throwError(exec, createSyntaxError(exec, "Invalid index parameter"));
H A DJSClipboardCustom.cpp81 return throwError(exec, createSyntaxError(exec, "clearData: Invalid number of arguments"));
88 return throwError(exec, createSyntaxError(exec, "getData: Invalid number of arguments"));
109 return throwError(exec, createSyntaxError(exec, "setDragImage: Invalid number of arguments"));
121 return throwError(exec, createSyntaxError(exec, "setDragImageFromElement: Invalid first argument"));
/external/webkit/Source/JavaScriptCore/runtime/
H A DError.h63 JSValue throwError(ExecState*, JSValue);
64 JSObject* throwError(ExecState*, JSObject*);
71 inline EncodedJSValue throwVMError(ExecState* exec, JSValue error) { return JSValue::encode(throwError(exec, error)); }

Completed in 2721 milliseconds

1234