12 if (window.target.import.querySelector('#cors').import == null)
Mike West
2013/07/22 14:39:42
Forgive the noob question: do HTML Imports load sy
Forgive the noob question: do HTML Imports load synchronously? If not, you might
need to wait until the load/error event has fired before querying the import's
contents.
13 result.innerHTML = "PASS\n";
14 else
15 result.innerHTML = "FAIL: The import should be blocked.\n";
Issue 19940002: [HTML Import] Respect Content Security Policy Model
(Closed)
Created 7 years, 5 months ago by Hajime Morrita
Modified 7 years, 4 months ago
Reviewers: abarth-chromium, dglazkov1, Mike West
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 11