Changeset 9338 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jun 8, 2005, 12:09:50 AM (20 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r9326 r9338 1 2005-06-08 Maciej Stachowiak <[email protected]> 2 3 Change by Mark Rowe <[email protected]> 4 Reviewed by me. 5 6 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3327 7 (Exception When Setting Style to Invalid Value Lacks Line/File Information) 8 9 * kjs/nodes.cpp: Include source file and line number when making exception in 10 KJS_CHECKEXCEPTIONVALUE. 11 1 12 2005-06-07 Darin Adler <[email protected]> 2 13 -
trunk/JavaScriptCore/kjs/nodes.cpp
r9078 r9338 74 74 75 75 #define KJS_CHECKEXCEPTIONVALUE \ 76 if (exec->hadException()) \ 76 if (exec->hadException()) {\ 77 Object exception = exec->exception().toObject(exec); \ 78 exception.put(exec, "line", Number(this->line)); \ 79 exception.put(exec, "sourceURL", String(this->sourceURL)); \ 77 80 return exec->exception(); \ 81 }\ 78 82 if (Collector::outOfMemory()) \ 79 83 return Undefined(); // will be picked up by KJS_CHECKEXCEPTION
Note:
See TracChangeset
for help on using the changeset viewer.