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.

Value

A DOMString containing the containers id attribute.

Specifications

Specification
Long Tasks API 1
# dom-taskattributiontiming-containerid

Browser compatibility

BCD tables only load in the browser