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.
Syntax
var containerSrc = TaskAttributionTiming.containerSrc;
Value
A DOMString
containing the container's src
attribute.
Specifications
Specification | Status | Comment |
---|---|---|
Long Tasks API 1 The definition of 'containerSrc' in that specification. |
Working Draft | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
containerSrc | Chrome Full support 58 | Edge Full support ≤79 | Firefox No support No | IE ? | Opera Full support Yes | Safari ? | WebView Android Full support 58 | Chrome Android Full support 58 | Firefox Android No support No | Opera Android Full support Yes | Safari iOS ? | Samsung Internet Android Full support 7.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.