Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions api.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1693,11 +1693,6 @@ To perform <dfn>common matching logic</dfn>, given

1. Let |matching| be an [=set/is empty|empty=] [=set=].

1. Let |earliestEpoch| be the result of calling [=get the current epoch=],
passing |topLevelSite| and (|now| − |options|' [=validated conversion options/lookback=]).

1. If |earliestEpoch| is greater than |epoch|, return |matching|.

1. [=set/iterate|For each=] |impression| in the [=impression store=]:

1. Let |impressionEpoch| be the result of calling [=get the current epoch=],
Expand Down
8 changes: 0 additions & 8 deletions impl/src/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,14 +357,6 @@ export class Backend {
): Set<Impression> {
const matching = new Set<Impression>();

const earliestEpoch = this.#getCurrentEpoch(
topLevelSite,
now.subtract(lookback),
);
if (earliestEpoch > epoch) {
return matching;
}

for (const impression of this.#impressions) {
const impressionEpoch = this.#getCurrentEpoch(
topLevelSite,
Expand Down