diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2014-10-16 18:05:29 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2014-10-29 14:30:42 -0700 |
commit | 65a0d1fe9a14e09b675cc24cb59c9aebf1615020 (patch) | |
tree | 0ca47c82edcc96f91761f1777b94a79a50dc6745 /components/script/script_task.rs | |
parent | 5858fccf873ce30896def4f58aa8c67d1ddd09f1 (diff) | |
download | servo-65a0d1fe9a14e09b675cc24cb59c9aebf1615020.tar.gz servo-65a0d1fe9a14e09b675cc24cb59c9aebf1615020.zip |
Infrastructure for synchronous script loading
This implements the parts of the "prepare a script element" algorithm that are
required for synchronous scripts. It also adds some infrastructure for future
support of the `async` and `defer` attributes.
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index a5658ac6c5e..cbcdfea03ac 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -815,11 +815,6 @@ impl ScriptTask { document.set_ready_state(DocumentReadyStateValues::Interactive); - // Send style sheets over to layout. - // - // FIXME: These should be streamed to layout as they're parsed. We don't need to stop here - // in the script task. - let mut js_scripts = None; loop { match discovery_port.recv_opt() { |