diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-01-13 04:51:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 04:51:50 -0800 |
commit | 89c210f2c8974f5575047fdab6f2b7bc640c684b (patch) | |
tree | 0df67aafca81b5d79cd7e95228b687d01ede633f /components/script/dom/htmlscriptelement.rs | |
parent | e6736d067c80fe8613b1882814d596ba1323b870 (diff) | |
parent | 3e19b37c83c38eb5ea5b9d337c5c43d89cd42c6c (diff) | |
download | servo-89c210f2c8974f5575047fdab6f2b7bc640c684b.tar.gz servo-89c210f2c8974f5575047fdab6f2b7bc640c684b.zip |
Auto merge of #15009 - nox:load-fixes, r=Ms2ger
Don't fire a load event on inline scripts
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15009)
<!-- Reviewable:end -->
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); } } |