From 8ab0f2fde2a9c1c7e547884abedf3848f8d7dda5 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 12 Oct 2024 22:21:59 +0800 Subject: [PATCH] Add {{AvailableInWorkers}} for Performance API (#36181) add --- files/en-us/web/api/performance/clearmarks/index.md | 2 +- files/en-us/web/api/performance/clearmeasures/index.md | 2 +- files/en-us/web/api/performance/clearresourcetimings/index.md | 2 +- files/en-us/web/api/performance/getentries/index.md | 2 +- files/en-us/web/api/performance/getentriesbyname/index.md | 2 +- files/en-us/web/api/performance/getentriesbytype/index.md | 2 +- files/en-us/web/api/performance/index.md | 2 +- files/en-us/web/api/performance/mark/index.md | 2 +- files/en-us/web/api/performance/measure/index.md | 2 +- .../web/api/performance/measureuseragentspecificmemory/index.md | 2 +- files/en-us/web/api/performance/memory/index.md | 2 +- files/en-us/web/api/performance/now/index.md | 2 +- .../web/api/performance/resourcetimingbufferfull_event/index.md | 2 +- .../web/api/performance/setresourcetimingbuffersize/index.md | 2 +- files/en-us/web/api/performance/timeorigin/index.md | 2 +- files/en-us/web/api/performance/tojson/index.md | 2 +- files/en-us/web/api/performance_api/index.md | 2 +- files/en-us/web/api/performanceentry/duration/index.md | 2 +- files/en-us/web/api/performanceentry/entrytype/index.md | 2 +- files/en-us/web/api/performanceentry/index.md | 2 +- files/en-us/web/api/performanceentry/name/index.md | 2 +- files/en-us/web/api/performanceentry/starttime/index.md | 2 +- files/en-us/web/api/performanceentry/tojson/index.md | 2 +- files/en-us/web/api/performancemark/detail/index.md | 2 +- files/en-us/web/api/performancemark/index.md | 2 +- files/en-us/web/api/performancemark/performancemark/index.md | 2 +- files/en-us/web/api/performancemeasure/detail/index.md | 2 +- files/en-us/web/api/performancemeasure/index.md | 2 +- files/en-us/web/api/performanceobserver/disconnect/index.md | 2 +- files/en-us/web/api/performanceobserver/index.md | 2 +- files/en-us/web/api/performanceobserver/observe/index.md | 2 +- .../web/api/performanceobserver/performanceobserver/index.md | 2 +- .../api/performanceobserver/supportedentrytypes_static/index.md | 2 +- files/en-us/web/api/performanceobserver/takerecords/index.md | 2 +- .../web/api/performanceobserverentrylist/getentries/index.md | 2 +- .../api/performanceobserverentrylist/getentriesbyname/index.md | 2 +- .../api/performanceobserverentrylist/getentriesbytype/index.md | 2 +- files/en-us/web/api/performanceobserverentrylist/index.md | 2 +- .../en-us/web/api/performanceresourcetiming/connectend/index.md | 2 +- .../web/api/performanceresourcetiming/connectstart/index.md | 2 +- .../web/api/performanceresourcetiming/contenttype/index.md | 2 +- .../web/api/performanceresourcetiming/decodedbodysize/index.md | 2 +- .../web/api/performanceresourcetiming/deliverytype/index.md | 2 +- .../web/api/performanceresourcetiming/domainlookupend/index.md | 2 +- .../api/performanceresourcetiming/domainlookupstart/index.md | 2 +- .../web/api/performanceresourcetiming/encodedbodysize/index.md | 2 +- .../en-us/web/api/performanceresourcetiming/fetchstart/index.md | 2 +- .../firstinterimresponsestart/index.md | 2 +- files/en-us/web/api/performanceresourcetiming/index.md | 2 +- .../web/api/performanceresourcetiming/initiatortype/index.md | 2 +- .../web/api/performanceresourcetiming/nexthopprotocol/index.md | 2 +- .../web/api/performanceresourcetiming/redirectend/index.md | 2 +- .../web/api/performanceresourcetiming/redirectstart/index.md | 2 +- .../api/performanceresourcetiming/renderblockingstatus/index.md | 2 +- .../web/api/performanceresourcetiming/requeststart/index.md | 2 +- .../web/api/performanceresourcetiming/responseend/index.md | 2 +- .../web/api/performanceresourcetiming/responsestart/index.md | 2 +- .../web/api/performanceresourcetiming/responsestatus/index.md | 2 +- .../performanceresourcetiming/secureconnectionstart/index.md | 2 +- .../web/api/performanceresourcetiming/servertiming/index.md | 2 +- files/en-us/web/api/performanceresourcetiming/tojson/index.md | 2 +- .../web/api/performanceresourcetiming/transfersize/index.md | 2 +- .../web/api/performanceresourcetiming/workerstart/index.md | 2 +- .../en-us/web/api/performanceservertiming/description/index.md | 2 +- files/en-us/web/api/performanceservertiming/duration/index.md | 2 +- files/en-us/web/api/performanceservertiming/index.md | 2 +- files/en-us/web/api/performanceservertiming/name/index.md | 2 +- files/en-us/web/api/performanceservertiming/tojson/index.md | 2 +- 68 files changed, 68 insertions(+), 68 deletions(-) diff --git a/files/en-us/web/api/performance/clearmarks/index.md b/files/en-us/web/api/performance/clearmarks/index.md index e801088a009a8e3..006398ef9a3db1d 100644 --- a/files/en-us/web/api/performance/clearmarks/index.md +++ b/files/en-us/web/api/performance/clearmarks/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.clearMarks --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`clearMarks()`** method removes all or specific {{domxref("PerformanceMark")}} objects from the browser's performance timeline. diff --git a/files/en-us/web/api/performance/clearmeasures/index.md b/files/en-us/web/api/performance/clearmeasures/index.md index 200f5208ab48aab..c066a5ef4cd7250 100644 --- a/files/en-us/web/api/performance/clearmeasures/index.md +++ b/files/en-us/web/api/performance/clearmeasures/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.clearMeasures --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`clearMeasures()`** method removes all or specific {{domxref("PerformanceMeasure")}} objects from the browser's performance timeline. diff --git a/files/en-us/web/api/performance/clearresourcetimings/index.md b/files/en-us/web/api/performance/clearresourcetimings/index.md index 109451c4f29a93e..e73939acc9cffb7 100644 --- a/files/en-us/web/api/performance/clearresourcetimings/index.md +++ b/files/en-us/web/api/performance/clearresourcetimings/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.clearResourceTimings --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`clearResourceTimings()`** method removes all performance entries with an {{domxref("PerformanceEntry.entryType","entryType")}} of `"resource"` from the browser's performance timeline and sets the size of the performance resource data buffer to zero. diff --git a/files/en-us/web/api/performance/getentries/index.md b/files/en-us/web/api/performance/getentries/index.md index 9c46efa81e11d6f..6f084d93146b1ad 100644 --- a/files/en-us/web/api/performance/getentries/index.md +++ b/files/en-us/web/api/performance/getentries/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.getEntries --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`getEntries()`** method returns an array of all {{domxref("PerformanceEntry")}} objects currently present in the performance timeline. diff --git a/files/en-us/web/api/performance/getentriesbyname/index.md b/files/en-us/web/api/performance/getentriesbyname/index.md index 0db1a7503645193..0f8b7a6450de25d 100644 --- a/files/en-us/web/api/performance/getentriesbyname/index.md +++ b/files/en-us/web/api/performance/getentriesbyname/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.getEntriesByName --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`getEntriesByName()`** method returns an array of {{domxref("PerformanceEntry")}} objects currently present in the performance timeline with the given _name_ and _type_. diff --git a/files/en-us/web/api/performance/getentriesbytype/index.md b/files/en-us/web/api/performance/getentriesbytype/index.md index 9174a4c0e6bbe7c..2945ddf47761a9b 100644 --- a/files/en-us/web/api/performance/getentriesbytype/index.md +++ b/files/en-us/web/api/performance/getentriesbytype/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.getEntriesByType --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`getEntriesByType()`** method returns an array of {{domxref("PerformanceEntry")}} objects currently present in the performance timeline for a given _type_. diff --git a/files/en-us/web/api/performance/index.md b/files/en-us/web/api/performance/index.md index 4056178d5950c42..460903a02cd4380 100644 --- a/files/en-us/web/api/performance/index.md +++ b/files/en-us/web/api/performance/index.md @@ -5,7 +5,7 @@ page-type: web-api-interface browser-compat: api.Performance --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`Performance`** interface provides access to performance-related information for the current page. diff --git a/files/en-us/web/api/performance/mark/index.md b/files/en-us/web/api/performance/mark/index.md index 05cfb024b9c2ae6..ae58d75677d8f1e 100644 --- a/files/en-us/web/api/performance/mark/index.md +++ b/files/en-us/web/api/performance/mark/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.mark --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`mark()`** method creates a named {{domxref("PerformanceMark")}} object representing a high resolution timestamp marker in the browser's performance timeline. diff --git a/files/en-us/web/api/performance/measure/index.md b/files/en-us/web/api/performance/measure/index.md index 0a92a186147ca3c..8aa6282ee3582c1 100644 --- a/files/en-us/web/api/performance/measure/index.md +++ b/files/en-us/web/api/performance/measure/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.measure --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`measure()`** method creates a named {{domxref("PerformanceMeasure")}} object representing a time measurement between two marks in the browser's performance timeline. diff --git a/files/en-us/web/api/performance/measureuseragentspecificmemory/index.md b/files/en-us/web/api/performance/measureuseragentspecificmemory/index.md index f7f78694bc124f3..f7591dd5e81e2df 100644 --- a/files/en-us/web/api/performance/measureuseragentspecificmemory/index.md +++ b/files/en-us/web/api/performance/measureuseragentspecificmemory/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.Performance.measureUserAgentSpecificMemory --- -{{APIRef("Performance API")}} {{SeeCompatTable}} +{{APIRef("Performance API")}}{{AvailableInWorkers}}{{SeeCompatTable}} The **`measureUserAgentSpecificMemory()`** method is used to estimate the memory usage of a web application including all its iframes and workers. diff --git a/files/en-us/web/api/performance/memory/index.md b/files/en-us/web/api/performance/memory/index.md index 2f3551e9f8cba05..c42353c5913ca3c 100644 --- a/files/en-us/web/api/performance/memory/index.md +++ b/files/en-us/web/api/performance/memory/index.md @@ -9,7 +9,7 @@ status: browser-compat: api.Performance.memory --- -{{APIRef("Performance API")}} {{Deprecated_Header}}{{Non-standard_header}} +{{APIRef("Performance API")}}{{AvailableInWorkers}}{{Deprecated_Header}}{{Non-standard_header}} The non-standard and legacy `performance.memory` property returns the size of the JavaScript heap which can be helpful to measure and reduce the memory footprint of websites. diff --git a/files/en-us/web/api/performance/now/index.md b/files/en-us/web/api/performance/now/index.md index 5c76ae03ded60a5..7e476caf6fe3d31 100644 --- a/files/en-us/web/api/performance/now/index.md +++ b/files/en-us/web/api/performance/now/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.now --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`performance.now()`** method returns a high resolution timestamp in milliseconds. It represents the time elapsed since {{domxref("Performance.timeOrigin")}} (the time when navigation has started in window contexts, or the time when the worker is run in {{domxref("Worker")}} and {{domxref("ServiceWorker")}} contexts). diff --git a/files/en-us/web/api/performance/resourcetimingbufferfull_event/index.md b/files/en-us/web/api/performance/resourcetimingbufferfull_event/index.md index fe9ddfcc010457f..93dae593620d006 100644 --- a/files/en-us/web/api/performance/resourcetimingbufferfull_event/index.md +++ b/files/en-us/web/api/performance/resourcetimingbufferfull_event/index.md @@ -6,7 +6,7 @@ page-type: web-api-event browser-compat: api.Performance.resourcetimingbufferfull_event --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The `resourcetimingbufferfull` event is fired when the browser's [resource timing buffer](/en-US/docs/Web/API/Performance/setResourceTimingBufferSize) is full. diff --git a/files/en-us/web/api/performance/setresourcetimingbuffersize/index.md b/files/en-us/web/api/performance/setresourcetimingbuffersize/index.md index 6f0dd96f3891d70..0934e74b940fb16 100644 --- a/files/en-us/web/api/performance/setresourcetimingbuffersize/index.md +++ b/files/en-us/web/api/performance/setresourcetimingbuffersize/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.setResourceTimingBufferSize --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`setResourceTimingBufferSize()`** method sets the desired size of the browser's resource timing buffer which stores the `"resource"` performance entries. diff --git a/files/en-us/web/api/performance/timeorigin/index.md b/files/en-us/web/api/performance/timeorigin/index.md index 962f87ddccdab30..16901a3732fce4d 100644 --- a/files/en-us/web/api/performance/timeorigin/index.md +++ b/files/en-us/web/api/performance/timeorigin/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.Performance.timeOrigin --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`timeOrigin`** read-only property of the {{domxref("Performance")}} interface returns the high resolution timestamp that is used as the baseline for performance-related timestamps. diff --git a/files/en-us/web/api/performance/tojson/index.md b/files/en-us/web/api/performance/tojson/index.md index 0b9baaf3c305f19..103ee14c0168062 100644 --- a/files/en-us/web/api/performance/tojson/index.md +++ b/files/en-us/web/api/performance/tojson/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.Performance.toJSON --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`toJSON()`** method of the {{domxref("Performance")}} interface is a {{Glossary("Serialization","serializer")}}; it returns a JSON representation of the {{domxref("Performance")}} object. diff --git a/files/en-us/web/api/performance_api/index.md b/files/en-us/web/api/performance_api/index.md index 9c0481df206dc4a..75439ff5928ea85 100644 --- a/files/en-us/web/api/performance_api/index.md +++ b/files/en-us/web/api/performance_api/index.md @@ -21,7 +21,7 @@ spec-urls: - https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-notrestoredreasons-interface --- -{{DefaultAPISidebar("Performance API")}} +{{DefaultAPISidebar("Performance API")}}{{AvailableInWorkers}} The Performance API is a group of standards used to measure the performance of web applications. diff --git a/files/en-us/web/api/performanceentry/duration/index.md b/files/en-us/web/api/performanceentry/duration/index.md index 99c8de612103cf3..75aae5541e0846a 100644 --- a/files/en-us/web/api/performanceentry/duration/index.md +++ b/files/en-us/web/api/performanceentry/duration/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceEntry.duration --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The read-only **`duration`** property returns a {{domxref("DOMHighResTimeStamp","timestamp", "", "no-code")}} that is the duration of the {{domxref("PerformanceEntry","performance entry", "", "no-code")}}. The meaning of this property depends on the value of this entry's {{domxref("PerformanceEntry.entryType", "entryType")}}. diff --git a/files/en-us/web/api/performanceentry/entrytype/index.md b/files/en-us/web/api/performanceentry/entrytype/index.md index f207762d4b3c710..f65fad08014648e 100644 --- a/files/en-us/web/api/performanceentry/entrytype/index.md +++ b/files/en-us/web/api/performanceentry/entrytype/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceEntry.entryType --- -{{APIRef("Performance API")}} {{AvailableInWorkers}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The read-only **`entryType`** property returns a string representing the type of performance metric that this entry represents. diff --git a/files/en-us/web/api/performanceentry/index.md b/files/en-us/web/api/performanceentry/index.md index a136852ca111f7b..3a0177ff1ef95dd 100644 --- a/files/en-us/web/api/performanceentry/index.md +++ b/files/en-us/web/api/performanceentry/index.md @@ -5,7 +5,7 @@ page-type: web-api-interface browser-compat: api.PerformanceEntry --- -{{APIRef("Performance API")}} {{AvailableInWorkers}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`PerformanceEntry`** object encapsulates a single performance metric that is part of the browser's performance timeline. diff --git a/files/en-us/web/api/performanceentry/name/index.md b/files/en-us/web/api/performanceentry/name/index.md index 9f3f55bc332e507..f521785ba0d2d05 100644 --- a/files/en-us/web/api/performanceentry/name/index.md +++ b/files/en-us/web/api/performanceentry/name/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceEntry.name --- -{{APIRef("Performance API")}} {{AvailableInWorkers}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The read-only **`name`** property of the {{domxref("PerformanceEntry")}} interface is a string representing the name for a performance entry. It acts as an identifier, but it does not have to be unique. The value depends on the subclass. diff --git a/files/en-us/web/api/performanceentry/starttime/index.md b/files/en-us/web/api/performanceentry/starttime/index.md index e41333ed2ac2f5e..4a484808a86615f 100644 --- a/files/en-us/web/api/performanceentry/starttime/index.md +++ b/files/en-us/web/api/performanceentry/starttime/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceEntry.startTime --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The read-only **`startTime`** property returns the first {{domxref("DOMHighResTimeStamp","timestamp", "", "no-code")}} recorded for this {{domxref("PerformanceEntry")}}. The meaning of this property depends on the value of this entry's {{domxref("PerformanceEntry.entryType", "entryType")}}. diff --git a/files/en-us/web/api/performanceentry/tojson/index.md b/files/en-us/web/api/performanceentry/tojson/index.md index a941e12bf905d93..bda44f9e7673301 100644 --- a/files/en-us/web/api/performanceentry/tojson/index.md +++ b/files/en-us/web/api/performanceentry/tojson/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.PerformanceEntry.toJSON --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`toJSON()`** method is a {{Glossary("Serialization","serializer")}}; it returns a JSON representation of the {{domxref("PerformanceEntry")}} object. diff --git a/files/en-us/web/api/performancemark/detail/index.md b/files/en-us/web/api/performancemark/detail/index.md index 0ec318a2fed81e6..43bea9df6438d85 100644 --- a/files/en-us/web/api/performancemark/detail/index.md +++ b/files/en-us/web/api/performancemark/detail/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceMark.detail --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The read-only **`detail`** property returns arbitrary metadata that was included in the mark upon construction (either when using {{domxref("Performance.mark","performance.mark()")}} or the {{domxref("PerformanceMark.PerformanceMark","PerformanceMark()")}} constructor). diff --git a/files/en-us/web/api/performancemark/index.md b/files/en-us/web/api/performancemark/index.md index f19cb58999016e0..091d3d7b057d994 100644 --- a/files/en-us/web/api/performancemark/index.md +++ b/files/en-us/web/api/performancemark/index.md @@ -5,7 +5,7 @@ page-type: web-api-interface browser-compat: api.PerformanceMark --- -{{APIRef("Performance API")}} {{AvailableInWorkers}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} **`PerformanceMark`** is an interface for {{domxref("PerformanceEntry")}} objects with an {{domxref("PerformanceEntry.entryType","entryType")}} of `"mark"`. diff --git a/files/en-us/web/api/performancemark/performancemark/index.md b/files/en-us/web/api/performancemark/performancemark/index.md index d793899ed64a2b3..ab17789bc97cf08 100644 --- a/files/en-us/web/api/performancemark/performancemark/index.md +++ b/files/en-us/web/api/performancemark/performancemark/index.md @@ -6,7 +6,7 @@ page-type: web-api-constructor browser-compat: api.PerformanceMark.PerformanceMark --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`PerformanceMark()`** constructor creates a {{domxref("DOMHighResTimeStamp","timestamp")}} with the given name. diff --git a/files/en-us/web/api/performancemeasure/detail/index.md b/files/en-us/web/api/performancemeasure/detail/index.md index 5b31a3c8bb4e1f0..9179bde5db04e0b 100644 --- a/files/en-us/web/api/performancemeasure/detail/index.md +++ b/files/en-us/web/api/performancemeasure/detail/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceMeasure.detail --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The read-only **`detail`** property returns arbitrary metadata that was included in the mark upon construction (when using {{domxref("Performance.measure","performance.measure()")}}. diff --git a/files/en-us/web/api/performancemeasure/index.md b/files/en-us/web/api/performancemeasure/index.md index 5a1a597ff42d1f3..ddf4c4a002f9042 100644 --- a/files/en-us/web/api/performancemeasure/index.md +++ b/files/en-us/web/api/performancemeasure/index.md @@ -5,7 +5,7 @@ page-type: web-api-interface browser-compat: api.PerformanceMeasure --- -{{APIRef("Performance API")}} {{AvailableInWorkers}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} **`PerformanceMeasure`** is an _abstract_ interface for {{domxref("PerformanceEntry")}} objects with an {{domxref("PerformanceEntry.entryType","entryType")}} of `"measure"`. Entries of this type are created by calling {{domxref("Performance.measure","performance.measure()")}} to add a _named_ {{domxref("DOMHighResTimeStamp")}} (the _measure_) between two _marks_ to the browser's _performance timeline_. diff --git a/files/en-us/web/api/performanceobserver/disconnect/index.md b/files/en-us/web/api/performanceobserver/disconnect/index.md index 724274d42b03aff..3ea14d416955573 100644 --- a/files/en-us/web/api/performanceobserver/disconnect/index.md +++ b/files/en-us/web/api/performanceobserver/disconnect/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.PerformanceObserver.disconnect --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`disconnect()`** method of the {{domxref('PerformanceObserver')}} interface is used to stop the performance observer from receiving any {{domxref("PerformanceEntry","performance entry", '', 'true')}} events. diff --git a/files/en-us/web/api/performanceobserver/index.md b/files/en-us/web/api/performanceobserver/index.md index 0db8fa65b3950d3..b25dcb14ddff398 100644 --- a/files/en-us/web/api/performanceobserver/index.md +++ b/files/en-us/web/api/performanceobserver/index.md @@ -5,7 +5,7 @@ page-type: web-api-interface browser-compat: api.PerformanceObserver --- -{{APIRef("Performance API")}} {{AvailableInWorkers}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`PerformanceObserver`** interface is used to observe performance measurement events and be notified of new {{domxref("PerformanceEntry","performance entries", '', 'true')}} as they are recorded in the browser's _performance timeline_. diff --git a/files/en-us/web/api/performanceobserver/observe/index.md b/files/en-us/web/api/performanceobserver/observe/index.md index 8fc082a1e4ddd20..6601c513f6f1de0 100644 --- a/files/en-us/web/api/performanceobserver/observe/index.md +++ b/files/en-us/web/api/performanceobserver/observe/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.PerformanceObserver.observe --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`observe()`** method of the **{{domxref("PerformanceObserver")}}** interface is used to specify the set of performance entry types to observe. diff --git a/files/en-us/web/api/performanceobserver/performanceobserver/index.md b/files/en-us/web/api/performanceobserver/performanceobserver/index.md index c81d7d5dfafad62..b67154bbeb0fd45 100644 --- a/files/en-us/web/api/performanceobserver/performanceobserver/index.md +++ b/files/en-us/web/api/performanceobserver/performanceobserver/index.md @@ -6,7 +6,7 @@ page-type: web-api-constructor browser-compat: api.PerformanceObserver.PerformanceObserver --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`PerformanceObserver()`** constructor creates a new {{domxref("PerformanceObserver")}} object with the given observer `callback`. The observer callback is invoked when {{domxref("PerformanceEntry","performance entry events", '', 'true')}} are recorded for the {{domxref("PerformanceEntry.entryType","entry types",'','true')}} that have been registered, via the {{domxref("PerformanceObserver.observe","observe()")}} method. diff --git a/files/en-us/web/api/performanceobserver/supportedentrytypes_static/index.md b/files/en-us/web/api/performanceobserver/supportedentrytypes_static/index.md index 1603ce845d90f63..4b8124f071a61b7 100644 --- a/files/en-us/web/api/performanceobserver/supportedentrytypes_static/index.md +++ b/files/en-us/web/api/performanceobserver/supportedentrytypes_static/index.md @@ -6,7 +6,7 @@ page-type: web-api-static-property browser-compat: api.PerformanceObserver.supportedEntryTypes_static --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The static **`supportedEntryTypes`** read-only property of the {{domxref("PerformanceObserver")}} interface returns an array of the {{domxref("PerformanceEntry.entryType","entryType")}} values supported by the user agent. diff --git a/files/en-us/web/api/performanceobserver/takerecords/index.md b/files/en-us/web/api/performanceobserver/takerecords/index.md index eafb07cb0eabe88..f4d3262446c2b46 100644 --- a/files/en-us/web/api/performanceobserver/takerecords/index.md +++ b/files/en-us/web/api/performanceobserver/takerecords/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.PerformanceObserver.takeRecords --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`takeRecords()`** method of the {{domxref('PerformanceObserver')}} interface returns the current list of {{domxref("PerformanceEntry")}} objects stored in the performance observer, emptying it out. diff --git a/files/en-us/web/api/performanceobserverentrylist/getentries/index.md b/files/en-us/web/api/performanceobserverentrylist/getentries/index.md index 0383ef16ef4b0d5..2ecdee0a1dd8ca2 100644 --- a/files/en-us/web/api/performanceobserverentrylist/getentries/index.md +++ b/files/en-us/web/api/performanceobserverentrylist/getentries/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.PerformanceObserverEntryList.getEntries --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`getEntries()`** method of the {{domxref("PerformanceObserverEntryList")}} interface returns a list of explicitly observed {{domxref("PerformanceEntry","performance entry", '', 'true')}} objects. The list's members are determined by the set of {{domxref("PerformanceEntry.entryType","entry types", '', 'true')}} specified in the call to the {{domxref("PerformanceObserver.observe","observe()")}} method. The list is available in the observer's callback function (as the first parameter in the callback). diff --git a/files/en-us/web/api/performanceobserverentrylist/getentriesbyname/index.md b/files/en-us/web/api/performanceobserverentrylist/getentriesbyname/index.md index b6649bad945cd0a..b9e76de2645f426 100644 --- a/files/en-us/web/api/performanceobserverentrylist/getentriesbyname/index.md +++ b/files/en-us/web/api/performanceobserverentrylist/getentriesbyname/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.PerformanceObserverEntryList.getEntriesByName --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`getEntriesByName()`** method of the {{domxref("PerformanceObserverEntryList")}} interface returns a list of explicitly observed {{domxref("PerformanceEntry")}} objects for a given {{domxref("PerformanceEntry.name","name")}} and {{domxref("PerformanceEntry.entryType","entryType")}}. The list's members are determined by the set of {{domxref("PerformanceEntry.entryType","entry types", '', 'entry')}} specified in the call to the {{domxref("PerformanceObserver.observe","observe()")}} method. The list is available in the observer's callback function (as the first parameter in the callback). diff --git a/files/en-us/web/api/performanceobserverentrylist/getentriesbytype/index.md b/files/en-us/web/api/performanceobserverentrylist/getentriesbytype/index.md index bf44e8d98624c81..e4515430d7e1e3f 100644 --- a/files/en-us/web/api/performanceobserverentrylist/getentriesbytype/index.md +++ b/files/en-us/web/api/performanceobserverentrylist/getentriesbytype/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.PerformanceObserverEntryList.getEntriesByType --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`getEntriesByType()`** method of the {{domxref("PerformanceObserverEntryList")}} returns a list of explicitly _observed_ {{domxref("PerformanceEntry","performance entry", '', 'true')}} objects for a given {{domxref("PerformanceEntry.entryType","performance entry type", '', 'true')}}. The list's members are determined by the set of {{domxref("PerformanceEntry.entryType","entry types", '', 'true')}} specified in the call to the {{domxref("PerformanceObserver.observe","observe()")}} method. The list is available in the observer's callback function (as the first parameter in the callback). diff --git a/files/en-us/web/api/performanceobserverentrylist/index.md b/files/en-us/web/api/performanceobserverentrylist/index.md index 7c280320e6b3869..b7a90599a4f9ec5 100644 --- a/files/en-us/web/api/performanceobserverentrylist/index.md +++ b/files/en-us/web/api/performanceobserverentrylist/index.md @@ -5,7 +5,7 @@ page-type: web-api-interface browser-compat: api.PerformanceObserverEntryList --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`PerformanceObserverEntryList`** interface is a list of {{domxref("PerformanceEntry","performance events", '', 'true')}} that were explicitly observed via the {{domxref("PerformanceObserver.observe","observe()")}} method. diff --git a/files/en-us/web/api/performanceresourcetiming/connectend/index.md b/files/en-us/web/api/performanceresourcetiming/connectend/index.md index cd2005b292319d1..eec5d0fb6576543 100644 --- a/files/en-us/web/api/performanceresourcetiming/connectend/index.md +++ b/files/en-us/web/api/performanceresourcetiming/connectend/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.connectEnd --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`connectEnd`** read-only property returns the {{domxref("DOMHighResTimeStamp","timestamp")}} immediately after the browser finishes establishing the connection to the server to retrieve the resource. The timestamp value includes the time interval to establish the transport connection, as well as other time intervals such as TLS handshake and [SOCKS](https://en.wikipedia.org/wiki/SOCKS) authentication. diff --git a/files/en-us/web/api/performanceresourcetiming/connectstart/index.md b/files/en-us/web/api/performanceresourcetiming/connectstart/index.md index e1af199600ad2a0..7583a141384f067 100644 --- a/files/en-us/web/api/performanceresourcetiming/connectstart/index.md +++ b/files/en-us/web/api/performanceresourcetiming/connectstart/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.connectStart --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`connectStart`** read-only property returns the {{domxref("DOMHighResTimeStamp","timestamp")}} immediately before the user agent starts establishing the connection to the server to retrieve the resource. diff --git a/files/en-us/web/api/performanceresourcetiming/contenttype/index.md b/files/en-us/web/api/performanceresourcetiming/contenttype/index.md index af9feae74d959d7..8ca0ccb1d96b071 100644 --- a/files/en-us/web/api/performanceresourcetiming/contenttype/index.md +++ b/files/en-us/web/api/performanceresourcetiming/contenttype/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.PerformanceResourceTiming.contentType --- -{{APIRef("Performance API")}}{{SeeCompatTable}} +{{APIRef("Performance API")}}{{AvailableInWorkers}}{{SeeCompatTable}} The **`contentType`** read-only property of the {{domxref("PerformanceResourceTiming")}} interface is a string indicating the content type of the fetched resource, formatted as a {{glossary("MIME type")}} and subtype separated by a forward slash. diff --git a/files/en-us/web/api/performanceresourcetiming/decodedbodysize/index.md b/files/en-us/web/api/performanceresourcetiming/decodedbodysize/index.md index d0a1a9415a37353..b54d3f7f88f6d5c 100644 --- a/files/en-us/web/api/performanceresourcetiming/decodedbodysize/index.md +++ b/files/en-us/web/api/performanceresourcetiming/decodedbodysize/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.decodedBodySize --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding. diff --git a/files/en-us/web/api/performanceresourcetiming/deliverytype/index.md b/files/en-us/web/api/performanceresourcetiming/deliverytype/index.md index 10ad89c09a3dcea..3ec46d42623dd81 100644 --- a/files/en-us/web/api/performanceresourcetiming/deliverytype/index.md +++ b/files/en-us/web/api/performanceresourcetiming/deliverytype/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.PerformanceResourceTiming.deliveryType --- -{{APIRef("Performance API")}}{{SeeCompatTable}} +{{APIRef("Performance API")}}{{AvailableInWorkers}}{{SeeCompatTable}} The **`deliveryType`** read-only property is a string indicating how the resource was delivered — for example from the cache or from a navigational prefetch. diff --git a/files/en-us/web/api/performanceresourcetiming/domainlookupend/index.md b/files/en-us/web/api/performanceresourcetiming/domainlookupend/index.md index 0ff6eff44521f04..02a28cb72b144b9 100644 --- a/files/en-us/web/api/performanceresourcetiming/domainlookupend/index.md +++ b/files/en-us/web/api/performanceresourcetiming/domainlookupend/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.domainLookupEnd --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`domainLookupEnd`** read-only property returns the {{domxref("DOMHighResTimeStamp","timestamp")}} immediately after the browser finishes the domain-name lookup for the resource. diff --git a/files/en-us/web/api/performanceresourcetiming/domainlookupstart/index.md b/files/en-us/web/api/performanceresourcetiming/domainlookupstart/index.md index 2ce502a2550818b..29bd0dfd15fadef 100644 --- a/files/en-us/web/api/performanceresourcetiming/domainlookupstart/index.md +++ b/files/en-us/web/api/performanceresourcetiming/domainlookupstart/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.domainLookupStart --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`domainLookupStart`** read-only property returns the {{domxref("DOMHighResTimeStamp","timestamp")}} immediately before the browser starts the domain name lookup for the resource. diff --git a/files/en-us/web/api/performanceresourcetiming/encodedbodysize/index.md b/files/en-us/web/api/performanceresourcetiming/encodedbodysize/index.md index 3ed21130dfbd3ba..cd34ce5192be718 100644 --- a/files/en-us/web/api/performanceresourcetiming/encodedbodysize/index.md +++ b/files/en-us/web/api/performanceresourcetiming/encodedbodysize/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.encodedBodySize --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`encodedBodySize`** read-only property represents the size (in octets) received from the fetch (HTTP or cache) of the payload body before removing any applied content encodings (like gzip or Brotli). If the resource is retrieved from an application cache or a local resource, it must return the size of the payload body before removing any applied content encoding. diff --git a/files/en-us/web/api/performanceresourcetiming/fetchstart/index.md b/files/en-us/web/api/performanceresourcetiming/fetchstart/index.md index 55e1368b0e11f93..ca8ebfc57ca81bc 100644 --- a/files/en-us/web/api/performanceresourcetiming/fetchstart/index.md +++ b/files/en-us/web/api/performanceresourcetiming/fetchstart/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.fetchStart --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`fetchStart`** read-only property represents a {{domxref("DOMHighResTimeStamp","timestamp")}} immediately before the browser starts to fetch the resource. diff --git a/files/en-us/web/api/performanceresourcetiming/firstinterimresponsestart/index.md b/files/en-us/web/api/performanceresourcetiming/firstinterimresponsestart/index.md index 7f9d8da78eedd40..d1b7fbad836b6ae 100644 --- a/files/en-us/web/api/performanceresourcetiming/firstinterimresponsestart/index.md +++ b/files/en-us/web/api/performanceresourcetiming/firstinterimresponsestart/index.md @@ -8,7 +8,7 @@ status: browser-compat: api.PerformanceResourceTiming.firstInterimResponseStart --- -{{APIRef("Performance API")}}{{SeeCompatTable}} +{{APIRef("Performance API")}}{{AvailableInWorkers}}{{SeeCompatTable}} The **`firstInterimResponseStart`** read-only property returns a {{domxref("DOMHighResTimeStamp","timestamp")}} immediately after the browser receives the first byte of the interim 1xx response (for example, 100 Continue or 103 Early Hints) from the server. diff --git a/files/en-us/web/api/performanceresourcetiming/index.md b/files/en-us/web/api/performanceresourcetiming/index.md index 76f2fc08f4b3558..21840e5fa9bd8af 100644 --- a/files/en-us/web/api/performanceresourcetiming/index.md +++ b/files/en-us/web/api/performanceresourcetiming/index.md @@ -5,7 +5,7 @@ page-type: web-api-interface browser-compat: api.PerformanceResourceTiming --- -{{APIRef("Performance API")}} {{AvailableInWorkers}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`PerformanceResourceTiming`** interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an {{domxref("XMLHttpRequest")}}, {{SVGElement("SVG","SVG element")}}, image, or script. diff --git a/files/en-us/web/api/performanceresourcetiming/initiatortype/index.md b/files/en-us/web/api/performanceresourcetiming/initiatortype/index.md index 764dea26669178a..3cb8477274f68ab 100644 --- a/files/en-us/web/api/performanceresourcetiming/initiatortype/index.md +++ b/files/en-us/web/api/performanceresourcetiming/initiatortype/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.initiatorType --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`initiatorType`** read-only property is a string representing web platform feature that initiated the resource load. diff --git a/files/en-us/web/api/performanceresourcetiming/nexthopprotocol/index.md b/files/en-us/web/api/performanceresourcetiming/nexthopprotocol/index.md index f2dc7341333bc5c..4040bfc56c0b73e 100644 --- a/files/en-us/web/api/performanceresourcetiming/nexthopprotocol/index.md +++ b/files/en-us/web/api/performanceresourcetiming/nexthopprotocol/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.nextHopProtocol --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`nextHopProtocol`** read-only property is a string representing the network protocol used to fetch the resource, as identified by the [ALPN Protocol ID (RFC7301)](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids). diff --git a/files/en-us/web/api/performanceresourcetiming/redirectend/index.md b/files/en-us/web/api/performanceresourcetiming/redirectend/index.md index 26dbb0d234eca09..1101dd881a6f8d0 100644 --- a/files/en-us/web/api/performanceresourcetiming/redirectend/index.md +++ b/files/en-us/web/api/performanceresourcetiming/redirectend/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.redirectEnd --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`redirectEnd`** read-only property returns a {{domxref("DOMHighResTimeStamp","timestamp")}} immediately after receiving the last byte of the response of the last redirect. diff --git a/files/en-us/web/api/performanceresourcetiming/redirectstart/index.md b/files/en-us/web/api/performanceresourcetiming/redirectstart/index.md index 94f356d0640f9ec..15ffcbbeb817e59 100644 --- a/files/en-us/web/api/performanceresourcetiming/redirectstart/index.md +++ b/files/en-us/web/api/performanceresourcetiming/redirectstart/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.redirectStart --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`redirectStart`** read-only property returns a {{domxref("DOMHighResTimeStamp","timestamp")}} representing the start time of the fetch which that initiates the redirect. diff --git a/files/en-us/web/api/performanceresourcetiming/renderblockingstatus/index.md b/files/en-us/web/api/performanceresourcetiming/renderblockingstatus/index.md index 353fe45e9559040..7a88b9240a141ac 100644 --- a/files/en-us/web/api/performanceresourcetiming/renderblockingstatus/index.md +++ b/files/en-us/web/api/performanceresourcetiming/renderblockingstatus/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.renderBlockingStatus --- -{{APIRef("Resource Timing API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`renderBlockingStatus`** read-only property returns the render-blocking status of the resource. diff --git a/files/en-us/web/api/performanceresourcetiming/requeststart/index.md b/files/en-us/web/api/performanceresourcetiming/requeststart/index.md index 74ca6a8074c34a1..9aed4c8621dac18 100644 --- a/files/en-us/web/api/performanceresourcetiming/requeststart/index.md +++ b/files/en-us/web/api/performanceresourcetiming/requeststart/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.requestStart --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`requestStart`** read-only property returns a {{domxref("DOMHighResTimeStamp","timestamp")}} of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request. diff --git a/files/en-us/web/api/performanceresourcetiming/responseend/index.md b/files/en-us/web/api/performanceresourcetiming/responseend/index.md index 1f025d7ab83ff40..06388dcba81606b 100644 --- a/files/en-us/web/api/performanceresourcetiming/responseend/index.md +++ b/files/en-us/web/api/performanceresourcetiming/responseend/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.responseEnd --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`responseEnd`** read-only property returns a {{domxref("DOMHighResTimeStamp","timestamp")}} immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first. diff --git a/files/en-us/web/api/performanceresourcetiming/responsestart/index.md b/files/en-us/web/api/performanceresourcetiming/responsestart/index.md index 2335a440e839e8a..02df17675916d75 100644 --- a/files/en-us/web/api/performanceresourcetiming/responsestart/index.md +++ b/files/en-us/web/api/performanceresourcetiming/responsestart/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.responseStart --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`responseStart`** read-only property returns a {{domxref("DOMHighResTimeStamp","timestamp")}} immediately after the browser receives the first byte of the response from the server, cache, or local resource. diff --git a/files/en-us/web/api/performanceresourcetiming/responsestatus/index.md b/files/en-us/web/api/performanceresourcetiming/responsestatus/index.md index b415a3aaaab7cc4..de72e675ee176b6 100644 --- a/files/en-us/web/api/performanceresourcetiming/responsestatus/index.md +++ b/files/en-us/web/api/performanceresourcetiming/responsestatus/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.responseStatus --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`responseStatus`** read-only property represents the HTTP response status code returned when fetching the resource. diff --git a/files/en-us/web/api/performanceresourcetiming/secureconnectionstart/index.md b/files/en-us/web/api/performanceresourcetiming/secureconnectionstart/index.md index 5b8f89d609222e1..ad9486d10991422 100644 --- a/files/en-us/web/api/performanceresourcetiming/secureconnectionstart/index.md +++ b/files/en-us/web/api/performanceresourcetiming/secureconnectionstart/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.secureConnectionStart --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`secureConnectionStart`** read-only property returns a {{domxref("DOMHighResTimeStamp","timestamp")}} immediately before the browser starts the handshake process to secure the current connection. If a secure connection is not used, the property returns zero. diff --git a/files/en-us/web/api/performanceresourcetiming/servertiming/index.md b/files/en-us/web/api/performanceresourcetiming/servertiming/index.md index 039197ee75a856b..1e0bab79d132ca2 100644 --- a/files/en-us/web/api/performanceresourcetiming/servertiming/index.md +++ b/files/en-us/web/api/performanceresourcetiming/servertiming/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.serverTiming --- -{{APIRef("Performance API")}} {{securecontext_header}} +{{APIRef("Performance API")}}{{AvailableInWorkers}}{{securecontext_header}} The **`serverTiming`** read-only property returns an array of {{domxref("PerformanceServerTiming")}} entries containing server timing metrics. diff --git a/files/en-us/web/api/performanceresourcetiming/tojson/index.md b/files/en-us/web/api/performanceresourcetiming/tojson/index.md index 3af25b2fc4ab409..ece50b7cf216f6d 100644 --- a/files/en-us/web/api/performanceresourcetiming/tojson/index.md +++ b/files/en-us/web/api/performanceresourcetiming/tojson/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.PerformanceResourceTiming.toJSON --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`toJSON()`** method of the {{domxref("PerformanceResourceTiming")}} interface is a {{Glossary("Serialization","serializer")}}; it returns a JSON representation of the {{domxref("PerformanceResourceTiming")}} object. diff --git a/files/en-us/web/api/performanceresourcetiming/transfersize/index.md b/files/en-us/web/api/performanceresourcetiming/transfersize/index.md index cb2e3d7187bd843..477c93bfc50e757 100644 --- a/files/en-us/web/api/performanceresourcetiming/transfersize/index.md +++ b/files/en-us/web/api/performanceresourcetiming/transfersize/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.transferSize --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`transferSize`** read-only property represents the size (in octets) of the fetched resource. The size includes the response header fields plus the response payload body (as defined by [RFC7230](https://httpwg.org/specs/rfc7230.html#message.body)). diff --git a/files/en-us/web/api/performanceresourcetiming/workerstart/index.md b/files/en-us/web/api/performanceresourcetiming/workerstart/index.md index 1be7150910e0759..57dc2f29fb8a8bc 100644 --- a/files/en-us/web/api/performanceresourcetiming/workerstart/index.md +++ b/files/en-us/web/api/performanceresourcetiming/workerstart/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceResourceTiming.workerStart --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`workerStart`** read-only property of the {{domxref("PerformanceResourceTiming")}} interface returns a {{domxref("DOMHighResTimeStamp")}} immediately before dispatching the {{domxref("FetchEvent")}} if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running. If the resource is not intercepted by a Service Worker the property will always return 0. diff --git a/files/en-us/web/api/performanceservertiming/description/index.md b/files/en-us/web/api/performanceservertiming/description/index.md index 695a42cc9fe283f..55f1ff405f81655 100644 --- a/files/en-us/web/api/performanceservertiming/description/index.md +++ b/files/en-us/web/api/performanceservertiming/description/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceServerTiming.description --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`description`** read-only property returns a string value of the server-specified metric description, or an empty diff --git a/files/en-us/web/api/performanceservertiming/duration/index.md b/files/en-us/web/api/performanceservertiming/duration/index.md index 8970198c433249f..2c658a40f8f08c0 100644 --- a/files/en-us/web/api/performanceservertiming/duration/index.md +++ b/files/en-us/web/api/performanceservertiming/duration/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceServerTiming.duration --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`duration`** read-only property returns a double that contains the server-specified metric duration, or the value `0.0`. diff --git a/files/en-us/web/api/performanceservertiming/index.md b/files/en-us/web/api/performanceservertiming/index.md index 118cb71767164d9..266eadd4f550479 100644 --- a/files/en-us/web/api/performanceservertiming/index.md +++ b/files/en-us/web/api/performanceservertiming/index.md @@ -5,7 +5,7 @@ page-type: web-api-interface browser-compat: api.PerformanceServerTiming --- -{{APIRef("Performance API")}} {{AvailableInWorkers}} {{securecontext_header}} +{{APIRef("Performance API")}}{{AvailableInWorkers}}{{securecontext_header}} The **`PerformanceServerTiming`** interface surfaces server metrics that are sent with the response in the {{HTTPHeader("Server-Timing")}} HTTP header. diff --git a/files/en-us/web/api/performanceservertiming/name/index.md b/files/en-us/web/api/performanceservertiming/name/index.md index 2f587b18cb1fd29..5858de0f48eee60 100644 --- a/files/en-us/web/api/performanceservertiming/name/index.md +++ b/files/en-us/web/api/performanceservertiming/name/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-property browser-compat: api.PerformanceServerTiming.name --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`name`** read-only property returns a string value of the server-specified metric name. diff --git a/files/en-us/web/api/performanceservertiming/tojson/index.md b/files/en-us/web/api/performanceservertiming/tojson/index.md index 85d52ce8d99fd02..1ee549f9822eab5 100644 --- a/files/en-us/web/api/performanceservertiming/tojson/index.md +++ b/files/en-us/web/api/performanceservertiming/tojson/index.md @@ -6,7 +6,7 @@ page-type: web-api-instance-method browser-compat: api.PerformanceServerTiming.toJSON --- -{{APIRef("Performance API")}} +{{APIRef("Performance API")}}{{AvailableInWorkers}} The **`toJSON()`** method of the {{domxref("PerformanceServerTiming")}} interface is a {{Glossary("Serialization","serializer")}}; it returns a JSON representation of the {{domxref("PerformanceServerTiming")}} object.