mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Test that StorageEvent's URL is empty from document.createEvent
This commit is contained in:
parent
0e33756e8d
commit
b2adcfb40b
3 changed files with 21 additions and 2 deletions
|
@ -2710,8 +2710,7 @@ impl DocumentMethods for Document {
|
|||
"progressevent" =>
|
||||
Ok(Root::upcast(ProgressEvent::new_uninitialized(self.window.upcast()))),
|
||||
"storageevent" => {
|
||||
let USVString(url) = self.URL();
|
||||
Ok(Root::upcast(StorageEvent::new_uninitialized(&self.window, DOMString::from(url))))
|
||||
Ok(Root::upcast(StorageEvent::new_uninitialized(&self.window, "".into())))
|
||||
},
|
||||
"touchevent" =>
|
||||
Ok(Root::upcast(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue