-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slightly modifying privacy-sandbox.js
and how featurePolicies are checked
#131
Conversation
…if not record the AllowList, also add a try/catch error around APIs detection just in case
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 {
"_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 {
"_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 {
"_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 {
"_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 {
"_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 {
"_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 {
"_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 {
"_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 {
"_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 {
"_privacy-sandbox": {
"featuresDisabled": [
{
"top-level-storage-access": []
}
],
"privacySandBoxAPIUsage": {
"fedcm-idp-demo.glitch.me": [
"navigator.credentials.get",
"IdentityProvider.getUserInfo"
]
}
}
} |
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: