зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1735923 - avoid caching effects with a different query parameter for each subtest r=padenot
to work around https://bugzilla.mozilla.org/show_bug.cgi?id=1129121 Differential Revision: https://phabricator.services.mozilla.com/D143866
This commit is contained in:
Родитель
c1fa36ebc4
Коммит
2692aaa2d6
|
@ -1,9 +1,6 @@
|
|||
[fetch-canvas-tainting-video-with-range-request.https.html]
|
||||
expected:
|
||||
if (os == "android") and fission: [OK, TIMEOUT]
|
||||
[range responses from multiple origins (cross-origin first)]
|
||||
expected: FAIL
|
||||
|
||||
[range responses from single origin with both opaque and non-opaque responses]
|
||||
expected:
|
||||
if (os == "win") and debug and (processor == "x86"): [FAIL, PASS]
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
// byte range). Then the <video> element automatically makes ranged requests
|
||||
// (the "Range" HTTP request header specifies a byte range). The server responds
|
||||
// to these with 206 Partial Content for the given range.
|
||||
let unique = 0; // See https://bugzilla.mozilla.org/show_bug.cgi?id=1129121
|
||||
function range_request_test(script, expected, description) {
|
||||
promise_test(t => {
|
||||
let frame;
|
||||
|
@ -38,9 +39,10 @@ function range_request_test(script, expected, description) {
|
|||
})
|
||||
.then(f => {
|
||||
frame = f;
|
||||
// Add "?VIDEO&PartialContent" to get a video resource from the
|
||||
// Add "?PartialContent&VIDEO" to get a video resource from the
|
||||
// server using range requests.
|
||||
const video_url = 'fetch-access-control.py?VIDEO&PartialContent';
|
||||
const video_url =
|
||||
'fetch-access-control.py?PartialContent&VIDEO=' + unique++;
|
||||
return frame.contentWindow.create_test_case_promise(video_url);
|
||||
})
|
||||
.then(result => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче