Changeset 121700 in webkit
- Timestamp:
- Jul 2, 2012 12:25:59 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r121633 r121700 1 2012-07-02 Gavin Barraclough <barraclough@apple.com> 2 3 Array.prototype.pop should throw if property is not configurable 4 https://bugs.webkit.org/show_bug.cgi?id=75788 5 6 Rubber Stamped by Oliver Hunt. 7 8 No real bug here any more, but the error we throw sometimes has a misleading message. 9 10 * runtime/JSArray.cpp: 11 (JSC::JSArray::pop): 12 1 13 2012-06-29 Filip Pizlo <fpizlo@apple.com> 2 14 -
trunk/Source/JavaScriptCore/runtime/JSArray.cpp
r119633 r121700 1259 1259 return jsUndefined(); 1260 1260 // Call the [[Delete]] internal method of O with arguments indx and true. 1261 deletePropertyByIndex(this, exec, index); 1261 if (!deletePropertyByIndex(this, exec, index)) { 1262 throwTypeError(exec, "Unable to delete property."); 1263 return jsUndefined(); 1264 } 1262 1265 // Call the [[Put]] internal method of O with arguments "length", indx, and true. 1263 1266 setLength(exec, index, true);
Note: See TracChangeset
for help on using the changeset viewer.