[Webkit-unassigned] [Bug 28665] Inspector: Throws an Error on "null"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 23 00:04:04 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28665


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38447|                            |review?
               Flag|                            |




--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org>  2009-08-23 00:04:03 PDT ---
Created an attachment (id=38447)
 --> (https://bugs.webkit.org/attachment.cgi?id=38447)
[PATCH] One Possible Solution

No other falsey value causes wrapObject() to return a null value (NaN,
undefined, 0, '').  This solution tackles null before calling wrapObject. 
Another solution could be checking the result of wrapObject (wrapper).  And yet
another solution could handle null differently inside
InspectorController.wrapObject().  This approach seemed simplest.

Pavel, would there be a more appropriate solution?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list