mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
19 lines
676 B
Plaintext
19 lines
676 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 https://mozilla.org/MPL/2.0/. */
|
|
/*
|
|
* The origin of this IDL file is
|
|
* https://w3c.github.io/navigation-timing/#the-performancenavigation-interface
|
|
*/
|
|
|
|
[Exposed=Window]
|
|
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;
|
|
readonly attribute unsigned short type;
|
|
readonly attribute unsigned short redirectCount;
|
|
[Default] object toJSON();
|
|
};
|