Commit a67e67fb authored by Francois Doray's avatar Francois Doray Committed by Commit Bot

[blink] Remove SW ClientQueryOptions.lifecycleState.

This completes removing the ability to filter clients in
clients.matchAll().

Spec change: https://github.com/WICG/page-lifecycle/pull/39

The associated logic was already removed in
https://crrev.com/c/chromium/src/+/1789693.


Bug: 968417, 957597
Change-Id: Ibb7a8f8f3d6fb37c419107c95082bbdba29f5878
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1835195Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
Reviewed-by: default avatarHiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Auto-Submit: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702279}
parent afc509ca
...@@ -22,5 +22,5 @@ enum ClientLifecycleState { ...@@ -22,5 +22,5 @@ enum ClientLifecycleState {
// FIXME: frameType is non-standard, see https://crbug.com/697110 // FIXME: frameType is non-standard, see https://crbug.com/697110
[CallWith=ScriptState] readonly attribute ContextFrameType frameType; [CallWith=ScriptState] readonly attribute ContextFrameType frameType;
[RuntimeEnabled=ServiceWorkerFilterFrozen] readonly attribute ClientLifecycleState lifecycleState; [RuntimeEnabled=ServiceWorkerClientLifecycleState] readonly attribute ClientLifecycleState lifecycleState;
}; };
...@@ -20,6 +20,5 @@ enum ClientLifecycleStateQuery { ...@@ -20,6 +20,5 @@ enum ClientLifecycleStateQuery {
// https://w3c.github.io/ServiceWorker/#dictdef-clientqueryoptions // https://w3c.github.io/ServiceWorker/#dictdef-clientqueryoptions
dictionary ClientQueryOptions { dictionary ClientQueryOptions {
boolean includeUncontrolled = false; boolean includeUncontrolled = false;
[RuntimeEnabled=ServiceWorkerFilterFrozen] ClientLifecycleStateQuery lifecycleState = "active";
ClientType type = "window"; ClientType type = "window";
}; };
...@@ -1494,7 +1494,7 @@ ...@@ -1494,7 +1494,7 @@
status: {"Android": "", "default": "experimental"}, status: {"Android": "", "default": "experimental"},
}, },
{ {
name: "ServiceWorkerFilterFrozen", name: "ServiceWorkerClientLifecycleState",
status: "experimental", status: "experimental",
}, },
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment