servo: Merge #15009 - Don't fire a load event on inline scripts (from nox:load-fixes); r=Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: 89c210f2c8974f5575047fdab6f2b7bc640c684b
This commit is contained in:
Anthony Ramine
2017-01-13 04:51:50 -08:00
parent 98f756b7ae
commit 2388b75a18

View File

@@ -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);
}
}