1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14

content / test / data / fenced_frames / ad_with_fenced_frame_private_aggregation_reporting.html [blame]

<!DOCTYPE html>
<html>
<!-- Used by browsertests (such as InterestGroupFencedFrameBrowserTest's
RunAdAuctionWithWinnerRegisterPrivateAggregationBuyer) that require private
aggregation reporting. As soon as the page loads, it sends a private aggregation
event using the PA `reportEvent` path. This file should used as the url loaded
into a fenced frame, and the `bidding_logic.js` file should include a call to
privateAggregation.contributeToHistogramOnEvent('auctionwinner', {...}). -->
<body>
<script>
    window.fence.reportEvent('auctionwinner');
</script>
</body>
</html>