Files
tubestation/servo/components/script/dom/webidls/PopStateEvent.webidl
Anthony Ramine 5a3b14e9c2 servo: Merge #15133 - Various events-related improvements (from nox:events); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ef6e0bf72dad5db5e85963fff53bb1d577aee01c
2017-01-21 06:16:47 -08:00

15 lines
502 B
Plaintext

/* 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/#the-popstateevent-interface
[Constructor(DOMString type, optional PopStateEventInit eventInitDict),
Exposed=Window]
interface PopStateEvent : Event {
readonly attribute any state;
};
dictionary PopStateEventInit : EventInit {
any state = null;
};