From 346f66be1fa7899e64375fad45e0b75d57e26905 Mon Sep 17 00:00:00 2001 From: Chris Dumez Date: Sat, 3 Sep 2022 06:54:36 +0000 Subject: [PATCH] =?UTF-8?q?Bug=201783245=20[wpt=20PR=2035341]=20-=20Make?= =?UTF-8?q?=20sure=20html/semantics/forms/the-input-element/range-restore-?= =?UTF-8?q?oninpu=E2=80=A6,=20a=3Dtestonly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic update from web-platform-tests Make sure html/semantics/forms/the-input-element/range-restore-oninput-onchange-event.html doesn't trigger bfcache (#35341) This test was triggering bfcache in WebKit and thus not getting form restoration events on back navigation. To address this, use `HTTPS + Cache-Control: no-store` to opt out of bfcache. See discussion at https://github.com/web-platform-tests/interop-2022/issues/99. -- wpt-commits: 71e460e053fd2c8ba425c2fe11e73cf6f8e4eb40 wpt-pr: 35341 --- ...vent.html => range-restore-oninput-onchange-event.https.html} | 0 .../resources/range-restore-events.html.headers | 1 + .../the-input-element/resources/text-restore-events.html.headers | 1 + 3 files changed, 2 insertions(+) rename testing/web-platform/tests/html/semantics/forms/the-input-element/{range-restore-oninput-onchange-event.html => range-restore-oninput-onchange-event.https.html} (100%) create mode 100644 testing/web-platform/tests/html/semantics/forms/the-input-element/resources/range-restore-events.html.headers create mode 100644 testing/web-platform/tests/html/semantics/forms/the-input-element/resources/text-restore-events.html.headers diff --git a/testing/web-platform/tests/html/semantics/forms/the-input-element/range-restore-oninput-onchange-event.html b/testing/web-platform/tests/html/semantics/forms/the-input-element/range-restore-oninput-onchange-event.https.html similarity index 100% rename from testing/web-platform/tests/html/semantics/forms/the-input-element/range-restore-oninput-onchange-event.html rename to testing/web-platform/tests/html/semantics/forms/the-input-element/range-restore-oninput-onchange-event.https.html diff --git a/testing/web-platform/tests/html/semantics/forms/the-input-element/resources/range-restore-events.html.headers b/testing/web-platform/tests/html/semantics/forms/the-input-element/resources/range-restore-events.html.headers new file mode 100644 index 0000000000000..4030ea1d3ddb1 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-input-element/resources/range-restore-events.html.headers @@ -0,0 +1 @@ +Cache-Control: no-store diff --git a/testing/web-platform/tests/html/semantics/forms/the-input-element/resources/text-restore-events.html.headers b/testing/web-platform/tests/html/semantics/forms/the-input-element/resources/text-restore-events.html.headers new file mode 100644 index 0000000000000..4030ea1d3ddb1 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-input-element/resources/text-restore-events.html.headers @@ -0,0 +1 @@ +Cache-Control: no-store