mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Expose HashChangeEvent only in Window
This commit is contained in:
parent
ee1ff1d385
commit
2221203359
5 changed files with 10 additions and 13 deletions
|
@ -3,7 +3,8 @@
|
|||
* 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)]
|
||||
[Constructor(DOMString type, optional HashChangeEventInit eventInitDict),
|
||||
Exposed=Window]
|
||||
interface HashChangeEvent : Event {
|
||||
readonly attribute USVString oldURL;
|
||||
readonly attribute USVString newURL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue