Changeset 260624 in webkit


Ignore:
Timestamp:
Apr 24, 2020 12:59:30 AM (4 years ago)
Author:
commit-queue@webkit.org
Message:

Import fetch/stale-while-revalidate/fetch.html
https://bugs.webkit.org/show_bug.cgi?id=210905

Patch by Rob Buis <rbuis@igalia.com> on 2020-04-24
Reviewed by Youenn Fablet.

LayoutTests/imported/w3c:

Import fetch/stale-while-revalidate/fetch.html to try to fix
flakiness (see https://bugs.webkit.org/show_bug.cgi?id=207230).

  • web-platform-tests/fetch/stale-while-revalidate/fetch.html:

LayoutTests:

This test should not be flaky anymore.

  • platform/ios/TestExpectations:
  • platform/mac/TestExpectations:
Location:
trunk/LayoutTests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r260618 r260624  
     12020-04-24  Rob Buis  <rbuis@igalia.com>
     2
     3        Import fetch/stale-while-revalidate/fetch.html
     4        https://bugs.webkit.org/show_bug.cgi?id=210905
     5
     6        Reviewed by Youenn Fablet.
     7
     8        This test should not be flaky anymore.
     9
     10        * platform/ios/TestExpectations:
     11        * platform/mac/TestExpectations:
     12
    1132020-04-23  Lauro Moura  <lmoura@igalia.com>
    214
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r260533 r260624  
     12020-04-24  Rob Buis  <rbuis@igalia.com>
     2
     3        Import fetch/stale-while-revalidate/fetch.html
     4        https://bugs.webkit.org/show_bug.cgi?id=210905
     5
     6        Reviewed by Youenn Fablet.
     7
     8        Import fetch/stale-while-revalidate/fetch.html to try to fix
     9        flakiness (see https://bugs.webkit.org/show_bug.cgi?id=207230).
     10
     11        * web-platform-tests/fetch/stale-while-revalidate/fetch.html:
     12
    1132020-04-22  Myles C. Maxfield  <mmaxfield@apple.com>
    214
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/stale-while-revalidate/fetch.html

    r252397 r260624  
    11<!DOCTYPE html>
    22<meta charset="utf-8">
    3 <title>Tests Stale While Revalidate is not executed for fetch API</title>
     3<title>Tests Stale While Revalidate is executed for fetch API</title>
    44<script src="/resources/testharness.js"></script>
    55<script src="/resources/testharnessreport.js"></script>
     
    1818
    1919  const response = await fetch(`resources/stale-script.py?token=` + request_token);
     20  // Wait until resource is completely fetched to allow caching before next fetch.
     21  const body = await response.text();
    2022  const response2 = await fetch(`resources/stale-script.py?token=` + request_token);
    2123
    2224  assert_equals(response.headers.get('Unique-Id'), response2.headers.get('Unique-Id'));
     25  const body2 = await response2.text();
     26  assert_equals(body, body2);
    2327
    2428  while(true) {
  • trunk/LayoutTests/platform/ios/TestExpectations

    r260561 r260624  
    34233423webkit.org/b/207225 imported/w3c/web-platform-tests/service-workers/service-worker/extendable-event-waituntil.https.html [ Pass Failure ]
    34243424
    3425 webkit.org/b/207230 imported/w3c/web-platform-tests/fetch/stale-while-revalidate/fetch.html [ Pass Failure ]
    3426 
    34273425# Locale-specific shaping is only enabled on certain OSes.
    34283426webkit.org/b/77568 fast/text/locale-shaping.html [ ImageOnlyFailure ]
  • trunk/LayoutTests/platform/mac/TestExpectations

    r260471 r260624  
    18701870webkit.org/b/207226 http/tests/misc/image-blocked-src-change.html [ Pass Failure ]
    18711871
    1872 webkit.org/b/207230 imported/w3c/web-platform-tests/fetch/stale-while-revalidate/fetch.html [ Pass Failure ]
    1873 
    18741872webkit.org/b/206908 imported/w3c/web-platform-tests/hr-time/basic.any.html [ Pass Failure ]
    18751873
Note: See TracChangeset for help on using the changeset viewer.