TaskAttributionTiming.containerId

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The containerId readonly property of the TaskAttributionTiming interface returns the container's id attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.

Syntax

var containerId = TaskAttributionTiming.containerId;

Value

A DOMString containing the containers id attribute.

Specifications

Specification Status Comment
Long Tasks API 1
The definition of 'containerId' in that specification.
Working Draft Initial definition.

Browser Compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic support
Experimental
Chrome Full support 58Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android Full support 58Chrome Android Full support 58Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

Document Tags and Contributors

Contributors to this page: fscholz, jpmedley
Last updated by: fscholz,