⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 99411 in webkit


Ignore:
Timestamp:
Nov 7, 2011, 5:43:17 AM (15 years ago)
Author:
caseq@chromium.org
Message:

Web Inspector: use toString as the Date object description.
https://bugs.webkit.org/show_bug.cgi?id=71605

Reviewed by Yury Semikhatsky.

Source/WebCore:

Test: inspector/remote-object.html

  • inspector/InjectedScriptSource.js:

(.):

LayoutTests:

  • inspector/remote-object-expected.txt: Added.
  • inspector/remote-object.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r99406 r99411  
     12011-11-07  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        Web Inspector: use toString as the Date object description.
     4        https://bugs.webkit.org/show_bug.cgi?id=71605
     5
     6        Reviewed by Yury Semikhatsky.
     7
     8        * inspector/remote-object-expected.txt: Added.
     9        * inspector/remote-object.html: Added.
     10
    1112011-11-07  Philippe Normand  <pnormand@igalia.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r99410 r99411  
     12011-11-07  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        Web Inspector: use toString as the Date object description.
     4        https://bugs.webkit.org/show_bug.cgi?id=71605
     5
     6        Reviewed by Yury Semikhatsky.
     7
     8        Test: inspector/remote-object.html
     9
     10        * inspector/InjectedScriptSource.js:
     11        (.):
     12
    1132011-10-26  Andrey Kosyakov  <caseq@chromium.org>
    214
  • trunk/Source/WebCore/inspector/InjectedScriptSource.js

    r95538 r99411  
    431431            return this._toString(obj);
    432432
     433        if (subtype === "date")
     434            return this._toString(obj);
     435
    433436        var className = InjectedScriptHost.internalConstructorName(obj);
    434437        if (subtype === "array") {
Note: See TracChangeset for help on using the changeset viewer.