blob: 8441ab0de72286a37b1443c8de82ce88fafa77de (
plain)
1
2
3
4
5
|
var url = new URL("../support/ping.js", document.baseURI).toString();
if (document.getElementById("foo").hasAttribute("blocked-worker"))
assert_worker_is_blocked(url, document.getElementById("foo").getAttribute("data-desc-fallback"));
else
assert_worker_is_loaded(url, document.getElementById("foo").getAttribute("data-desc-fallback"));
|