Changeset 10222 in webkit for trunk/JavaScriptCore/kjs/nodes.cpp
- Timestamp:
- Aug 16, 2005, 6:00:00 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.cpp
r10207 r10222 190 190 void Node::setExceptionDetailsIfNeeded(ExecState *exec) 191 191 { 192 if (exec->hadException()) { 193 ObjectImp *exception = static_cast<ObjectImp *>(exec->exception()); 192 ValueImp *exceptionValue = exec->exception(); 193 if (exceptionValue->isObject()) { 194 ObjectImp *exception = static_cast<ObjectImp *>(exceptionValue); 194 195 if (!exception->hasProperty(exec, "line") && !exception->hasProperty(exec, "sourceURL")) { 195 196 exception->put(exec, "line", Number(line));
Note:
See TracChangeset
for help on using the changeset viewer.