servo/tests/wpt/web-platform-tests/content-security-policy/generic/wildcardHostTestFailure.js

8 lines
196 B
JavaScript

wildcardHostTestRan = false;
onload = function() {
test(function() {
assert_false(wildcardHostTestRan, 'Script should not have ran.')},
"Wildcard host matching works."
);
}