/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8AudioContextCustom.cpp | 48 …return throwError("AudioContext constructor associated frame is unavailable", V8Proxy::ReferenceEr… in constructorCallback() 52 …return throwError("AudioContext constructor associated document is unavailable", V8Proxy::Referenc… in constructorCallback() 63 return throwError("Not enough arguments", V8Proxy::SyntaxError); in constructorCallback() 69 return throwError("Invalid number of channels", V8Proxy::SyntaxError); in constructorCallback() 73 return throwError("Invalid number of frames", V8Proxy::SyntaxError); in constructorCallback() 81 return throwError("Error creating AudioContext", V8Proxy::SyntaxError); in constructorCallback() 93 return throwError("Not enough arguments", V8Proxy::SyntaxError); in createBufferCallback() 111 return throwError("Error decoding audio file data", V8Proxy::SyntaxError); in createBufferCallback() 121 return throwError("Not enough arguments", V8Proxy::SyntaxError); in createBufferCallback() 127 return throwError("Invalid number of channels", V8Proxy::SyntaxError); in createBufferCallback() [all …]
|
D | V8AudioNodeCustom.cpp | 42 return throwError("Not enough arguments", V8Proxy::SyntaxError); in connectCallback() 46 return throwError("Invalid destination node", V8Proxy::SyntaxError); in connectCallback() 54 return throwError("Invalid index parameters", V8Proxy::SyntaxError); in connectCallback() 60 return throwError("Invalid index parameters", V8Proxy::SyntaxError); in connectCallback() 66 return throwError("Invalid index parameter", V8Proxy::SyntaxError); in connectCallback() 78 return throwError("Invalid index parameters", V8Proxy::SyntaxError); in disconnectCallback() 84 return throwError("Invalid index parameter", V8Proxy::SyntaxError); in disconnectCallback()
|
D | V8WebSocketCustom.cpp | 53 return throwError("DOM object custructor cannot be called as a function."); in constructorCallback() 55 return throwError("Not enough arguments", V8Proxy::SyntaxError); in constructorCallback() 60 return throwError(tryCatch.Exception()); in constructorCallback() 62 return throwError("Empty URL", V8Proxy::SyntaxError); in constructorCallback() 67 …return throwError("WebSocket constructor's associated frame is not available", V8Proxy::ReferenceE… in constructorCallback() 80 return throwError(tryCatchProtocol.Exception()); in constructorCallback() 84 return throwError(ec); in constructorCallback()
|
D | V8NotificationCenterCustom.cpp | 59 return throwError(ec); in createHTMLNotificationCallback() 74 return throwError(ec); in createNotificationCallback() 88 return throwError(INVALID_STATE_ERR); in requestPermissionCallback() 92 return throwError(NOT_SUPPORTED_ERR); in requestPermissionCallback() 97 return throwError("Callback must be of valid type.", V8Proxy::TypeError); in requestPermissionCallback()
|
D | V8WorkerCustom.cpp | 55 return throwError("DOM object constructor cannot be called as a function."); in constructorCallback() 58 return throwError("Not enough arguments", V8Proxy::SyntaxError); in constructorCallback() 63 return throwError(tryCatch.Exception()); in constructorCallback() 78 return throwError(ec); in constructorCallback() 105 return throwError(ec); in postMessageCallback()
|
D | V8ArrayBufferViewCustom.h | 48 return throwError("Could not convert argument 0 to a ArrayBuffer"); in constructWebGLArrayWithArrayBufferArgument() 55 return throwError("Could not convert argument 1 to a number"); in constructWebGLArrayWithArrayBufferArgument() 58 …return throwError("ArrayBuffer length minus the byteOffset is not a multiple of the element size."… in constructWebGLArrayWithArrayBufferArgument() 63 return throwError("Could not convert argument 2 to a number"); in constructWebGLArrayWithArrayBufferArgument() 83 return throwError("DOM object constructor cannot be called as a function."); in constructWebGLArray() 117 return V8Proxy::throwError(V8Proxy::TypeError, "Type error"); in constructWebGLArray() 131 return throwError("Could not convert argument 0 to an array"); in constructWebGLArray() 147 …return throwError("ArrayBufferView size is not a small enough positive integer.", V8Proxy::RangeEr… in constructWebGLArray()
|
D | V8MessagePortCustom.cpp | 60 return throwError(ec); in postMessageCallback() 71 throwError("MessagePortArray argument must be an object"); in getMessagePortArray() 84 throwError("MessagePortArray argument has no length attribute"); in getMessagePortArray() 95 throwError(INVALID_STATE_ERR); in getMessagePortArray() 100 throwError("MessagePortArray argument must contain only MessagePorts"); in getMessagePortArray()
|
D | V8EventSourceConstructor.cpp | 51 … return throwError("DOM object constructor cannot be called as a function.", V8Proxy::TypeError); in constructorCallback() 57 …return throwError("EventSource constructor's associated context is not available", V8Proxy::Refere… in constructorCallback() 59 return throwError("Not enough arguments", V8Proxy::SyntaxError); in constructorCallback() 67 return throwError(ec); in constructorCallback()
|
D | V8NavigatorCustom.cpp | 53 return throwError(exceptionCatcher.Exception()); in webkitGetUserMediaCallback() 80 throwError("The second argument should be a function"); in createApplicationInstalledCallback() 94 …return throwError("Two arguments required: an application name and a callback.", V8Proxy::SyntaxEr… in isApplicationInstalledCallback() 97 return throwError("The first argument should be a string."); in isApplicationInstalledCallback() 108 return throwError(INVALID_STATE_ERR); in isApplicationInstalledCallback()
|
D | V8HTMLInputElementCustom.cpp | 48 … return throwError("Accessing selectionStart on an input element that cannot have a selection."); in selectionStartAccessorGetter() 61 throwError("Accessing selectionStart on an input element that cannot have a selection."); in selectionStartAccessorSetter() 74 … return throwError("Accessing selectionEnd on an input element that cannot have a selection."); in selectionEndAccessorGetter() 87 throwError("Accessing selectionEnd on an input element that cannot have a selection."); in selectionEndAccessorSetter() 101 … return throwError("Calling setSelectionRange on an input element that cannot have a selection."); in setSelectionRangeCallback()
|
D | V8SharedWorkerCustom.cpp | 52 return throwError("DOM object constructor cannot be called as a function."); in constructorCallback() 55 return throwError("Not enough arguments", V8Proxy::SyntaxError); in constructorCallback() 64 return throwError(tryCatch.Exception()); in constructorCallback() 79 return throwError(ec); in constructorCallback()
|
D | V8DataViewCustom.cpp | 42 … return throwError("DOM object constructor cannot be called as a function", V8Proxy::SyntaxError); in constructorCallback() 60 return throwError("Not enough arguments", V8Proxy::SyntaxError); in getInt8Callback() 77 return throwError("Not enough arguments", V8Proxy::SyntaxError); in getUint8Callback() 94 return throwError("Not enough arguments", V8Proxy::SyntaxError); in setInt8Callback() 110 return throwError("Not enough arguments", V8Proxy::SyntaxError); in setUint8Callback()
|
D | V8SQLTransactionCustom.cpp | 56 return throwError(SYNTAX_ERR); in executeSqlCallback() 64 return throwError(TYPE_MISMATCH_ERR); in executeSqlCallback() 100 return throwError(TYPE_MISMATCH_ERR); in executeSqlCallback() 107 return throwError(TYPE_MISMATCH_ERR); in executeSqlCallback()
|
D | V8HTMLOptionElementConstructor.cpp | 54 return throwError("DOM object constructor cannot be called as a function."); in v8HTMLOptionElementConstructorCallback() 58 … return throwError("Option constructor associated frame is unavailable", V8Proxy::ReferenceError); in v8HTMLOptionElementConstructorCallback() 62 …return throwError("Option constructor associated document is unavailable", V8Proxy::ReferenceError… in v8HTMLOptionElementConstructorCallback() 81 throwError(ec); in v8HTMLOptionElementConstructorCallback()
|
D | V8ClipboardCustom.cpp | 76 return throwError("clearData: Invalid number of arguments", V8Proxy::SyntaxError); in clearDataCallback() 89 return throwError("getData: Invalid number of arguments", V8Proxy::SyntaxError); in getDataCallback() 108 return throwError("setDragImage: Invalid number of arguments", V8Proxy::SyntaxError); in setDragImageCallback() 118 return throwError("setDragImageFromElement: Invalid first argument"); in setDragImageCallback()
|
D | V8SQLResultSetRowListCustom.cpp | 47 V8Proxy::throwError(V8Proxy::SyntaxError, "Item index is required."); in itemCallback() 52 V8Proxy::throwError(V8Proxy::TypeError, "Item index must be a number."); in itemCallback() 60 V8Proxy::throwError(V8Proxy::RangeError, "Item index is out of range."); in itemCallback()
|
D | V8HTMLAudioElementConstructor.cpp | 54 return throwError("DOM object constructor cannot be called as a function."); in v8HTMLAudioElementConstructorCallback() 58 … return throwError("Audio constructor associated frame is unavailable", V8Proxy::ReferenceError); in v8HTMLAudioElementConstructorCallback() 62 …return throwError("Audio constructor associated document is unavailable", V8Proxy::ReferenceError); in v8HTMLAudioElementConstructorCallback()
|
D | V8HTMLImageElementConstructor.cpp | 54 return throwError("DOM object constructor cannot be called as a function."); in v8HTMLImageElementConstructorCallback() 58 … return throwError("Image constructor associated frame is unavailable", V8Proxy::ReferenceError); in v8HTMLImageElementConstructorCallback() 62 …return throwError("Image constructor associated document is unavailable", V8Proxy::ReferenceError); in v8HTMLImageElementConstructorCallback()
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSAudioContextCustom.cpp | 46 …return throwError(exec, createReferenceError(exec, "AudioContext constructor callee is unavailable… in constructJSAudioContext() 50 …return throwError(exec, createReferenceError(exec, "AudioContext constructor script execution cont… in constructJSAudioContext() 53 …return throwError(exec, createReferenceError(exec, "AudioContext constructor called in a script ex… in constructJSAudioContext() 66 return throwError(exec, createSyntaxError(exec, "Not enough arguments")); in constructJSAudioContext() 76 return throwError(exec, createReferenceError(exec, "Error creating AudioContext")); in constructJSAudioContext() 84 return throwError(exec, createSyntaxError(exec, "Not enough arguments")); in createBuffer() 99 return throwError(exec, createSyntaxError(exec, "Error decoding audio file data")); in createBuffer() 109 return throwError(exec, createSyntaxError(exec, "Not enough arguments")); in createBuffer() 117 return throwError(exec, createSyntaxError(exec, "Error creating AudioBuffer")); in createBuffer()
|
D | JSClipboardCustom.cpp | 81 return throwError(exec, createSyntaxError(exec, "clearData: Invalid number of arguments")); in clearData() 88 return throwError(exec, createSyntaxError(exec, "getData: Invalid number of arguments")); in getData() 109 … return throwError(exec, createSyntaxError(exec, "setDragImage: Invalid number of arguments")); in setDragImage() 121 …return throwError(exec, createSyntaxError(exec, "setDragImageFromElement: Invalid first argument")… in setDragImage()
|
D | JSAudioNodeCustom.cpp | 39 return throwError(exec, createSyntaxError(exec, "Not enough arguments")); in connect() 46 return throwError(exec, createSyntaxError(exec, "Invalid destination node")); in connect() 57 return throwError(exec, createSyntaxError(exec, "Invalid index parameter")); in connect()
|
/external/webkit/Source/JavaScriptCore/API/ |
D | JSCallbackObjectFunctions.h | 140 throwError(exec, toJS(exec, exception)); in getOwnPropertySlot() 206 throwError(exec, toJS(exec, exception)); in put() 225 throwError(exec, toJS(exec, exception)); in put() 229 … throwError(exec, createReferenceError(exec, "Attempt to set a property that is not settable.")); in put() 264 throwError(exec, toJS(exec, exception)); in deleteProperty() 327 throwError(exec, toJS(exec, exception)); in construct() 352 throwError(exec, toJS(exec, exception)); in hasInstance() 391 throwError(exec, toJS(exec, exception)); in call() 458 throwError(exec, toJS(exec, exception)); in toNumber() 485 throwError(exec, toJS(exec, exception)); in toString() [all …]
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | V8Proxy.h | 256 static v8::Handle<v8::Value> throwError(ErrorType, const char* message); 356 … return throwError(V8Proxy::TypeError, "DOM object constructor cannot be called as a function."); in constructDOMObject() 371 return throwError(V8Proxy::TypeError, ""); in constructDOMObjectWithScriptExecutionContext() 375 return throwError(V8Proxy::ReferenceError, ""); in constructDOMObjectWithScriptExecutionContext() 400 …inline v8::Handle<v8::Primitive> throwError(const char* message, V8Proxy::ErrorType type = V8Proxy… 403 V8Proxy::throwError(type, message); 407 inline v8::Handle<v8::Primitive> throwError(ExceptionCode ec) in throwError() function 414 inline v8::Handle<v8::Primitive> throwError(v8::Local<v8::Value> exception) in throwError() function
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | Error.h | 63 JSValue throwError(ExecState*, JSValue); 64 JSObject* throwError(ExecState*, JSObject*); 71 …e throwVMError(ExecState* exec, JSValue error) { return JSValue::encode(throwError(exec, error)); } in throwVMError()
|
D | JSObject.cpp | 99 throwError(exec, createTypeError(exec, "setting a property that has only a getter")); in throwSetterError() 113 throwError(exec, createError(exec, "cyclic __proto__ value")); in put() 132 throwError(exec, createTypeError(exec, StrictModeReadonlyPropertyWriteError)); in put() 299 return throwError(exec, createTypeError(exec, "No default value")); in defaultValue() 408 …throwError(exec, createTypeError(exec, "instanceof called on an object with an invalid prototype p… in hasInstance() 664 …throwError(exec, createTypeError(exec, "Attempting to define property on object that is not extens… in defineOwnProperty() 682 …throwError(exec, createTypeError(exec, "Attempting to configurable attribute of unconfigurable pro… in defineOwnProperty() 687 …throwError(exec, createTypeError(exec, "Attempting to change enumerable attribute of unconfigurabl… in defineOwnProperty() 705 …throwError(exec, createTypeError(exec, "Attempting to change access mechanism for an unconfigurabl… in defineOwnProperty() 717 …throwError(exec, createTypeError(exec, "Attempting to change writable attribute of unconfigurable … in defineOwnProperty() [all …]
|