TaskAttributionTiming: containerSrc property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

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

The containerSrc readonly property of the TaskAttributionTiming interface returns the container's src 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 src attribute (e.g. <iframe src="url.html">).

Specifications

Specification
Long Tasks API
# dom-taskattributiontiming-containersrc

Browser compatibility

BCD tables only load in the browser