From 5817028cb8ad9d8fd65f64edac35230c2918fb38 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicol=C3=A1s=20Pe=C3=B1a=20Moreno?= Date: Wed, 28 Aug 2019 09:53:46 +0000 Subject: [PATCH] Bug 1575984 [wpt PR 18620] - [EventTiming] Replace onload tests, a=testonly MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Automatic update from web-platform-tests [EventTiming] Replace onload tests The onload-related tests were meant to test the performance timeline buffering behavior. But now that Event Timing is not exposed on the timeline, those tests don't really make much sense. Instead, a test is added to test that the timestamps corresponding to two 'consecutive' clickAndBlockMain() calls behave as one would expect. Bug: 987236 Change-Id: Icc798fe1e0684a52992a83ba4de931481e1ded2a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766762 Reviewed-by: Steve Kobes Commit-Queue: Nicolás Peña Moreno Cr-Commit-Position: refs/heads/master@{#690738} -- wpt-commits: a06073285c93394247f8a01c032f5abffa1d3f10 wpt-pr: 18620 --- .../tests/event-timing/bufferbeforeonload.html | 99 ---------------------- .../tests/event-timing/click-timing.html | 64 ++++++++++++++ .../tests/event-timing/observethenonload.html | 97 --------------------- .../event-timing/onloadthenobserve-firstInput.html | 66 --------------- .../tests/event-timing/onloadthenobserve.html | 80 ----------------- 5 files changed, 64 insertions(+), 342 deletions(-) delete mode 100644 testing/web-platform/tests/event-timing/bufferbeforeonload.html create mode 100644 testing/web-platform/tests/event-timing/click-timing.html delete mode 100644 testing/web-platform/tests/event-timing/observethenonload.html delete mode 100644 testing/web-platform/tests/event-timing/onloadthenobserve-firstInput.html delete mode 100644 testing/web-platform/tests/event-timing/onloadthenobserve.html diff --git a/testing/web-platform/tests/event-timing/bufferbeforeonload.html b/testing/web-platform/tests/event-timing/bufferbeforeonload.html deleted file mode 100644 index 4b003a98f64e..000000000000 --- a/testing/web-platform/tests/event-timing/bufferbeforeonload.html +++ /dev/null @@ -1,99 +0,0 @@ - - - -Event Timing: buffer long-latency events before onload - - - - - - - - - - - - diff --git a/testing/web-platform/tests/event-timing/click-timing.html b/testing/web-platform/tests/event-timing/click-timing.html new file mode 100644 index 000000000000..afe53bfc23c9 --- /dev/null +++ b/testing/web-platform/tests/event-timing/click-timing.html @@ -0,0 +1,64 @@ + + + +Event Timing: compare timing of two long clicks + + + + + + + + + diff --git a/testing/web-platform/tests/event-timing/observethenonload.html b/testing/web-platform/tests/event-timing/observethenonload.html deleted file mode 100644 index 8295aaf04128..000000000000 --- a/testing/web-platform/tests/event-timing/observethenonload.html +++ /dev/null @@ -1,97 +0,0 @@ - - - -Event Timing: Performance observers can observe long-latency events - - - - - - - - - - - - - diff --git a/testing/web-platform/tests/event-timing/onloadthenobserve-firstInput.html b/testing/web-platform/tests/event-timing/onloadthenobserve-firstInput.html deleted file mode 100644 index 3cd80e2eba1a..000000000000 --- a/testing/web-platform/tests/event-timing/onloadthenobserve-firstInput.html +++ /dev/null @@ -1,66 +0,0 @@ - - - -Event Timing: buffer long-latency events before onload - - - - - - - - - - - diff --git a/testing/web-platform/tests/event-timing/onloadthenobserve.html b/testing/web-platform/tests/event-timing/onloadthenobserve.html deleted file mode 100644 index 4365f4837bcc..000000000000 --- a/testing/web-platform/tests/event-timing/onloadthenobserve.html +++ /dev/null @@ -1,80 +0,0 @@ - - - -Event Timing: long-latency events after onload and before observer -registration are lost - - - - - - - - - - - -- 2.11.4.GIT