Commit 4a8cc9f
Speculative deflake of pointerevent test
pointerevent_iframe-touch-action-none_touch.html could timeout.
An explanation for the timeout is that it was only waiting on the
subframe to load, and it was possible to start the injection of
synthetic events before the subframe has had a chance to add event
listeners. If the child frame fails to catch the events, it won't
send the results back to the parent and a timeout results.
Added loadFrameAndExecuteScript to a support file for standardization
of handling subframes with script. Cleaned up implementation to make
better use of shared code.
The tes
Bug: 40770210
Change-Id: I5fe6983190810fde072cb3968419aa3f26af4d48
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7901957
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1643870}1 parent 7affece commit 4a8cc9f
3 files changed
Lines changed: 25 additions & 25 deletions
File tree
- pointerevents
- resources
Lines changed: 7 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 28 | | |
50 | 29 | | |
51 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
52 | 33 | | |
53 | | - | |
| 34 | + | |
| 35 | + | |
54 | 36 | | |
55 | 37 | | |
56 | 38 | | |
| |||
60 | 42 | | |
61 | 43 | | |
62 | 44 | | |
63 | | - | |
64 | | - | |
| 45 | + | |
| 46 | + | |
65 | 47 | | |
66 | 48 | | |
67 | 49 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
502 | 518 | | |
503 | 519 | | |
504 | 520 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
0 commit comments