зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1874526 [wpt PR 43984] - [wptrunner] Do not include `testharness{,report}.js` twice, a=testonly
Automatic update from web-platform-tests [wptrunner] Do not include `testharness{,report}.js` twice (#43984) Injecting `<script src="/resources/testharness{,report}.js">` is an implicit behavior of `wptserve` for `.js` files [0]. Including `testharnessreport.js` twice for `content_shell` appears benign, but causes issues for the default WebDriver testharness implementation. Exporting this change will enable useful coverage for such browsers. A follow-up PR upstream will have `wpt lint` ban such duplicate scripts. [0]: https://github.com/web-platform-tests/wpt/blob/9e0d5be/tools/serve/serve.py#L273-L451 Bug: 1518022 Change-Id: I7a6e344c82bbaa33adfa578feeb966fa92f08040 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5195267 Commit-Queue: Jonathan Lee <jonathanjlee@google.com> Reviewed-by: Weizhong Xia <weizhong@google.com> Cr-Commit-Position: refs/heads/main@{#1247652} Co-authored-by: Jonathan Lee <jonathanjlee@google.com> -- wpt-commits: f66439a5ca42e416c30740cb25a7a72f3dda6d54 wpt-pr: 43984
This commit is contained in:
Родитель
ad83ba7921
Коммит
74a654cd40
|
@ -1,7 +1,6 @@
|
|||
// META: global=window
|
||||
// META: timeout=long
|
||||
// META: title=Fetch API: keepalive handling
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=../resources/keepalive-helper.js
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
// META: global=window
|
||||
// META: timeout=long
|
||||
// META: title=Fetch API: keepalive handling
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=../resources/keepalive-helper.js
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// META: global=window
|
||||
// META: timeout=long
|
||||
// META: title=Fetch API: keepalive handling
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=../resources/keepalive-helper.js
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// META: global=window
|
||||
// META: title=Fetch API: keepalive handling
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=../resources/keepalive-helper.js
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/dispatcher/dispatcher.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=/common/utils.js
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
|
||||
'use strict';
|
||||
|
||||
test(() => {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=/pending-beacon/resources/pending_beacon-helper.js
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=/pending-beacon/resources/pending_beacon-helper.js
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
|
||||
'use strict';
|
||||
|
||||
test(() => {
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// META: title=FetchLater: allowed by CSP
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=/pending-beacon/resources/pending_beacon-helper.js
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// META: title=FetchLater: blocked by CSP
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=/pending-beacon/resources/pending_beacon-helper.js
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// META: title=FetchLater: redirect blocked by CSP
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=/pending-beacon/resources/pending_beacon-helper.js
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/pending-beacon/resources/pending_beacon-helper.js
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/dispatcher/dispatcher.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=/common/utils.js
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/pending-beacon/resources/pending_beacon-helper.js
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/pending-beacon/resources/pending_beacon-helper.js
|
||||
// META: timeout=long
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=/pending-beacon/resources/pending_beacon-helper.js
|
||||
// META: timeout=long
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
// // META: script=/common/utils.js
|
||||
// // META: script=/resources/testdriver.js
|
||||
// // META: script=/resources/testdriver-vendor.js
|
||||
// // META: script=/resources/testharness.js
|
||||
// // META: script=/resources/testharnessreport.js
|
||||
// // META: script=/html/browsers/browsing-the-web/remote-context-helper/resources/remote-context-helper.js
|
||||
// // META: script=./resources/sandbox-top-navigation-helper.js
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
// META: script=/common/utils.js
|
||||
// META: script=/resources/testdriver.js
|
||||
// META: script=/resources/testdriver-vendor.js
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/html/browsers/browsing-the-web/remote-context-helper/resources/remote-context-helper.js
|
||||
// META: script=./resources/sandbox-top-navigation-helper.js
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
// META: script=/common/utils.js
|
||||
// META: script=/resources/testdriver.js
|
||||
// META: script=/resources/testdriver-vendor.js
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/html/browsers/browsing-the-web/remote-context-helper/resources/remote-context-helper.js
|
||||
// META: script=./resources/sandbox-top-navigation-helper.js
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
// META: script=/common/utils.js
|
||||
// META: script=/resources/testdriver.js
|
||||
// META: script=/resources/testdriver-vendor.js
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/html/browsers/browsing-the-web/remote-context-helper/resources/remote-context-helper.js
|
||||
// META: script=./resources/sandbox-top-navigation-helper.js
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
// META: script=/common/utils.js
|
||||
// META: script=/resources/testdriver.js
|
||||
// META: script=/resources/testdriver-vendor.js
|
||||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/html/browsers/browsing-the-web/remote-context-helper/resources/remote-context-helper.js
|
||||
// META: script=./resources/sandbox-top-navigation-helper.js
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
|
||||
'use strict';
|
||||
|
||||
test(() => {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/utils.js
|
||||
// META: script=./resources/pending_beacon-helper.js
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/common/dispatcher/dispatcher.js
|
||||
// META: script=/common/get-host-info.sub.js
|
||||
// META: script=/common/utils.js
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
// META: script=/shape-detection/resources/shapedetection-helpers.js
|
||||
|
||||
const imgUint16 = new ImageData(1024, 1024, {storageFormat: 'uint16'});
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
|
||||
'use strict';
|
||||
|
||||
promise_test(async t => {
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
// META: script=/resources/testharness.js
|
||||
// META: script=/resources/testharnessreport.js
|
||||
|
||||
'use strict';
|
||||
|
||||
test(() => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче