Changeset 251176 in webkit


Ignore:
Timestamp:
Oct 15, 2019 7:08:32 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION (~244100) [Mac WK2 Debug] Layout Test http/tests/resourceLoadStatistics/prune-statistics.html is a flaky failure (197285)
https://bugs.webkit.org/show_bug.cgi?id=197285
<rdar://problem/50208370>

Patch by Kate Cheney <Kate Cheney> on 2019-10-15
Reviewed by Chris Dumez.

Source/WebKit:

This patch fixes a flaky failure which was being caused by other
resourceLoadStatistics tests scheduling processing checks which
were called during execution of prune-statistics.html.
Now, any pending processing checks are cancelled between tests.

  • NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:

(WebKit::WebResourceLoadStatisticsStore::scheduleClearInMemoryAndPersistent):

LayoutTests:

Remove a "skipped" expectation for a previously flaky test that should
be fixed by this patch.

  • platform/mac-wk2/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r251175 r251176  
     12019-10-15  Kate Cheney  <katherine_cheney@apple.com>
     2
     3        REGRESSION (~244100) [Mac WK2 Debug] Layout Test http/tests/resourceLoadStatistics/prune-statistics.html is a flaky failure (197285)
     4        https://bugs.webkit.org/show_bug.cgi?id=197285
     5        <rdar://problem/50208370>
     6
     7        Reviewed by Chris Dumez.
     8
     9        Remove a "skipped" expectation for a previously flaky test that should
     10        be fixed by this patch.
     11        * platform/mac-wk2/TestExpectations:
     12
    1132019-10-15  Wenson Hsieh  <wenson_hsieh@apple.com>
    214
  • trunk/LayoutTests/platform/mac-wk2/TestExpectations

    r251016 r251176  
    897897webkit.org/b/197283 fast/css-custom-paint/animate-repaint.html [ Pass Failure ]
    898898
    899 webkit.org/b/197285 http/tests/resourceLoadStatistics/prune-statistics.html [ Pass Failure ]
    900 
    901899webkit.org/b/197207 http/wpt/resource-timing/rt-resources-per-frame.html [ Pass Failure ]
    902900
  • trunk/Source/WebKit/ChangeLog

    r251174 r251176  
     12019-10-15  Kate Cheney  <katherine_cheney@apple.com>
     2
     3        REGRESSION (~244100) [Mac WK2 Debug] Layout Test http/tests/resourceLoadStatistics/prune-statistics.html is a flaky failure (197285)
     4        https://bugs.webkit.org/show_bug.cgi?id=197285
     5        <rdar://problem/50208370>
     6
     7        Reviewed by Chris Dumez.
     8
     9        This patch fixes a flaky failure which was being caused by other
     10        resourceLoadStatistics tests scheduling processing checks which
     11        were called during execution of prune-statistics.html.
     12        Now, any pending processing checks are cancelled between tests.
     13
     14        * NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:
     15        (WebKit::WebResourceLoadStatisticsStore::scheduleClearInMemoryAndPersistent):
     16
    1172019-10-15  Chris Dumez  <cdumez@apple.com>
    218
  • trunk/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp

    r251041 r251176  
    899899            }
    900900        });
     901       
     902        m_statisticsStore->cancelPendingStatisticsProcessingRequest();
    901903    });
    902904}
Note: See TracChangeset for help on using the changeset viewer.