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

Lines Matching refs:throwException

78 bool JSArray::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool throwException)
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);
176 return array->JSObject::defineOwnNonIndexProperty(exec, propertyName, descriptor, throwException);
199 exec->vm().throwException(exec, createRangeError(exec, ASCIILiteral("Invalid array length")));
328 bool JSArray::setLengthWithArrayStorage(ExecState* exec, unsigned newLength, bool throwException, ArrayStorage* storage)
338 return reject(exec, throwException, StrictModeReadonlyPropertyWriteError);
363 return reject(exec, throwException, "Unable to delete property.");
392 bool JSArray::setLength(ExecState* exec, unsigned newLength, bool throwException)
400 exec, newLength, throwException,
416 exec, newLength, throwException,
435 return setLengthWithArrayStorage(exec, newLength, throwException, arrayStorage());
570 exec->vm().throwException(exec, createRangeError(exec, "Invalid array length"));
590 exec->vm().throwException(exec, createRangeError(exec, "Invalid array length"));
622 exec->vm().throwException(exec, createRangeError(exec, "Invalid array length"));
657 exec->vm().throwException(exec, createRangeError(exec, "Invalid array length"));