HTTPArchive / custom-metrics

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

Add try/catch to failing privacy test suite #130

Closed tunetheweb closed 4 months ago

tunetheweb commented 4 months ago

Fixed issue preventing privacy CS from running on many sites


Test websites:

github-actions[bot] commented 4 months ago
Custom metrics for https://almanac.httparchive.org/en/2022/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_VD_K
Custom metrics for https://example.com/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240612_61_N Changed custom metrics values: ```json { "_privacy": { "privacy_wording_links": [], "iab_tcf_v1": { "present": false, "data": null, "compliant_setup": null }, "iab_tcf_v2": { "present": false, "data": null, "compliant_setup": null }, "iab_usp": { "present": false, "privacy_string": null }, "navigator_doNotTrack": false, "navigator_globalPrivacyControl": false, "document_permissionsPolicy": false, "document_featurePolicy": false, "referrerPolicy": { "entire_document_policy": null, "individual_requests": null, "link_relations": null }, "media_devices": { "navigator_mediaDevices_enumerateDevices": false, "navigator_mediaDevices_getUserMedia": false, "navigator_mediaDevices_getDisplayMedia": false }, "geolocation": { "navigator_geolocation_getCurrentPosition": false, "navigator_geolocation_watchPosition": false }, "request_hostnames_with_cname": {}, "ccpa_link": { "hasCCPALink": false, "CCPALinkPhrases": [] } } } ```