Changeset 63663 in webkit


Ignore:
Timestamp:
Jul 19, 2010 8:23:43 AM (14 years ago)
Author:
yurys@chromium.org
Message:

2010-07-19 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

[chromium] inspector/console-trace.html failing on windows after r63548
https://bugs.webkit.org/show_bug.cgi?id=42485

  • inspector/console-trace.html: call dumpConsoleMessages sycnhronously right after console.trace
  • platform/chromium/test_expectations.txt:

2010-07-19 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: add/removeStyleClass shouldn't increase number of spaces between class names.
https://bugs.webkit.org/show_bug.cgi?id=42485

  • inspector/front-end/utilities.js: (Element.prototype.removeStyleClass):
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r63658 r63663  
     12010-07-19  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        [chromium] inspector/console-trace.html failing on windows after r63548
     6        https://bugs.webkit.org/show_bug.cgi?id=42485
     7
     8        * inspector/console-trace.html: call dumpConsoleMessages sycnhronously right after console.trace
     9        * platform/chromium/test_expectations.txt:
     10
    1112010-07-19  Csaba Osztrogonác  <ossy@webkit.org>
    212
  • trunk/LayoutTests/inspector/console-trace.html

    r63548 r63663  
    1313{
    1414    b();
     15    dumpConsoleMessages();
    1516}
    1617
     
    1819{
    1920    setTimeout(a, 0);
    20     dumpConsoleMessages();
    2121}
    2222
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r63650 r63663  
    31293129BUG49343 : fast/js/reserved-words-as-property.html = TEXT
    31303130
    3131 BUG42485 WIN : inspector/console-trace.html = TEXT
    3132 
    31333131BUG42486 MAC DEBUG : svg/filters/filter-empty-g.svg = CRASH
  • trunk/WebCore/ChangeLog

    r63662 r63663  
     12010-07-19  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: add/removeStyleClass shouldn't increase number of spaces between class names.
     6        https://bugs.webkit.org/show_bug.cgi?id=42485
     7
     8        * inspector/front-end/utilities.js:
     9        (Element.prototype.removeStyleClass):
     10
    1112010-07-19  Yury Semikhatsky  <yurys@chromium.org>
    212
  • trunk/WebCore/inspector/front-end/utilities.js

    r61514 r63663  
    189189        return;
    190190
    191     var newClassName = " " + this.className + " ";
    192     this.className = newClassName.replace(" " + className + " ", " ");
     191    this.className = this.className.split(" ").filter(function(s) {
     192        return s && s !== className;
     193    }).join(" ");
    193194}
    194195
Note: See TracChangeset for help on using the changeset viewer.