Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for PerformanceNavigation: toJSON() method.
Developer library 6
Information contained in a WebIDL file
p now(); }; [Exposed=Window] partial interface Performance { [Constant] readonly attribute PerformanceTiming timing; [Constant] readonly attribute PerformanceNavigation navigation; jsonifier; }; ``` In this case `Performance.now()` is available on the `Window` scope and to any worker, while `Performance.timing`, `Performance.navigation` and `Performance.toJSON()` are not available to Web workers. T
PerformanceNavigation
Performance API The legacy **`PerformanceNavigation`** interface represents information about how the navigation to the current document was done. > [!WARNING] > This interface is deprecated in the [Navigation Timing Level 2 specification](https://w3c.github.io/navigation-timing/#obsolete). > Please use the PerformanceNavigationTiming interface instead. An object of this type can be obtained by calling the Perform
PerformanceNavigation: toJSON() method
is interface of this property is deprecated in the [Navigation Timing Level 2 specification](https://w3c.github.io/navigation-timing/#obsolete). Please use the PerformanceNavigationTiming > interface instead. The **`toJSON()`** method of the PerformanceNavigation interface returns a JSON-serializable plain object representing the `PerformanceNavigation` object. The method is automatically called by JSON.stringify()
PerformanceNavigationTiming
Performance API The **`PerformanceNavigationTiming`** interface provides methods and properties to store and retrieve metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document. Only the current document is included in the performance timeline, so there is only one `PerformanceNavigationTiming` object in the pe
Performance
l-user interactions that have occurred on the page, which is useful when calculating Interaction to Next Paint (INP). - Performance.navigation - : A legacy PerformanceNavigation object that provides useful context about the operations included in the times listed in `timing`, including whether the page was a load or a refresh, how many redirections occurred, and so forth. - Performance.timing - : A legacy Per
Performance: toJSON() method
s. When the returned object is passed to JSON.stringify(), the `timing` and `navigation` properties are further serialized using PerformanceTiming.toJSON() and PerformanceNavigation.toJSON(), respectively. The returned object doesn't contain the eventCounts property because EventCounts doesn't provide a `toJSON()` operation. > [!NOTE] > In a window context, the returned object includes interactionCount and the depr