2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-07-17 05:42:18 +04: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/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
2018-11-06 18:07:27 +03:00
|
|
|
* https://w3c.github.io/navigation-timing/#the-performancenavigation-interface
|
2012-07-17 05:42:18 +04:00
|
|
|
*
|
|
|
|
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
|
|
|
|
* liability, trademark and document use rules apply.
|
|
|
|
*/
|
|
|
|
|
|
|
|
interface PerformanceNavigation {
|
|
|
|
const unsigned short TYPE_NAVIGATE = 0;
|
|
|
|
const unsigned short TYPE_RELOAD = 1;
|
|
|
|
const unsigned short TYPE_BACK_FORWARD = 2;
|
|
|
|
const unsigned short TYPE_RESERVED = 255;
|
2012-09-05 17:21:33 +04:00
|
|
|
|
2012-07-17 05:42:18 +04:00
|
|
|
readonly attribute unsigned short type;
|
|
|
|
readonly attribute unsigned short redirectCount;
|
2013-07-26 20:00:49 +04:00
|
|
|
|
2018-05-18 06:43:59 +03:00
|
|
|
[Default] object toJSON();
|
2012-07-17 05:42:18 +04:00
|
|
|
};
|