/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script/dom/performance/mod.rs
45 строк
1 KB
Josh Matthews
script: Make `performance.timing` a PerformanceTiming object (#46990)
05 авг 2026, 14:03
Не верифицирован
05 авг 2026, 14:03
68fdd51
Код
Авторство
О чём код?
/* 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/. */ pub(crate) mod largestcontentfulpaint; #[allow(clippy::module_inception, reason = "The interface name is Performance")] pub(crate) mod performance; pub(crate) mod performanceentry; pub(crate) mod performancemark; pub(crate) mod performancemeasure; pub(crate) mod performancenavigation; pub(crate) mod performancenavigationtiming; pub(crate) mod performanceobserver; pub(crate) mod performanceobserverentrylist; pub(crate) mod performancepainttiming; pub(crate) mod performanceresourcetiming; pub(crate) mod performancetiming; pub(crate) use self::performance::Performance; /// <https://w3c.github.io/navigation-timing/#the-performancetiming-interface> /// /// Note: This interface is obselete and use of name is supported to remain backwards compatible. pub(crate) const PERFORMANCE_TIMING_ATTRIBUTES: &[&str] = &[ "navigationStart", "unloadEventStart", "unloadEventEnd", "redirectStart", "redirectEnd", "fetchStart", "domainLookupStart", "domainLookupEnd", "connectStart", "connectEnd", "secureConnectionStart", "requestStart", "responseStart", "responseEnd", "domLoading", "domInteractive", "domContentLoadedEventStart", "domContentLoadedEventEnd", "domComplete", "loadEventStart", "loadEventEnd", ];