WICG / page-lifecycle

Lifecycle API to support system initiated discarding and freezing
https://wicg.github.io/page-lifecycle/
Other
154 stars 12 forks source link

Define WebDriver endpoints for freeze and resume #42

Open foolip opened 4 years ago

foolip commented 4 years ago

This is to track step 2 of https://github.com/WICG/page-lifecycle/issues/19, which appears to be the only remaining step.

These endpoints can be define in the Page Lifecycle spec directly, with https://w3c.github.io/permissions/#automation being an example of how that's done.

The endpoints in ChromeDriver are:

The remote end steps should probably use one of the algorithms in https://wicg.github.io/page-lifecycle/#changing-frozenness.

stephenmcgruer commented 4 years ago

cc @Hexcles, since we chatted about this earlier