[Bug 22413] [imports]: Imported documents should execute script

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22413

--- Comment #1 from Morrita Hajime <morrita@google.com> ---
My strawman here is to use master document as the document of the execution.

Specifically, we need to patch HTML so that the created script gets 
associated documents/browsing context/etc from the master document.
 *
http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#creating-scripts

This should work as if it is loaded through XHR and eval()-ed,
except that the script is kicked by the HTML parser thus script execution
happens during parsing, not after the parsing finished.

Also, we shouldn't explicitly execute sub-imports in "import fetching
algorithm".
Instead, we could modify '4 Link Type "import"' section to ensure that
it loads linked import regardless if the document is a master or not.

By doing this, the execution order is guaranteed recursively.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 20 June 2013 06:08:23 UTC