2013-06-18 18:48:45 +00:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* 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/.
|
|
|
|
*/
|
|
|
|
|
2014-06-30 23:00:31 +00:00
|
|
|
[Constructor(DOMString type, optional HashChangeEventInit eventInitDict), LegacyEventInit]
|
2013-06-18 18:48:45 +00:00
|
|
|
interface HashChangeEvent : Event
|
|
|
|
{
|
2016-05-06 06:37:52 +00:00
|
|
|
readonly attribute DOMString oldURL;
|
|
|
|
readonly attribute DOMString newURL;
|
2013-06-18 18:48:45 +00:00
|
|
|
|
2014-06-30 23:00:31 +00:00
|
|
|
void initHashChangeEvent(DOMString typeArg,
|
2017-04-02 18:16:33 +00:00
|
|
|
optional boolean canBubbleArg = false,
|
|
|
|
optional boolean cancelableArg = false,
|
|
|
|
optional DOMString oldURLArg = "",
|
|
|
|
optional DOMString newURLArg = "");
|
2013-06-18 18:48:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dictionary HashChangeEventInit : EventInit
|
|
|
|
{
|
|
|
|
DOMString oldURL = "";
|
|
|
|
DOMString newURL = "";
|
|
|
|
};
|