Changeset 27106 in webkit
- Timestamp:
- Oct 26, 2007 4:53:15 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r27105 r27106 1 2007-10-26 Maciej Stachowiak <mjs@apple.com> 2 3 No review, build fix. 4 5 * bindings/objc/WebScriptObject.mm: 6 (+[WebScriptObject throwException:]): 7 (-[WebScriptObject setException:]): 8 1 9 2007-10-26 Maciej Stachowiak <mjs@apple.com> 2 10 -
trunk/WebCore/bindings/objc/WebScriptObject.mm
r27097 r27106 261 261 return NO; 262 262 263 // If the interpreter has a context, we set the exception. 264 if (interp->context()) { 265 ExecState *exec = interp->context()->execState(); 266 267 if (exec) { 268 throwError(exec, GeneralError, exceptionMessage); 269 return YES; 270 } 263 // If the interpreter has a current exec state, we set the exception. 264 if (ExecState* exec = interp->currentExec()) { 265 throwError(exec, GeneralError, exceptionMessage); 266 return YES; 271 267 } 272 268 interp = interp->nextInterpreter(); … … 501 497 JSLock lock; 502 498 503 if ([self _rootObject]->interpreter()->context()) { 504 ExecState *exec = [self _rootObject]->interpreter()->context()->execState(); 505 506 ASSERT(exec); 499 if (ExecState* exec = [self _rootObject]->interpreter()->currentExec()) { 507 500 throwError(exec, GeneralError, description); 508 501 } else
Note: See TracChangeset
for help on using the changeset viewer.