files/en-us/web/api/performancescripttiming/windowattribution/index.md
{{SeeCompatTable}}{{APIRef("Performance API")}}
The windowAttribution read-only property of the {{domxref("PerformanceScriptTiming")}} interface returns an enumerated value describing the relationship of the container (i.e., either the top-level document or an {{htmlelement("iframe")}}) in which the long animation frame (LoAF)-causing script was executed, relative to the window running the current document.
An enumerated value, which can be one of:
"ancestor"
<iframe>."descendant"
<iframe>."other"
"same-page"
<iframe>."self"
See Long animation frame timing for examples related to the Long Animation Frames API.
{{Specifications}}
{{Compat}}