Commit b994876
test: move the non-contiguous range copy test onto the Clipboard API transport
The multi-range gap test arrived with the `hidden` column work on next-v6 and
stubbed `window.clipboardData` - the legacy IE transport this branch removes - then
asserted synchronously. Against the async Clipboard API it captured nothing and the
copied text read back as empty.
It now stubs `navigator.clipboard` the same way the other tests in this spec do, and
retries the assertion because the copy handler awaits the write. The expectation is
unchanged, so it still covers what it was written for: gaps preserved between two
non-contiguous ranges.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 2062d27 commit b994876
1 file changed
Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
0 commit comments