From 60e10464538032a87706700b79be866d44424a89 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Thu, 24 Oct 2024 14:52:18 +0200 Subject: [PATCH 1/5] Add deprecated Performance API --- features/performance-deprecated.yml | 34 +++++++++ features/performance-deprecated.yml.dist | 92 ++++++++++++++++++++++++ 2 files changed, 126 insertions(+) create mode 100644 features/performance-deprecated.yml create mode 100644 features/performance-deprecated.yml.dist diff --git a/features/performance-deprecated.yml b/features/performance-deprecated.yml new file mode 100644 index 00000000000..ad32a238d18 --- /dev/null +++ b/features/performance-deprecated.yml @@ -0,0 +1,34 @@ +name: Deprecated Performance API +description: The `PerformanceNavigation` and `PerformanceTiming` APIs are deprecated. Use `PerformanceNavigationTiming` instead. +spec: https://w3c.github.io/navigation-timing/#obsolete +group: performance +compat_features: + - api.Performance.navigation + - api.Performance.timing + - api.PerformanceNavigation + - api.PerformanceNavigation.redirectCount + - api.PerformanceNavigation.toJSON + - api.PerformanceNavigation.type + - api.PerformanceTiming + - api.PerformanceTiming.connectEnd + - api.PerformanceTiming.connectStart + - api.PerformanceTiming.domComplete + - api.PerformanceTiming.domContentLoadedEventEnd + - api.PerformanceTiming.domContentLoadedEventStart + - api.PerformanceTiming.domInteractive + - api.PerformanceTiming.domLoading + - api.PerformanceTiming.domainLookupEnd + - api.PerformanceTiming.domainLookupStart + - api.PerformanceTiming.fetchStart + - api.PerformanceTiming.loadEventEnd + - api.PerformanceTiming.loadEventStart + - api.PerformanceTiming.navigationStart + - api.PerformanceTiming.redirectEnd + - api.PerformanceTiming.redirectStart + - api.PerformanceTiming.requestStart + - api.PerformanceTiming.responseEnd + - api.PerformanceTiming.responseStart + - api.PerformanceTiming.secureConnectionStart + - api.PerformanceTiming.toJSON + - api.PerformanceTiming.unloadEventEnd + - api.PerformanceTiming.unloadEventStart diff --git a/features/performance-deprecated.yml.dist b/features/performance-deprecated.yml.dist new file mode 100644 index 00000000000..36f3769bde3 --- /dev/null +++ b/features/performance-deprecated.yml.dist @@ -0,0 +1,92 @@ +# Generated from: performance-deprecated.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "56" + chrome_android: "56" + edge: "18" + firefox: "56" + firefox_android: "56" + safari: "14.1" + safari_ios: "14.5" +compat_features: + # baseline: false + # support: + # chrome: "6" + # chrome_android: "18" + # edge: "12" + # firefox: "7" + # firefox_android: "7" + # safari: "8" + # safari_ios: "9" + - api.Performance.timing + - api.PerformanceTiming + - api.PerformanceTiming.connectEnd + - api.PerformanceTiming.connectStart + - api.PerformanceTiming.domComplete + - api.PerformanceTiming.domContentLoadedEventEnd + - api.PerformanceTiming.domContentLoadedEventStart + - api.PerformanceTiming.domInteractive + - api.PerformanceTiming.domLoading + - api.PerformanceTiming.domainLookupEnd + - api.PerformanceTiming.domainLookupStart + - api.PerformanceTiming.fetchStart + - api.PerformanceTiming.loadEventEnd + - api.PerformanceTiming.loadEventStart + - api.PerformanceTiming.navigationStart + - api.PerformanceTiming.redirectEnd + - api.PerformanceTiming.redirectStart + - api.PerformanceTiming.requestStart + - api.PerformanceTiming.responseEnd + - api.PerformanceTiming.responseStart + - api.PerformanceTiming.unloadEventEnd + - api.PerformanceTiming.unloadEventStart + + # baseline: false + # support: + # chrome: "6" + # chrome_android: "18" + # edge: "18" + # firefox: "56" + # firefox_android: "56" + # safari: "8" + # safari_ios: "9" + - api.PerformanceTiming.secureConnectionStart + + # baseline: false + # support: + # chrome: "10" + # chrome_android: "18" + # edge: "12" + # firefox: "7" + # firefox_android: "7" + # safari: "8" + # safari_ios: "9" + - api.Performance.navigation + - api.PerformanceNavigation + - api.PerformanceNavigation.redirectCount + - api.PerformanceNavigation.type + + # baseline: false + # support: + # chrome: "44" + # chrome_android: "44" + # edge: "12" + # firefox: "25" + # firefox_android: "25" + # safari: "10.1" + # safari_ios: "10.3" + - api.PerformanceTiming.toJSON + + # baseline: false + # support: + # chrome: "56" + # chrome_android: "56" + # edge: "12" + # firefox: "25" + # firefox_android: "25" + # safari: "14.1" + # safari_ios: "14.5" + - api.PerformanceNavigation.toJSON From 176dc2d53c188e39b16929f6bc088dc581be6b30 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Mon, 9 Dec 2024 12:09:26 +0100 Subject: [PATCH 2/5] Add discouraged status --- features/performance-deprecated.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/features/performance-deprecated.yml b/features/performance-deprecated.yml index ad32a238d18..49a6e1d048d 100644 --- a/features/performance-deprecated.yml +++ b/features/performance-deprecated.yml @@ -1,7 +1,13 @@ name: Deprecated Performance API -description: The `PerformanceNavigation` and `PerformanceTiming` APIs are deprecated. Use `PerformanceNavigationTiming` instead. +description: The `PerformanceNavigation` and `PerformanceTiming` APIs are legacy interfaces kept for backwards compatibility and contain properties that offer performance timing information for events which occur during the loading and use of the current page. spec: https://w3c.github.io/navigation-timing/#obsolete group: performance +discouraged: + according_to: + - https://w3c.github.io/navigation-timing/#obsolete + alternatives: + - performance + - navigation-timing compat_features: - api.Performance.navigation - api.Performance.timing From 5c05ca610698be80896172cd7d584f6965d93b15 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Mon, 9 Dec 2024 12:11:24 +0100 Subject: [PATCH 3/5] formatting --- features/performance-deprecated.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/features/performance-deprecated.yml b/features/performance-deprecated.yml index 49a6e1d048d..54c0e3f4905 100644 --- a/features/performance-deprecated.yml +++ b/features/performance-deprecated.yml @@ -3,11 +3,11 @@ description: The `PerformanceNavigation` and `PerformanceTiming` APIs are legacy spec: https://w3c.github.io/navigation-timing/#obsolete group: performance discouraged: - according_to: - - https://w3c.github.io/navigation-timing/#obsolete - alternatives: - - performance - - navigation-timing + according_to: + - https://w3c.github.io/navigation-timing/#obsolete + alternatives: + - performance + - navigation-timing compat_features: - api.Performance.navigation - api.Performance.timing From f187d363f5bb260ce36d471bb75eb6e00768caee Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Fri, 17 Jan 2025 19:21:48 +0100 Subject: [PATCH 4/5] Update features/performance-deprecated.yml Co-authored-by: Daniel D. Beck --- features/performance-deprecated.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/performance-deprecated.yml b/features/performance-deprecated.yml index 54c0e3f4905..8061a98ae10 100644 --- a/features/performance-deprecated.yml +++ b/features/performance-deprecated.yml @@ -1,5 +1,5 @@ -name: Deprecated Performance API -description: The `PerformanceNavigation` and `PerformanceTiming` APIs are legacy interfaces kept for backwards compatibility and contain properties that offer performance timing information for events which occur during the loading and use of the current page. +name: PerformanceTiming and PerformanceNavigation +description: The `window.performance.timing` and `window.performance.navigation` APIs report performance timing information for events that occur during the loading and use of the current page. spec: https://w3c.github.io/navigation-timing/#obsolete group: performance discouraged: From 44d440369dcc4d925448998d6151d7951d2c5e28 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Fri, 17 Jan 2025 19:30:10 +0100 Subject: [PATCH 5/5] rename --- features/{performance-deprecated.yml => performancetiming.yml} | 0 ...rformance-deprecated.yml.dist => performancetiming.yml.dist} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename features/{performance-deprecated.yml => performancetiming.yml} (100%) rename features/{performance-deprecated.yml.dist => performancetiming.yml.dist} (98%) diff --git a/features/performance-deprecated.yml b/features/performancetiming.yml similarity index 100% rename from features/performance-deprecated.yml rename to features/performancetiming.yml diff --git a/features/performance-deprecated.yml.dist b/features/performancetiming.yml.dist similarity index 98% rename from features/performance-deprecated.yml.dist rename to features/performancetiming.yml.dist index 36f3769bde3..319eaef19a6 100644 --- a/features/performance-deprecated.yml.dist +++ b/features/performancetiming.yml.dist @@ -1,4 +1,4 @@ -# Generated from: performance-deprecated.yml +# Generated from: performancetiming.yml # Do not edit this file by hand. Edit the source file instead! status: