Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /fledge/tentative/kanon-status-below-threshold.https.window.html - WPT Dashboard Interop Dashboard
// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
// META: script=/common/utils.js
// META: script=resources/fledge-util.sub.js
// META: script=/common/subset-tests.js
"use strict;"
subsetTest(promise_test, async test => {
const uuid = generateUuid(test);
await runReportTest(
test, uuid,
{ reportWinSuccessCondition:
`browserSignals.kAnonStatus === "belowThreshold"`,
reportWin:
`sendReportTo('${createBidderReportURL(uuid)}');` },
// expectedReportURLs:
[createBidderReportURL(uuid)]);
},
'Check kAnonStatus is "belowThreshold" when FledgeConsiderKAnonymity' +
'is enabled and FledgeEnforceKAnonymity is disabled');