Name Description Size
getGPC.py <!DOCTYPE html> <html> <title>Sec-GPC {destination}</title> <head> <script src="/resources/testharness.js"></script> </head> <body> <div id="log"></div> <img id="imageTest"> <script> test(function(t) {{ assert_equals({maybeBoolToJavascriptLiteral(gpcValue)}, {maybeBoolToJavascriptLiteral(expectedGPCValue)}, "Expected Sec-GPC value ({maybeBoolToJavascriptLiteral(expectedGPCValue)}) is on the {destinationDescription} fetch"); }}, `Expected Sec-GPC value ({maybeBoolToJavascriptLiteral(expectedGPCValue)}) is on the {destinationDescription} fetch`); promise_test(function(t) {{ const image = document.getElementById("imageTest"); const testResult = new Promise((resolve, reject) => {{ image.addEventListener('load', resolve); image.addEventListener('error', reject); }}); image.src = "getGPC.py?gpc={maybeBoolToJavascriptLiteral(expectedGPCValue)}"; return testResult; }}, `Expected Sec-GPC value ({maybeBoolToJavascriptLiteral(expectedGPCValue)}) is on the {"framed " if destination == "iframe" or inFrame else ""}image fetch`); </script> 4306
navigator-globalPrivacyControl.html navigator.globalPrivacyControl Window 1311
navigator-globalPrivacyControl.js 514