Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. TaskAttributionTiming

TaskAttributionTiming

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.

TheTaskAttributionTiming 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 withTaskAttributionTiming objects when observinglong tasks.

TaskAttributionTiming inherits fromPerformanceEntry.

PerformanceEntry TaskAttributionTiming

Instance properties

This interface extends the followingPerformanceEntry properties for event timing performance entry types by qualifying them as follows:

PerformanceEntry.durationRead onlyExperimental

Always returns0, asduration is not applicable for this interface.

PerformanceEntry.entryTypeRead onlyExperimental

Always returnstaskattribution.

PerformanceEntry.nameRead onlyExperimental

Always returns"unknown".

PerformanceEntry.startTimeRead onlyExperimental

Always returns0.

This interface also supports the following properties:

TaskAttributionTiming.containerTypeRead onlyExperimental

Returns the type of frame container, one ofiframe,embed, orobject.

TaskAttributionTiming.containerSrcRead onlyExperimental

Returns the container'ssrc attribute.

TaskAttributionTiming.containerIdRead onlyExperimental

Returns the container'sid attribute.

TaskAttributionTiming.containerNameRead onlyExperimental

Returns the container'sname attribute.

Instance methods

TaskAttributionTiming.toJSON()Experimental

Returns a JSON representation of theTaskAttributionTiming object.

Specifications

Specification
Long Tasks API
# sec-TaskAttributionTiming

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp