Bug 1848034 [wpt PR 41400] - [FLEDGE] Fix scoring signals data-version tests., a...
commit33c82b8be61109c4a4da28bc43b27abdd7a2681f
authorMatt Menke <mmenke@chromium.org>
Mon, 14 Aug 2023 17:22:01 +0000 (14 17:22 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 17 Aug 2023 21:35:11 +0000 (17 21:35 +0000)
tree9b466a543699b20c1ca74823d357bed435747a57
parentaf5650f5c34ef4c7f39cace3b67419be1244aa27
Bug 1848034 [wpt PR 41400] - [FLEDGE] Fix scoring signals data-version tests., a=testonly

Automatic update from web-platform-tests
[FLEDGE] Fix scoring signals data-version tests.

They were calling runTrustedScoringSignalsTest() instead of
runTrustedScoringSignalsDataVersionTest(). As a result, they were only
checking the data version received by scoreAd(), instead of checking it
in both scoreAd() and reportResult().

Also fix a bug in how runTrustedScoringSignalsDataVersionTest() tracks
reports.

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

--

wpt-commits: 46320098ad9db81dc4d02fd70af406eb28ca9f56
wpt-pr: 41400
testing/web-platform/tests/fledge/tentative/trusted-scoring-signals.https.sub.window.js