HTTPArchive / custom-metrics

Custom metrics to use with WebPageTest agents
Apache License 2.0
19 stars 22 forks source link

Slightly modifying `privacy-sandbox.js` and how featurePolicies are checked #131

Closed yohhaan closed 3 months ago

yohhaan commented 3 months ago

Slightly modifying privacy-sandbox.js for completeness:

Note: the modification on feature policies is for completeness, this does not require stopping the June crawl or anything like that, just re-adding it for crawls in the future. Thanks!


Test websites:

github-actions[bot] commented 3 months ago
Custom metrics for https://almanac.httparchive.org/en/2022/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_1V_19
Custom metrics for https://example.com/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_AA_1A Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": [] } } ```
Custom metrics for https://www.lireo.com/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_HR_1B Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "browsing-topics": [] }, { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": [] } } ```
Custom metrics for https://www.operafootball.com/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_MH_1C Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": { "securepubads.g.doubleclick.net": [ "runAdAuction", "navigator.userAgentData.getHighEntropyValues", "fencedFrameJs", "sec-browsing-topics|false", "attribution-reporting-eligible" ], "pagead2.googlesyndication.com": [ "runAdAuction", "navigator.userAgentData.getHighEntropyValues", "joinAdInterestGroup" ], "googleads.g.doubleclick.net": [ "sec-browsing-topics|true", "sec-browsing-topics|false", "navigator.userAgentData.getHighEntropyValues" ], "fundingchoicesmessages.google.com": [ "accept-ch|Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Form-Factor, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version" ], "www.googletagmanager.com": [ "joinAdInterestGroup", "navigator.userAgentData.getHighEntropyValues" ], "cdn.ampproject.org": [ "reportWin" ], "www.gstatic.com": [ "navigator.userAgentData.getHighEntropyValues" ], "www.googleadservices.com": [ "attribution-reporting-eligible", "attribution-reporting-register-source|destination=https://yahoo.com|epsilon=undefined", "attribution-reporting-register-source|destination=https://fubo.tv|epsilon=undefined", "privateAggregation.enableDebugMode" ], "yandex.ru": [ "accept-ch|Sec-CH-UA-Platform-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA, Sec-CH-UA-Full-Version-List, Sec-CH-UA-WoW64, Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Platform, Sec-CH-UA-Full-Version, Viewport-Width, DPR, Device-Memory, RTT, Downlink, ECT" ] } } } ```
Custom metrics for https://floc.glitch.me/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_6Y_1D Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": { "floc.glitch.me": [ "document.interestCohort" ] } } } ```
Custom metrics for https://pets-animals-pets-cats.glitch.me/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_BH_1E Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": { "pets-animals-pets-cats.glitch.me": [ "document.browsingTopics|false" ], "topics-demo.glitch.me": [ "document.browsingTopics|false" ] } } } ```
Custom metrics for https://tennis-tennis.glitch.me/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_AJ_1F Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": { "tennis-tennis.glitch.me": [ "document.browsingTopics|true" ], "topics-server.glitch.me": [ "sec-browsing-topics|false" ] } } } ```
Custom metrics for https://protected-audience-demo-advertiser.web.app/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_T5_1G Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": { "protected-audience-demo-dsp.web.app": [ "joinAdInterestGroup" ] } } } ```
Custom metrics for https://protected-audience-demo-publisher.web.app/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_ZA_1H Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": { "protected-audience-demo-ssp.web.app": [ "runAdAuction" ] } } } ```
Custom metrics for https://fedcm-rp-demo.glitch.me/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_KW_1J Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": { "fedcm-idp-demo.glitch.me": [ "navigator.credentials.get" ] } } } ```
Custom metrics for https://fedcm-idp-demo.glitch.me/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_JE_1K Changed custom metrics values: ```json { "_privacy-sandbox": { "featuresDisabled": [ { "top-level-storage-access": [] } ], "privacySandBoxAPIUsage": { "fedcm-idp-demo.glitch.me": [ "navigator.credentials.get", "IdentityProvider.getUserInfo" ] } } } ```