diff --git a/test/index.html b/test/index.html index ccb77be..ade9edb 100644 --- a/test/index.html +++ b/test/index.html @@ -24,5 +24,6 @@
  • Settings loading
  • Iframe protection
  • CSP test
  • +
  • window.open test
  • \ No newline at end of file diff --git a/test/window.open-test.html b/test/window.open-test.html new file mode 100644 index 0000000..2fd5143 --- /dev/null +++ b/test/window.open-test.html @@ -0,0 +1,28 @@ + + + + window.open test + + + + + + +

    window.open test

    +

    Expected result

    + +

    test

    + + + \ No newline at end of file diff --git a/test/window.open-test.js b/test/window.open-test.js new file mode 100644 index 0000000..2031e55 --- /dev/null +++ b/test/window.open-test.js @@ -0,0 +1,5 @@ +document.getElementById("testLink").addEventListener("click", function(){ + "use strict"; + + window.open("./audioTest.html", "_blank"); +}); \ No newline at end of file