/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/ |
H A D | Reject.h | 34 inline bool reject(ExecState* exec, bool throwException, const char* message) argument 36 if (throwException)
|
H A D | CommonSlowPathsExceptions.cpp | 41 vm->throwException(exec, error);
|
H A D | StringObject.cpp | 84 bool StringObject::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool throwException) argument 90 if (throwException) 91 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to define property on object that is not extensible."))); 95 if (throwException) 96 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to configurable attribute of unconfigurable property."))); 100 if (throwException) 101 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change enumerable attribute of unconfigurable property."))); 105 if (throwException) 106 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change access mechanism for an unconfigurable property."))); 110 if (throwException) [all...] |
H A D | ExceptionHelpers.cpp | 164 return exec->vm().throwException(exec, createOutOfMemoryError(exec->lexicalGlobalObject())); 171 return vm.throwException(exec, createStackOverflowError(exec)); 178 return vm.throwException(exec, createTerminatedExecutionException(&vm));
|
H A D | JSFunction.cpp | 445 bool JSFunction::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool throwException) argument 449 return Base::defineOwnProperty(object, exec, propertyName, descriptor, throwException); 458 return Base::defineOwnProperty(object, exec, propertyName, descriptor, throwException); 467 return Base::defineOwnProperty(object, exec, propertyName, descriptor, throwException); 475 return Base::defineOwnProperty(object, exec, propertyName, descriptor, throwException); 483 return Base::defineOwnProperty(object, exec, propertyName, descriptor, throwException); 486 if (throwException) 487 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to configurable attribute of unconfigurable property."))); 491 if (throwException) 492 exec->vm().throwException(exe [all...] |
H A D | JSNameScope.cpp | 68 exec->vm().throwException(exec, createTypeError(exec, StrictModeReadonlyPropertyWriteError));
|
H A D | JSArray.cpp | 78 bool JSArray::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool throwException) argument 87 return reject(exec, throwException, "Attempting to change configurable attribute of unconfigurable property."); 90 return reject(exec, throwException, "Attempting to change enumerable attribute of unconfigurable property."); 95 return reject(exec, throwException, "Attempting to change access mechanism for an unconfigurable property."); 98 return reject(exec, throwException, "Attempting to change writable attribute of unconfigurable property."); 111 exec->vm().throwException(exec, createRangeError(exec, "Invalid array length")); 127 return reject(exec, throwException, "Attempting to change value of a readonly property."); 140 if (!array->setLength(exec, newLen, throwException)) { 166 return reject(exec, throwException, "Attempting to define numeric property on array with non-writable length property."); 173 return array->defineOwnIndexedProperty(exec, index, descriptor, throwException); 328 setLengthWithArrayStorage(ExecState* exec, unsigned newLength, bool throwException, ArrayStorage* storage) argument 392 setLength(ExecState* exec, unsigned newLength, bool throwException) argument [all...] |
H A D | Error.cpp | 155 return exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Type error"))); 160 return exec->vm().throwException(exec, createSyntaxError(exec, ASCIILiteral("Syntax error")));
|
H A D | FunctionConstructor.cpp | 85 return exec->vm().throwException(exec, createEvalError(exec, globalObject->evalDisabledErrorMessage())); 118 return exec->vm().throwException(exec, exception);
|
H A D | JSObject.cpp | 381 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral(StrictModeReadonlyPropertyWriteError))); 1426 return exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("No default value"))); 1448 vm.throwException(exec, createInvalidParameterError(exec, "instanceof" , this)); 1458 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("instanceof called on an object with an invalid prototype property."))); 1734 bool JSObject::defineOwnIndexedProperty(ExecState* exec, unsigned index, const PropertyDescriptor& descriptor, bool throwException) argument 1745 return putDirectIndex(exec, index, descriptor.value(), 0, throwException ? PutDirectIndexShouldThrow : PutDirectIndexShouldNotThrow); 1767 return reject(exec, throwException, "Attempting to define property on object that is not extensible."); 1802 return reject(exec, throwException, "Attempting to change configurable attribute of unconfigurable property."); 1805 return reject(exec, throwException, "Attempting to change enumerable attribute of unconfigurable property."); 1814 return reject(exec, throwException, "Attemptin 2552 defineOwnNonIndexProperty(ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool throwException) argument 2677 defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool throwException) argument [all...] |
H A D | JSCJSValue.cpp | 80 vm.throwException(exec, createNotAnObjectError(exec, *this)); 113 vm.throwException(exec, createNotAnObjectError(exec, *this)); 149 exec->vm().throwException(exec, createTypeError(exec, StrictModeReadonlyPropertyWriteError));
|
H A D | ArrayConstructor.cpp | 83 return exec->vm().throwException(exec, createRangeError(exec, ASCIILiteral("Array size is not a small enough positive integer.")));
|
H A D | JSGenericTypedArrayViewInlines.h | 52 exec->vm().throwException(exec, createOutOfMemoryError(structure->globalObject())); 70 exec->vm().throwException(exec, createOutOfMemoryError(structure->globalObject())); 87 exec->vm().throwException( 129 exec->vm().throwException(exec, createRangeError(exec, "Range consisting of offset and length are out of bounds")); 151 exec->vm().throwException(exec, createRangeError(exec, "Length of incoming array changed unexpectedly."));
|
H A D | ObjectConstructor.cpp | 235 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Property description must be an object."))); 277 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Getter must be a function."))); 292 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Setter must be a function."))); 303 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Invalid property. 'value' present on property with getter or setter."))); 308 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Invalid property. 'writable' present on property with getter or setter.")));
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/Statements/ |
H A D | try-006.js | 26 function throwException() { function 42 TryWith( new TryObject( "hello", throwException, true ));
|
H A D | try-007.js | 26 function throwException() { function 42 TryForIn( new TryObject( "hello", throwException, true ));
|
/macosx-10.10.1/WebKit-7600.1.25/win/Interfaces/ |
H A D | IWebScriptObject.idl | 66 @method throwException: 69 + (BOOL)throwException:(NSString *)exceptionMessage; 71 HRESULT throwException([in] BSTR exceptionMessage, [out, retval] BOOL* result);
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/API/ |
H A D | APICallbackFunction.h | 64 exec->vm().throwException(exec, toJS(exec, exception)); 95 exec->vm().throwException(exec, toJS(exec, exception));
|
H A D | JSCallbackObjectFunctions.h | 159 exec->vm().throwException(exec, toJS(exec, exception)); 210 exec->vm().throwException(exec, toJS(exec, exception)); 242 exec->vm().throwException(exec, toJS(exec, exception)); 259 exec->vm().throwException(exec, toJS(exec, exception)); 301 exec->vm().throwException(exec, toJS(exec, exception)); 318 exec->vm().throwException(exec, toJS(exec, exception)); 357 exec->vm().throwException(exec, toJS(exec, exception)); 424 exec->vm().throwException(exec, toJS(exec, exception)); 450 exec->vm().throwException(exec, toJS(exec, exception)); 491 exec->vm().throwException(exe [all...] |
/macosx-10.10.1/WebKit-7600.1.25/win/ |
H A D | DOMCSSClasses.h | 50 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMCSSStyleDeclaration 52 /* [retval][out] */ BOOL *result) { return DOMObject::throwException(exceptionMessage, result); }
|
H A D | WebScriptObject.cpp | 80 HRESULT STDMETHODCALLTYPE WebScriptObject::throwException( function in class:WebScriptObject
|
H A D | WebScriptObject.h | 43 virtual HRESULT STDMETHODCALLTYPE throwException(
|
H A D | DOMEventsClasses.h | 65 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMEventListener 67 /* [retval][out] */ BOOL* result) { return DOMObject::throwException(exceptionMessage, result); } 116 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMEvent 118 /* [retval][out] */ BOOL* result) { return DOMObject::throwException(exceptionMessage, result); } 196 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMUIEvent 198 /* [retval][out] */ BOOL* result) { return DOMObject::throwException(exceptionMessage, result); } 305 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMKeyboardEvent 307 /* [retval][out] */ BOOL* result) { return DOMObject::throwException(exceptionMessage, result); } 456 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMMouseEvent 458 /* [retval][out] */ BOOL* result) { return DOMObject::throwException(exceptionMessag 631 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMMutationEvent 731 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMOverflowEvent 815 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMWheelEvent [all...] |
H A D | DOMCoreClasses.h | 49 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMObject 51 /* [retval][out] */ BOOL* result) { return WebScriptObject::throwException(exceptionMessage, result); } 96 virtual HRESULT STDMETHODCALLTYPE throwException( function 98 /* [retval][out] */ BOOL* result) { return DOMObject::throwException(exceptionMessage, result); } 262 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMNodeList 264 /* [retval][out] */ BOOL* result) { return DOMObject::throwException(exceptionMessage, result); } 320 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMDocument 322 /* [retval][out] */ BOOL* result) { return DOMNode::throwException(exceptionMessage, result); } 552 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMWindow 554 /* [retval][out] */ BOOL* result) { return DOMObject::throwException(exceptionMessag 636 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMElement [all...] |
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/Plugins/Netscape/ |
H A D | JSNPObject.cpp | 141 exec->vm().throwException(exec, createError(exec, "Error calling method on NPObject.")); 181 exec->vm().throwException(exec, createError(exec, "Error calling method on NPObject.")); 217 exec->vm().throwException(exec, createError(exec, "Error calling method on NPObject.")); 471 return exec->vm().throwException(exec, createReferenceError(exec, "Trying to access object from destroyed plug-in."));
|