Skip to content

Commit 76bc65d

Browse files
authored
Merge branch 'main' into fix/align-edgezero-pr-381
2 parents 3416b71 + 6cae7f5 commit 76bc65d

25 files changed

Lines changed: 5597 additions & 531 deletions

crates/trusted-server-core/src/integrations/gpt.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,12 +1247,16 @@ mod tests {
12471247
"should set ts_initial sentinel"
12481248
);
12491249
assert!(
1250-
!combined.contains("addEventListener(\"slotRenderEnded\""),
1251-
"inline bootstrap cannot prove TS creative rendering from GPT slotRenderEnded"
1250+
combined.contains("addEventListener(\"slotRequested\""),
1251+
"should observe publisher GPT requests before delayed adInit"
1252+
);
1253+
assert!(
1254+
combined.contains("addEventListener(\"slotRenderEnded\""),
1255+
"should observe publisher GPT renders before delayed adInit"
12521256
);
12531257
assert!(
12541258
!combined.contains("sendBeacon"),
1255-
"inline bootstrap must not fire win/billing beacons from GPT slotRenderEnded"
1259+
"inline bootstrap lifecycle ownership must not fire win/billing beacons"
12561260
);
12571261
assert!(
12581262
!combined.contains("getTargeting(\"hb_adid\")"),

0 commit comments

Comments
 (0)