mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
use new source in client-side-url-redirect test
This commit is contained in:
@@ -43,6 +43,10 @@ function foo() {
|
||||
var el = document.createElement("script");
|
||||
el.src = payload;
|
||||
document.body.appendChild(el); // NOT OK
|
||||
|
||||
importScripts(payload); // NOT OK
|
||||
}
|
||||
|
||||
(function () {
|
||||
self.onmessage = function (e) {
|
||||
importScripts(e); // NOT OK
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user