Searched refs:throwException (Results 1 - 25 of 48) sorted by relevance

12

/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/
H A DReject.h34 inline bool reject(ExecState* exec, bool throwException, const char* message) argument
36 if (throwException)
H A DCommonSlowPathsExceptions.cpp41 vm->throwException(exec, error);
H A DStringObject.cpp84 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 DExceptionHelpers.cpp164 return exec->vm().throwException(exec, createOutOfMemoryError(exec->lexicalGlobalObject()));
171 return vm.throwException(exec, createStackOverflowError(exec));
178 return vm.throwException(exec, createTerminatedExecutionException(&vm));
H A DJSFunction.cpp445 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 DJSNameScope.cpp68 exec->vm().throwException(exec, createTypeError(exec, StrictModeReadonlyPropertyWriteError));
H A DJSArray.cpp78 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 DError.cpp155 return exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Type error")));
160 return exec->vm().throwException(exec, createSyntaxError(exec, ASCIILiteral("Syntax error")));
H A DFunctionConstructor.cpp85 return exec->vm().throwException(exec, createEvalError(exec, globalObject->evalDisabledErrorMessage()));
118 return exec->vm().throwException(exec, exception);
H A DJSObject.cpp381 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 DJSCJSValue.cpp80 vm.throwException(exec, createNotAnObjectError(exec, *this));
113 vm.throwException(exec, createNotAnObjectError(exec, *this));
149 exec->vm().throwException(exec, createTypeError(exec, StrictModeReadonlyPropertyWriteError));
H A DArrayConstructor.cpp83 return exec->vm().throwException(exec, createRangeError(exec, ASCIILiteral("Array size is not a small enough positive integer.")));
H A DJSGenericTypedArrayViewInlines.h52 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 DObjectConstructor.cpp235 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 Dtry-006.js26 function throwException() { function
42 TryWith( new TryObject( "hello", throwException, true ));
H A Dtry-007.js26 function throwException() { function
42 TryForIn( new TryObject( "hello", throwException, true ));
/macosx-10.10.1/WebKit-7600.1.25/win/Interfaces/
H A DIWebScriptObject.idl66 @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 DAPICallbackFunction.h64 exec->vm().throwException(exec, toJS(exec, exception));
95 exec->vm().throwException(exec, toJS(exec, exception));
H A DJSCallbackObjectFunctions.h159 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 DDOMCSSClasses.h50 virtual HRESULT STDMETHODCALLTYPE throwException( function in class:DOMCSSStyleDeclaration
52 /* [retval][out] */ BOOL *result) { return DOMObject::throwException(exceptionMessage, result); }
H A DWebScriptObject.cpp80 HRESULT STDMETHODCALLTYPE WebScriptObject::throwException( function in class:WebScriptObject
H A DWebScriptObject.h43 virtual HRESULT STDMETHODCALLTYPE throwException(
H A DDOMEventsClasses.h65 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 DDOMCoreClasses.h49 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 DJSNPObject.cpp141 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."));

Completed in 174 milliseconds

12