2009-09-01 09:45:05 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* 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/. */
|
2009-09-01 09:45:05 -07:00
|
|
|
|
|
|
|
#include "nsIDOMEvent.idl"
|
|
|
|
|
|
|
|
interface nsIVariant;
|
|
|
|
|
2012-12-22 00:18:08 -08:00
|
|
|
[scriptable, builtinclass, uuid(f0def4a3-0eb3-4c08-b476-582e37b8564b)]
|
2009-09-01 09:45:05 -07:00
|
|
|
interface nsIDOMPopStateEvent : nsIDOMEvent
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The state associated with this popstate event
|
|
|
|
*/
|
|
|
|
readonly attribute nsIVariant state;
|
|
|
|
|
2011-02-28 23:08:56 -08:00
|
|
|
void initPopStateEvent(in DOMString typeArg,
|
|
|
|
in boolean canBubbleArg,
|
|
|
|
in boolean cancelableArg,
|
|
|
|
in nsIVariant stateArg);
|
2009-09-01 09:45:05 -07:00
|
|
|
};
|
2011-12-14 11:55:32 -08:00
|
|
|
|
2012-03-12 21:44:48 -07:00
|
|
|
dictionary PopStateEventInit : EventInit
|
2011-12-14 11:55:32 -08:00
|
|
|
{
|
2012-03-12 21:44:48 -07:00
|
|
|
nsIVariant state;
|
2011-12-14 11:55:32 -08:00
|
|
|
};
|