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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 23 02:11:03 PDT 2009


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


Pavel Feldman <pfeldman at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #3 from Pavel Feldman <pfeldman at chromium.org>  2009-08-23 02:11:03 PDT ---

> +            return { value: InjectedScript.createProxyObject(null, null), exception: false };

We don't wrap primitive values with proxy objects at the moment, why wrapping
null. I would just do

    return { value: null };

However, that would require fixing ConsoleView's proxy detection:

    var isProxy = typeof output === "object";

should be replaced with

    var isProxy = output !== null && typeof output === "object";

-- 
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