/macosx-10.10/JavaScriptCore-7600.1.17/tests/stress/ |
H A D | throw-through-optimized-code.js | 5 var shouldThrow = false; variable 7 if (shouldThrow) 23 shouldThrow = true;
|
H A D | get-by-id-throw-from-getter-through-optimized-code.js | 7 var shouldThrow = false; variable 12 if (shouldThrow) 30 shouldThrow = true;
|
H A D | runtime-throw-through-optimized-code.js | 5 var shouldThrow = false; variable 7 if (shouldThrow) 26 shouldThrow = true;
|
/macosx-10.10/JavaScriptCore-7600.1.17/API/tests/ |
H A D | testapi.js | 57 function shouldThrow(a) function 170 shouldThrow("new MyBadConstructor()"); 174 shouldThrow("MyObject.nullCall()"); 175 shouldThrow("MyObject.hasPropertyLie"); 247 shouldThrow("undefined instanceof EvilExceptionObject"); 252 shouldThrow("EvilExceptionObject*5"); 254 shouldThrow("String(EvilExceptionObject)"); 269 shouldThrow("PropertyCatchalls[make_throw]=1"); 271 shouldThrow("PropertyCatchalls[make_throw]=1");
|
/macosx-10.10/JavaScriptCore-7600.1.17/runtime/ |
H A D | SparseArrayValueMap.cpp | 89 void SparseArrayValueMap::putEntry(ExecState* exec, JSObject* array, unsigned i, JSValue value, bool shouldThrow) argument 99 if (shouldThrow) 104 entry.put(exec, array, this, value, shouldThrow); 154 void SparseArrayEntry::put(ExecState* exec, JSValue thisValue, SparseArrayValueMap* map, JSValue value, bool shouldThrow) argument 158 if (shouldThrow) 167 callSetter(exec, thisValue, Base::get(), value, shouldThrow ? StrictMode : NotStrictMode);
|
H A D | RegExpObject.h | 51 void setLastIndex(ExecState* exec, JSValue lastIndex, bool shouldThrow) argument 55 else if (shouldThrow) 87 JS_EXPORT_PRIVATE static bool defineOwnProperty(JSObject*, ExecState*, PropertyName, const PropertyDescriptor&, bool shouldThrow);
|
H A D | JSProxy.cpp | 91 void JSProxy::putByIndex(JSCell* cell, ExecState* exec, unsigned propertyName, JSValue value, bool shouldThrow) argument 94 thisObject->target()->methodTable(exec->vm())->putByIndex(thisObject->target(), exec, propertyName, value, shouldThrow); 97 bool JSProxy::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool shouldThrow) argument 100 return thisObject->target()->methodTable(exec->vm())->defineOwnProperty(thisObject->target(), exec, propertyName, descriptor, shouldThrow);
|
H A D | RegExpMatchesArray.h | 94 static void putByIndex(JSCell* cell, ExecState* exec, unsigned propertyName, JSValue v, bool shouldThrow) argument 98 JSArray::putByIndex(thisObject, exec, propertyName, v, shouldThrow); 122 static bool defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool shouldThrow) argument 126 return JSArray::defineOwnProperty(object, exec, propertyName, descriptor, shouldThrow);
|
H A D | RegExpObject.cpp | 131 bool RegExpObject::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool shouldThrow) argument 136 return reject(exec, shouldThrow, "Attempting to change configurable attribute of unconfigurable property."); 138 return reject(exec, shouldThrow, "Attempting to change enumerable attribute of unconfigurable property."); 140 return reject(exec, shouldThrow, "Attempting to change access mechanism for an unconfigurable property."); 143 return reject(exec, shouldThrow, "Attempting to change writable attribute of unconfigurable property."); 145 return reject(exec, shouldThrow, "Attempting to change value of a readonly property."); 155 return Base::defineOwnProperty(object, exec, propertyName, descriptor, shouldThrow);
|
H A D | JSArrayBuffer.cpp | 97 const PropertyDescriptor& descriptor, bool shouldThrow) 102 return reject(exec, shouldThrow, "Attempting to define read-only array buffer property."); 104 return Base::defineOwnProperty(thisObject, exec, propertyName, descriptor, shouldThrow); 95 defineOwnProperty( JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool shouldThrow) argument
|
H A D | JSProxy.h | 81 JS_EXPORT_PRIVATE static void putByIndex(JSCell*, ExecState*, unsigned, JSValue, bool shouldThrow); 86 JS_EXPORT_PRIVATE static bool defineOwnProperty(JSObject*, ExecState*, PropertyName, const PropertyDescriptor&, bool shouldThrow);
|
H A D | SparseArrayValueMap.h | 48 void put(ExecState*, JSValue thisValue, SparseArrayValueMap*, JSValue, bool shouldThrow); 112 void putEntry(ExecState*, JSObject*, unsigned, JSValue, bool shouldThrow);
|
H A D | StringObject.h | 52 static void putByIndex(JSCell*, ExecState*, unsigned propertyName, JSValue, bool shouldThrow); 57 static bool defineOwnProperty(JSObject*, ExecState*, PropertyName, const PropertyDescriptor&, bool shouldThrow);
|
H A D | JSArrayBuffer.h | 54 static bool defineOwnProperty(JSObject*, ExecState*, PropertyName, const PropertyDescriptor&, bool shouldThrow);
|
H A D | JSNotAnObject.h | 75 static void putByIndex(JSCell*, ExecState*, unsigned propertyName, JSValue, bool shouldThrow);
|
H A D | JSCJSValue.cpp | 179 void JSValue::putToPrimitiveByIndex(ExecState* exec, unsigned propertyName, JSValue value, bool shouldThrow) argument 182 PutPropertySlot slot(*this, shouldThrow); 187 if (synthesizePrototype(exec)->attemptToInterceptPutByIndexOnHoleForPrototype(exec, *this, propertyName, value, shouldThrow)) 190 if (shouldThrow)
|
H A D | JSArrayBufferView.cpp | 175 const PropertyDescriptor& descriptor, bool shouldThrow) 181 return reject(exec, shouldThrow, "Attempting to define read-only typed array property."); 183 return Base::defineOwnProperty(thisObject, exec, propertyName, descriptor, shouldThrow); 173 defineOwnProperty( JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool shouldThrow) argument
|
H A D | JSCell.cpp | 107 void JSCell::putByIndex(JSCell* cell, ExecState* exec, unsigned identifier, JSValue value, bool shouldThrow) argument 110 PutPropertySlot slot(cell, shouldThrow); 115 thisObject->methodTable(exec->vm())->putByIndex(thisObject, exec, identifier, value, shouldThrow);
|
H A D | StringObject.cpp | 73 void StringObject::putByIndex(JSCell* cell, ExecState* exec, unsigned propertyName, JSValue value, bool shouldThrow) argument 77 if (shouldThrow) 81 JSObject::putByIndex(cell, exec, propertyName, value, shouldThrow);
|
H A D | JSArrayBufferView.h | 150 static bool defineOwnProperty(JSObject*, ExecState*, PropertyName, const PropertyDescriptor&, bool shouldThrow);
|
H A D | JSCell.h | 137 static void putByIndex(JSCell*, ExecState*, unsigned propertyName, JSValue, bool shouldThrow); 214 static bool defineOwnProperty(JSObject*, ExecState*, PropertyName, const PropertyDescriptor&, bool shouldThrow);
|
H A D | JSGenericTypedArrayView.h | 236 static bool defineOwnProperty(JSObject*, ExecState*, PropertyName, const PropertyDescriptor&, bool shouldThrow); 240 static void putByIndex(JSCell*, ExecState*, unsigned propertyName, JSValue, bool shouldThrow);
|
/macosx-10.10/JavaScriptCore-7600.1.17/debugger/ |
H A D | DebuggerActivation.cpp | 92 bool DebuggerActivation::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool shouldThrow) argument 95 return thisObject->m_activation->methodTable()->defineOwnProperty(thisObject->m_activation.get(), exec, propertyName, descriptor, shouldThrow);
|
H A D | DebuggerActivation.h | 50 static bool defineOwnProperty(JSObject*, ExecState*, PropertyName, const PropertyDescriptor&, bool shouldThrow);
|
/macosx-10.10/WebCore-7600.1.25/bridge/ |
H A D | runtime_array.h | 59 static void putByIndex(JSCell*, ExecState*, unsigned propertyName, JSValue, bool shouldThrow);
|