Changeset 66861 in webkit


Ignore:
Timestamp:
Sep 6, 2010 8:13:06 PM (14 years ago)
Author:
Dimitri Glazkov
Message:

2010-09-06 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

[Chromium/DRT] Empty out user stylesheet after each test run.
https://bugs.webkit.org/show_bug.cgi?id=45282

This should significantly cut down on the number of the mysterious flaky tests
whose diffs looked like the page was blown up to a very lage size. This
was indeed the dirty work of platform/mac/fast/loader/user-stylesheet-fast-path.html,
which set the base body font to 100px.

Since the user stylesheet was never reset, _all_ pixel tests that ran after it in
the same thread failed.

  • DumpRenderTree/chromium/TestShell.cpp: (TestShell::resetWebSettings): Set user stylesheet to an empty URL.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r66860 r66861  
     12010-09-06  Dimitri Glazkov  <dglazkov@chromium.org>
     2
     3        Reviewed by Kent Tamura.
     4
     5        [Chromium/DRT] Empty out user stylesheet after each test run.
     6        https://bugs.webkit.org/show_bug.cgi?id=45282
     7
     8        This should significantly cut down on the number of the mysterious flaky tests
     9        whose diffs looked like the page was blown up to a very lage size. This
     10        was indeed the dirty work of platform/mac/fast/loader/user-stylesheet-fast-path.html,
     11        which set the base body font to 100px.
     12
     13        Since the user stylesheet was never reset, _all_ pixel tests that ran after it in
     14        the same thread failed.
     15
     16        * DumpRenderTree/chromium/TestShell.cpp:
     17        (TestShell::resetWebSettings): Set user stylesheet to an empty URL.
     18
    1192010-09-06  Kent Tamura  <tkent@chromium.org>
    220
  • trunk/WebKitTools/DumpRenderTree/chromium/TestShell.cpp

    r66860 r66861  
    205205    settings->setOfflineWebApplicationCacheEnabled(true);
    206206    settings->setAllowFileAccessFromFileURLs(true);
     207    settings->setUserStyleSheetLocation(WebURL());
    207208
    208209    // LayoutTests were written with Safari Mac in mind which does not allow
Note: See TracChangeset for help on using the changeset viewer.