Skip to content

Specify frame destruction behavior #192

Description

@marcoscaceres

As a possible error condition, it would be good to spec out what happens when a navigable is destroyed that has request or is watching for a position.

Similarly to the frame no longer being fully active, it is possible to kick off a position request and then destroy the frame while holding a reference to the various callbacks or geolocation object.

We should check what user agents do in such cases, but it's probably best to specify in such cases they should avoid all watch/get operations and error with an abort error.

The spec should set up monitoring for the destruction of the script execution context, and trigger the abort behavior when the frame is destroyed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

TPAC2025Topics for discussion at TPAC 2025

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions