Bug 1824751 [wpt PR 39215] - [FLEDGE] Add "use strict" to FLEDGE WPT tests' JS script...
commita35b63e5ddd24fd627bc9c3102dbd38556b01193
authorMatt Menke <mmenke@chromium.org>
Thu, 30 Mar 2023 11:09:26 +0000 (30 11:09 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 12 Apr 2023 11:21:33 +0000 (12 11:21 +0000)
tree2d3e019fb45c264e8ed807159da983e56681e34f
parentd7f5bc1a903a73e4fc8375ade6019b47bfaf3dc1
Bug 1824751 [wpt PR 39215] - [FLEDGE] Add "use strict" to FLEDGE WPT tests' JS scripts., a=testonly

Automatic update from web-platform-tests
[FLEDGE] Add "use strict" to FLEDGE WPT tests' JS scripts.

The tests are already written in a strict manner, so this just requires
adding the "use strict" directive.

This does not add the directive to bidding or scoring scripts, just to
renderer scripts. Since bidding and scoring scripts use generated JS,
unclear if it's worth using the directive on them, though all generated
scripts currently don't actually declare any variables, so should be
fine with it.

Bug: 1425952
Change-Id: Ie4e0cf3930ed2e95936ef64c96cc6626c258a992
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4368335
Reviewed-by: Maks Orlovich <morlovich@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1122386}

--

wpt-commits: a99d6a9854b7cf16903e860df49db93520de4e4e
wpt-pr: 39215
testing/web-platform/tests/fledge/tentative/join-leave-ad-interest-group.https.sub.window.js
testing/web-platform/tests/fledge/tentative/no-winner.https.sub.window.js
testing/web-platform/tests/fledge/tentative/register-ad-beacon.https.sub.window.js
testing/web-platform/tests/fledge/tentative/reporting-arguments.https.sub.window.js
testing/web-platform/tests/fledge/tentative/resources/fledge-util.js
testing/web-platform/tests/fledge/tentative/send-report-to.https.sub.window.js