<!DOCTYPE html><html><head><scriptsrc='/resources/testharness.js'></script><scriptsrc='/resources/testharnessreport.js'></script><scriptsrc='/common/utils.js'></script><scriptsrc='/content-security-policy/support/testharness-helper.js'></script><scriptsrc='/content-security-policy/support/prefetch-helper.js'></script><metahttp-equiv="Content-Security-Policy"content="default-src 'self' 'unsafe-inline'"><script>promise_test(asynct=>{assert_true(awaittry_to_prefetch("/common/dummy.xml",t));},'Prefetch should succeed when allowed by default-src');</script></head><body></body></html>