TaskAttributionTiming

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

The TaskAttributionTiming interface of the the Long Tasks API 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 etc. that is being implicated, on the whole, for a long task.

Properties

TaskAttributionTiming.containerType Read only
Returns the type of frame container, one of iframe, embed, or object.
TaskAttributionTiming.containerSrc Read only
Returns the container's src attribute.
TaskAttributionTiming.containerId Read only
Returns the container's id attribute.
TaskAttributionTiming.containerName Read only
Returns the container's Name attribute.

Specifications

Specification Status Comment
Long Tasks API 1
The definition of 'TaskAttributionTiming' in that specification.
Editor's Draft Initial definition.

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 58 ? ? ? ?
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support 58 58 ? ? ? ? ?

文档标签和贡献者