PerformanceScriptTiming: window 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 window read-only property of the PerformanceScriptTiming interface returns a reference to a Window object representing the window of the container (i.e., either the top-level document or an <iframe>) in which the long animation frame (LoAF)-causing script was executed.
Value
A Window object, or null if the window is no longer active (the object reference is a WeakRef).
Examples
See Long animation frame timing for examples related to the Long Animation Frames API.
Specifications
| Specification |
|---|
| Long Animation Frames API> # dom-performancescripttiming-window> |
Browser compatibility
Loading…