diff options
Diffstat (limited to 'testing/web-platform/tests/fledge/tentative/generate-bid-recency.https.window.js')
-rw-r--r-- | testing/web-platform/tests/fledge/tentative/generate-bid-recency.https.window.js | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/testing/web-platform/tests/fledge/tentative/generate-bid-recency.https.window.js b/testing/web-platform/tests/fledge/tentative/generate-bid-recency.https.window.js deleted file mode 100644 index 07da463a2d..0000000000 --- a/testing/web-platform/tests/fledge/tentative/generate-bid-recency.https.window.js +++ /dev/null @@ -1,34 +0,0 @@ -// META: script=/resources/testdriver.js -// META: script=/common/utils.js -// META: script=resources/fledge-util.sub.js -// META: timeout=long - -"use strict;" - -promise_test(async test => { - const uuid = generateUuid(test); - await runReportTest( - test, uuid, - { generateBid: - `if (browserSignals.recency === undefined) - throw new Error("Missing recency in browserSignals.") - - if (browserSignals.recency < 0) - throw new Error("Recency is a negative value.") - - if (browserSignals.recency > 30000) - throw new Error("Recency is over 30 seconds threshold.") - - if (browserSignals.recency % 100 !== 0) - throw new Error("Recency is not rounded to multiple of 100 milliseconds.") - - return {'bid': 9, - 'render': interestGroup.ads[0].renderURL};`, - reportWin: - `sendReportTo('${createBidderReportURL(uuid)}');` - }, - // expectedReportUrls - [createBidderReportURL(uuid)] - ); -}, 'Check recency in generateBid() is below a certain threshold and rounded ' + - 'to multiple of 100 milliseconds.'); |