mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -141,11 +141,22 @@ impl StorageEventMethods for StorageEvent {
|
|||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-storageevent-initstorageevent
|
||||
fn InitStorageEvent(&self, type_: DOMString, bubbles: bool, cancelable: bool, key:
|
||||
Option<DOMString>, oldValue: Option<DOMString>, newValue:
|
||||
Option<DOMString>, url: USVString, storageArea: Option<&Storage>)
|
||||
{
|
||||
self.event.init_event(Atom::from(type_), bool::from(bubbles), bool::from(cancelable));
|
||||
fn InitStorageEvent(
|
||||
&self,
|
||||
type_: DOMString,
|
||||
bubbles: bool,
|
||||
cancelable: bool,
|
||||
key: Option<DOMString>,
|
||||
oldValue: Option<DOMString>,
|
||||
newValue: Option<DOMString>,
|
||||
url: USVString,
|
||||
storageArea: Option<&Storage>,
|
||||
) {
|
||||
self.event.init_event(
|
||||
Atom::from(type_),
|
||||
bool::from(bubbles),
|
||||
bool::from(cancelable),
|
||||
);
|
||||
*self.key.borrow_mut() = key;
|
||||
*self.old_value.borrow_mut() = oldValue;
|
||||
*self.new_value.borrow_mut() = newValue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue