TaskAttributionTiming: containerName property

Experimental: 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.

Value

A string containing the container's name HTML content attribute (e.g. <iframe name="myIframe"> or <object name="myObject">).

Specifications

Specification
Long Tasks API
# dom-taskattributiontiming-containername

Browser compatibility

BCD tables only load in the browser