• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/

Lines Matching refs:throwException

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)
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, "Attempting to change access mechanism for an unconfigurable property.");
1828 return reject(exec, throwException, "Attempting to change writable attribute of unconfigurable property.");
1832 return reject(exec, throwException, "Attempting to change value of a readonly property.");
1841 return reject(exec, throwException, "Attempting to change the setter of an unconfigurable property.");
1844 return reject(exec, throwException, "Attempting to change the getter of an unconfigurable property.");
2552 bool JSObject::defineOwnNonIndexProperty(ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool throwException)
2565 if (throwException)
2566 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to define property on object that is not extensible.")));
2583 if (throwException)
2584 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to configurable attribute of unconfigurable property.")));
2588 if (throwException)
2589 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change enumerable attribute of unconfigurable property.")));
2606 if (throwException)
2607 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change access mechanism for an unconfigurable property.")));
2618 if (throwException)
2619 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change writable attribute of unconfigurable property.")));
2624 if (throwException)
2625 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change value of a readonly property.")));
2640 if (throwException)
2641 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change the setter of an unconfigurable property.")));
2645 if (throwException)
2646 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change the getter of an unconfigurable property.")));
2650 if (throwException)
2651 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change access mechanism for an unconfigurable property.")));
2677 bool JSObject::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool throwException)
2688 return object->defineOwnIndexedProperty(exec, index, descriptor, throwException);
2691 return object->defineOwnNonIndexProperty(exec, propertyName, descriptor, throwException);
2696 return exec->vm().throwException(exec, createTypeError(exec, message));