mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
b6153dda2b
To follow the spec more closely, some functionality moved from `performance.mark` to the PerformanceMark constructor. I verified the new fingerprinting protection behavior with :tjr: they said it's okay to return a PerformanceMark as long as it uses the same reduced precision of `performance.now`. Differential Revision: https://phabricator.services.mozilla.com/D142625
17 lines
582 B
Plaintext
17 lines
582 B
Plaintext
/* -*- 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/.
|
|
*
|
|
* The origin of this IDL file is
|
|
* http://www.w3.org/TR/user-timing/#performancemark
|
|
*/
|
|
|
|
[Exposed=(Window,Worker)]
|
|
interface PerformanceMark : PerformanceEntry
|
|
{
|
|
[Throws]
|
|
constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {});
|
|
readonly attribute any detail;
|
|
};
|