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

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


var containerName = TaskAttributionTiming.containerName;


A DOMString containing the container's src attribute.


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

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support58 ? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support5858 ? ? ? ? ?

Document Tags and Contributors

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