Name Description Size
clear-site-data-cookie.py <script> window.opener.postMessage(document.cookie , "*"); </script> 672
controlled-endpoint.py 105
echo-clear-site-data.py <!DOCTYPE html> <html> <head> <title>Clear-Site-Data</title> <script src="test_utils.sub.js"></script> </head> <body> <script> /** * A map between a datatype name and whether it is empty. * @property Object.<string, boolean> */ var report = {}; Promise.all(TestUtils.DATATYPES.map(function(datatype) { return datatype.isEmpty().then(function(isEmpty) { report[datatype.name] = isEmpty; }); })).then(function() { window.top.postMessage(report, "*"); }); </script> </body> </html> 1206
iframe_executionContexts.html 124
page_using_service_worker.html Clear-Site-Data + Service Workers Test Page 112
page_with_resource.sub.html Clear-Site-Data 832
send_report.html Clear-Site-Data 589
service_worker.js 195
test_utils.sub.js Representation of one datatype. @typedef Datatype @type{object} @property{string} name Name of the datatype. @property{function():boolean} supported Whether this datatype is supported by this user agent. @method{function():Void} add A function to add an instance of the datatype. @method{function():boolean} isEmpty A function that tests whether the datatype's storage backend is empty. 8806