[Webkit-unassigned] [Bug 28983] WebInspector: Wrap primitive values (as objects) in InspectorController::wrap

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 14:06:45 PDT 2009


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


Pavel Feldman <pfeldman at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |WONTFIX
                 CC|                            |yurys at chromium.org
             Status|UNCONFIRMED                 |RESOLVED




--- Comment #1 from Pavel Feldman <pfeldman at chromium.org>  2009-09-04 14:06:45 PDT ---
My intention was to ease the way evaluation results are rendered (for watch
expressions functionality). I started doing it, but then realized that
evaluating into some primitive value is a good capability and it should stay.
For example we use it when calculating completions.

So instead, I would recommend reusing Console's _format capabilities for
rendering watches. WebInspector.ConsoleCommandResult should render any
evaluation result properly. One should not need to get into
InspectorController.getProperties, Object.describe and other specifics. Just do
the eval and wrap render it using this class.

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