GO-V.ORG
As seen in

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 TaskAttributionTiming: toJSON() method.

Dictionary 0

Papers 0

Wikidata 0

Developer library 6

TaskAttributionTiming

Performance API The **`TaskAttributionTiming`** interface returns information about the work involved in a long task and its associate frame context. The frame context, also called the container, is the iframe, embed or object that is being implicated, on the whole, for a long task. You usually work with `TaskAttributionTiming` objects when observing [long tasks](/docs/Web/API/PerformanceLongTaskTiming). `TaskAttr

TaskAttributionTiming: toJSON() method

Performance API The **`toJSON()`** method of the TaskAttributionTiming interface returns a JSON-serializable plain object representing the `TaskAttributionTiming` object. The method is automatically called by JSON.stringify() when a `TaskAttributionTiming` object is encountered during [JSON](/docs/Glossary/JSON) serialization. ## Syntax ```js-nolint toJSON() ``` ### Parameters None. ### Return value A JSON-se

Performance data

manceMark - PerformanceMeasure - PerformancePaintTiming - PerformanceResourceTiming - PerformanceNavigationTiming inherits from `PerformanceResourceTiming` - TaskAttributionTiming - VisibilityStateEntry ## Accessing data You can access performance entries in one of two ways. The preferred way is to use the PerformanceObserver interface, which is constructed with a callback function to be called when particular pe

PerformanceLongTaskTiming

the time when the task started. This interface also supports the following properties: - PerformanceLongTaskTiming.attribution - : Returns a sequence of TaskAttributionTiming instances. ## Instance methods - PerformanceLongTaskTiming.toJSON() - : Returns a JSON-serializable plain object representing the `PerformanceLongTaskTiming` object. Automatically called by JSON.stringify(). ## Description Long ta

PerformanceLongTaskTiming: toJSON() method

h property's value is copied as-is. When the returned object is passed to JSON.stringify(), the objects in the `attribution` array are further serialized using TaskAttributionTiming.toJSON(). ## Examples ### Calling toJSON() directly This example obtains a `PerformanceLongTaskTiming` object. Calling `toJSON()` directly returns a plain object. Its properties have the same values as the corresponding properties of t

PerformanceEntry

PerformanceMeasure - PerformanceNavigationTiming - PerformancePaintTiming - PerformanceResourceTiming - PerformanceScriptTiming - PerformanceSoftNavigation - TaskAttributionTiming - VisibilityStateEntry ## Instance properties - PerformanceEntry.name - : A string representing the name for a performance entry. The value depends on the subtype. - PerformanceEntry.duration - : A DOMHighResTimeStamp representin

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry

JSON results · Services directory