Changeset 47695 in webkit


Ignore:
Timestamp:
Aug 23, 2009 12:49:44 PM (15 years ago)
Author:
pfeldman@chromium.org
Message:

2009-08-23 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Inspector: REGRESSION Formatting Function in Console is Abbreviated Too Often

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

  • inspector/front-end/InjectedScript.js: (InjectedScript.getProperties): (InjectedScript.createProxyObject):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r47689 r47695  
     12009-08-23  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        Inspector: REGRESSION Formatting Function in Console is Abbreviated Too Often
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=28666
     8
     9        * inspector/front-end/InjectedScript.js:
     10        (InjectedScript.getProperties):
     11        (InjectedScript.createProxyObject):
     12
    1132009-08-22  Martin Robinson  <martin.james.robinson@gmail.com>
    214
  • trunk/WebCore/inspector/front-end/InjectedScript.js

    r47656 r47695  
    440440        if (!property.isGetter) {
    441441            var childObject = object[propertyName];
    442             var childObjectProxy = new InjectedScript.createProxyObject(childObject, objectProxy.objectId);
     442            var childObjectProxy = new InjectedScript.createProxyObject(childObject, objectProxy.objectId, true);
    443443            childObjectProxy.path = objectProxy.path ? objectProxy.path.slice() : [];
    444444            childObjectProxy.path.push(propertyName);
     
    867867
    868868// Called from within InspectorController on the 'inspected page' side.
    869 InjectedScript.createProxyObject = function(object, objectId)
     869InjectedScript.createProxyObject = function(object, objectId, abbreviate)
    870870{
    871871    var result = {};
     
    881881    }
    882882    try {
    883         result.description = Object.describe(object, true, InjectedScript._window());
     883        result.description = Object.describe(object, abbreviate, InjectedScript._window());
    884884    } catch (e) {
    885885        result.exception = e.toString();
Note: See TracChangeset for help on using the changeset viewer.