add test for importScripts

This commit is contained in:
Erik Krogh Kristensen
2020-09-14 16:01:54 +02:00
parent 2e3df74dce
commit 6e84ac8e6c

View File

@@ -43,4 +43,6 @@ function foo() {
var el = document.createElement("script");
el.src = payload;
document.body.appendChild(el); // NOT OK
importScripts(payload); // NOT OK
}