diff options
Diffstat (limited to 'devtools/client/webconsole/test/browser/test-storageaccess-errors.html')
-rw-r--r-- | devtools/client/webconsole/test/browser/test-storageaccess-errors.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/devtools/client/webconsole/test/browser/test-storageaccess-errors.html b/devtools/client/webconsole/test/browser/test-storageaccess-errors.html new file mode 100644 index 0000000000..2866991886 --- /dev/null +++ b/devtools/client/webconsole/test/browser/test-storageaccess-errors.html @@ -0,0 +1,28 @@ +<!DOCTYPE HTML> +<html dir="ltr" xml:lang="en-US" lang="en-US"> + <head> + <meta charset="utf8"> + <title>requestStorageAccess test</title> + <!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ + --> + </head> + <body> + <iframe id="ifr1"></iframe> + <iframe id="ifr2" sandbox="allow-scripts"></iframe> + <iframe id="ifr3" sandbox="allow-same-origin allow-scripts"></iframe> + <iframe id="ifr4"></iframe> + <script> + 'use strict'; + if (window.location.host == "itisatracker.org") { + document.requestStorageAccess(); + } else { + document.getElementById("ifr1").setAttribute("src", "https://itisatracker.org/browser/devtools/client/webconsole/test/browser/test-nested-iframe-storageaccess-errors.html"); + document.getElementById("ifr2").setAttribute("src", "https://itisatracker.org/browser/devtools/client/webconsole/test/browser/test-storageaccess-errors.html"); + document.getElementById("ifr3").setAttribute("src", "https://itisatracker.org/browser/devtools/client/webconsole/test/browser/test-storageaccess-errors.html"); + document.getElementById("ifr4").setAttribute("src", "https://itisatracker.org/browser/devtools/client/webconsole/test/browser/test-storageaccess-errors.html"); + } + </script> + </body> +</html> |