[Webkit-unassigned] [Bug 28665] New: Inspector: Throws an Error on "null"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 22 23:53:59 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28665
Summary: Inspector: Throws an Error on "null"
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: joepeck at webkit.org
CC: timothy at hatcher.name, aroben at apple.com,
pfeldman at chromium.org
The Console is throwing an error on "null". This seems to happen because after
the result of an eval goes to InspectorController.wrapObject(), which doesn't
handle null very well.
Current Behavior:
> null
TypeError: Result of expression 'wrapper' [null] is not an object.
> [null, null]
[]
> var o = { a: null }
Object
a: null
> o.a
TypeError: Result of expression 'wrapper' [null] is not an object.
Expected Behavior (from Safari 4.0.3):
> null
null
> [null, null]
[null, null]
> var o = { a:null }
undefined
> o
Object
a: null
> o.a
null
--
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