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

The containerType readonly property of the TaskAttributionTiming interface returns the type of frame container, one of iframe, embed, or object.


var containerType = TaskAttributionTiming.containerType;


A DOMString containing the container's type, one of iframe, embed, or object.


Specification Status Comment
Long Tasks API 1
The definition of 'containerType' in that specification.
Working Draft Initial definition.

Browser Compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Chrome Full support 58Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android Full support 58Chrome Android Full support 58Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?


Full support  
Full support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, fscholz, jpmedley
Last updated by: mdnwebdocs-bot,