TaskAttributionTiming.containerId
Experimental: 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 |
---|
Long Tasks API 1 # dom-taskattributiontiming-containerid |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
containerId |
58 |
79 |
No |
No |
Yes |
No |
58 |
58 |
No |
Yes |
No |
7.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/TaskAttributionTiming/containerId