Changeset 9338 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jun 8, 2005, 12:09:50 AM (20 years ago)
Author:
mjs
Message:

Change by Mark Rowe <[email protected]>
Reviewed by me.

  • kjs/nodes.cpp: Include source file and line number when making exception in KJS_CHECKEXCEPTIONVALUE.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r9326 r9338  
     12005-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
    1122005-06-07  Darin Adler  <[email protected]>
    213
  • trunk/JavaScriptCore/kjs/nodes.cpp

    r9078 r9338  
    7474
    7575#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)); \
    7780    return exec->exception(); \
     81  }\
    7882  if (Collector::outOfMemory()) \
    7983    return Undefined(); // will be picked up by KJS_CHECKEXCEPTION
Note: See TracChangeset for help on using the changeset viewer.