Bug 1653012 [wpt PR 24609] - Fix incorrect uses of testdriver.js in WPT, a=testonly

Automatic update from web-platform-tests
Fix incorrect uses of testdriver.js in WPT

testdriver-vendor.js must be included after testdriver.js.
This CL fixes all the affected tests; there will be a new lint rule to
prevent regressions later.

Bug: 1105751
Change-Id: I793c5d3c65f4cdeeed3f120f6fad063dffaaa406
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300261
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Eric Willigers <ericwilligers@chromium.org>
Auto-Submit: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788828}

--

wpt-commits: 4cb6be1ace00074aad563c32b019adf096cbb307
wpt-pr: 24609
This commit is contained in:
Robert Ma 2020-07-22 19:57:51 +00:00 коммит произвёл moz-wptsync-bot
Родитель 69865eeac0
Коммит 09eaece8e3
5 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -7,8 +7,8 @@
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<body>
<script>
"use strict";

Просмотреть файл

@ -4,8 +4,8 @@
<link rel="help" href="https://w3c.github.io/browser-payment-api/#show-method">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src='/resources/testdriver-vendor.js'></script>
<script src="/resources/testdriver.js"></script>
<script src='/resources/testdriver-vendor.js'></script>
<script>
const basicCard = Object.freeze({ supportedMethods: "basic-card" });
const applePay = Object.freeze({

Просмотреть файл

@ -6,8 +6,8 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/manual-helper.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
</head>
<body>
<script>

Просмотреть файл

@ -6,8 +6,8 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/manual-helper.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
</head>
<body>
<script>

Просмотреть файл

@ -5,8 +5,8 @@
<title>WebShare Test: Share with an invalid URL</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
</head>
<body>
<script>