diff options
author | Connor Brewster <brewsterc@my.caspercollege.edu> | 2016-05-03 16:10:13 -0600 |
---|---|---|
committer | Connor Brewster <brewsterc@my.caspercollege.edu> | 2016-05-11 22:11:46 -0600 |
commit | 11dd0d7c46e9b61a0d7174202ca16200c98eda1a (patch) | |
tree | e186e0ceed9ab1d4ca28bebf8cd4c2b187e8a21c /components/script/dom/webidls/HashChangeEvent.webidl | |
parent | 641b374f0b752671207d21941c3e5ff4e681d706 (diff) | |
download | servo-11dd0d7c46e9b61a0d7174202ca16200c98eda1a.tar.gz servo-11dd0d7c46e9b61a0d7174202ca16200c98eda1a.zip |
add popstateevent, hashchangeevent, pagetransitionevent
Diffstat (limited to 'components/script/dom/webidls/HashChangeEvent.webidl')
-rw-r--r-- | components/script/dom/webidls/HashChangeEvent.webidl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/script/dom/webidls/HashChangeEvent.webidl b/components/script/dom/webidls/HashChangeEvent.webidl new file mode 100644 index 00000000000..924c300cdfe --- /dev/null +++ b/components/script/dom/webidls/HashChangeEvent.webidl @@ -0,0 +1,15 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +// https://html.spec.whatwg.org/multipage/#hashchangeevent +[Constructor(DOMString type, optional HashChangeEventInit eventInitDict)/*, Exposed=(Window,Worker)*/] +interface HashChangeEvent : Event { + readonly attribute USVString oldURL; + readonly attribute USVString newURL; +}; + +dictionary HashChangeEventInit : EventInit { + USVString oldURL = ""; + USVString newURL = ""; +}; |