This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Commit bb23160
Bug 1932883 [wpt PR 49331] - Refactor pointerevents_iframe-touch-action-none, a=testonly
Automatic update from web-platform-tests
Refactor pointerevents_iframe-touch-action-none
Problems in the test:
* onload only ensures the parent frame is loaded and not the child
frame. Fix by explicitly triggering load of the child frame and
waiting on completion.
* assumes message from child frame will be posted and processed by the
time the button is pressed, but this can happen too quickly. Fix by
waiting on a message promise from the child frame.
* concatenation of events from the child frame is needlessly
convoluted and likely the result of copy-paste from another test.
1 flake over 100 runs without fix.
0 flakes over 600 runs with the fix.
Bug: 40770210
Change-Id: Icf6640ee87b0d85f93bfa0753794545f1c302462
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6035259
Reviewed-by: Mustaq Ahmed <[email protected]>
Commit-Queue: Kevin Ellis <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1386777}
--
wpt-commits: 97bfee7308f1b4d2443ea91056be7867fb3d8f18
wpt-pr: 493311 parent 86d7114 commit bb23160
File tree
1 file changed
+45
-44
lines changed- testing/web-platform/tests/pointerevents
1 file changed
+45
-44
lines changedLines changed: 45 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | | - | |
17 | 22 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
26 | 27 | | |
27 | | - | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | | - | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 61 | | |
64 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
0 commit comments