mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Don't fire a load event on inline scripts
https://github.com/whatwg/html/issues/1757
This commit is contained in:
parent
e6736d067c
commit
3e19b37c83
3 changed files with 0 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[load-event.html]
|
||||
type: testharness
|
||||
[load events should not be fired for inline scripts]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[019.html]
|
||||
type: testharness
|
||||
[ scheduler: DOM added scripts and event handling ]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue