frame property

Frame? get frame

Frame associated with this execution context.

NOTE Not every execution context is associated with a frame. For example, workers and extensions have execution contexts that are not associated with frames.

Implementation

Frame? get frame => world?.frame;