Commit efde053
Split 2d-invalid-size-context-lost.html into test variants
With this change, each canvas types (HTMLCanvasElement, OffscreenCanvas,
offscreen + placeholder, etc.) run into different test instances. This
makes each of these instances run faster (potentially avoiding
timeouts). This will also be useful in a follow-up CL
(https://crrev.com/c/7770807), where tests will be added to validate GPU
process loss. Tests are normally running one after the other, so an
individual test can kill and restore the GPU process without impacting
the others. But this is not true for worker tests because workers run in
a parallel thread. Killing the GPU process in the main thread would
break the test running in the worker. The solution to this is to run the
workers in a different variant, which will either run with a different
test runner, or before/after other variants.
Change-Id: I95ec34c070d0908e687b5d7c8d207c2e012f585e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7770727
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1617255}1 parent b225b38 commit efde053
2 files changed
Lines changed: 31 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
54 | 69 | | |
55 | 70 | | |
56 | 71 | | |
| |||
66 | 81 | | |
67 | 82 | | |
68 | 83 | | |
69 | | - | |
| 84 | + | |
| 85 | + | |
70 | 86 | | |
71 | 87 | | |
72 | 88 | | |
| |||
79 | 95 | | |
80 | 96 | | |
81 | 97 | | |
82 | | - | |
| 98 | + | |
| 99 | + | |
83 | 100 | | |
84 | 101 | | |
85 | 102 | | |
| |||
91 | 108 | | |
92 | 109 | | |
93 | 110 | | |
94 | | - | |
| 111 | + | |
| 112 | + | |
95 | 113 | | |
96 | 114 | | |
97 | 115 | | |
98 | 116 | | |
99 | 117 | | |
100 | | - | |
| 118 | + | |
| 119 | + | |
101 | 120 | | |
102 | 121 | | |
103 | 122 | | |
104 | 123 | | |
105 | 124 | | |
106 | | - | |
| 125 | + | |
| 126 | + | |
107 | 127 | | |
108 | 128 | | |
109 | 129 | | |
| |||
122 | 142 | | |
123 | 143 | | |
124 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
125 | 149 | | |
126 | 150 | | |
127 | 151 | | |
| |||
0 commit comments