diff --git a/devtools/server/tests/browser/storage-unsecured-iframe.html b/devtools/server/tests/browser/storage-unsecured-iframe.html index 4cf3008c4597..db70c9c692c7 100644 --- a/devtools/server/tests/browser/storage-unsecured-iframe.html +++ b/devtools/server/tests/browser/storage-unsecured-iframe.html @@ -16,7 +16,7 @@ sessionStorage.setItem("iframe-u-ss1", "foobar1"); sessionStorage.setItem("iframe-u-ss2", "foobar2"); console.log("added cookies and stuff from unsecured iframe"); -window.clear = function* () { +window.clear = function () { document.cookie = "uc1=; expires=Thu, 01 Jan 1970 00:00:00 GMT"; localStorage.clear(); sessionStorage.clear();