diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-01-13 13:33:05 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-01-13 13:50:31 +0100 |
commit | 3e19b37c83c38eb5ea5b9d337c5c43d89cd42c6c (patch) | |
tree | 0df67aafca81b5d79cd7e95228b687d01ede633f /components/script/dom/htmlscriptelement.rs | |
parent | e6736d067c80fe8613b1882814d596ba1323b870 (diff) | |
download | servo-3e19b37c83c38eb5ea5b9d337c5c43d89cd42c6c.tar.gz servo-3e19b37c83c38eb5ea5b9d337c5c43d89cd42c6c.zip |
Don't fire a load event on inline scripts
https://github.com/whatwg/html/issues/1757
Diffstat (limited to 'components/script/dom/htmlscriptelement.rs')
-rw-r--r-- | components/script/dom/htmlscriptelement.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/htmlscriptelement.rs b/components/script/dom/htmlscriptelement.rs index 52935e32dcf..cf0d3c6cf94 100644 --- a/components/script/dom/htmlscriptelement.rs +++ b/components/script/dom/htmlscriptelement.rs @@ -528,8 +528,6 @@ impl HTMLScriptElement { // Step 8. if script.external { self.dispatch_load_event(); - } else { - window.dom_manipulation_task_source().queue_simple_event(self.upcast(), atom!("load"), &window); } } |