Changeset 238917 in webkit


Ignore:
Timestamp:
Dec 5, 2018 4:13:46 PM (5 years ago)
Author:
youenn@apple.com
Message:

REGRESSION: Layout Test http/tests/security/cross-origin-css-resource-timing.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=192408
<rdar://problem/46492201>

Reviewed by Ryosuke Niwa.

Some of the tests are loading the same subresource and check for resource timing.
We need to clear internal caches to have stable results.

  • http/tests/security/clean-origin-css-exposed-resource-timing.html:
  • http/tests/security/cross-origin-clean-css-resource-timing.html:
  • http/tests/security/cross-origin-css-resource-timing.html:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r238914 r238917  
     12018-12-05  Youenn Fablet  <youenn@apple.com>
     2
     3        REGRESSION: Layout Test http/tests/security/cross-origin-css-resource-timing.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=192408
     5        <rdar://problem/46492201>
     6
     7        Reviewed by Ryosuke Niwa.
     8
     9        Some of the tests are loading the same subresource and check for resource timing.
     10        We need to clear internal caches to have stable results.
     11
     12        * http/tests/security/clean-origin-css-exposed-resource-timing.html:
     13        * http/tests/security/cross-origin-clean-css-resource-timing.html:
     14        * http/tests/security/cross-origin-css-resource-timing.html:
     15
    1162018-12-05  Matt Baker  <mattbaker@apple.com>
    217
  • trunk/LayoutTests/http/tests/security/clean-origin-css-exposed-resource-timing.html

    r238698 r238917  
    1010<div id="mydiv" style="font: 12px 'ahem'">Test</div>
    1111<script>
     12if (window.internals) {
     13    internals.clearMemoryCache();
     14    internals.invalidateFontCache();
     15}
    1216const waitOnLoad = new Promise((resolve) => {
    1317    window.onload = resolve;
  • trunk/LayoutTests/http/tests/security/cross-origin-clean-css-resource-timing.html

    r238770 r238917  
    1010<div id="mydiv" style="font: 12px 'ahem'">Test</div>
    1111<script>
     12if (window.internals) {
     13    internals.clearMemoryCache();
     14    internals.invalidateFontCache();
     15}
    1216const waitOnLoad = new Promise((resolve) => {
    1317    window.onload = resolve;
  • trunk/LayoutTests/http/tests/security/cross-origin-css-resource-timing.html

    r238698 r238917  
    1010<div id="mydiv" style="font: 12px 'ahem'">Test</div>
    1111<script>
     12if (window.internals) {
     13    internals.clearMemoryCache();
     14    internals.invalidateFontCache();
     15}
    1216const waitOnLoad = new Promise((resolve) => {
    1317    window.onload = resolve;
Note: See TracChangeset for help on using the changeset viewer.