From 931272cd38ac961b5d9f1fe556a153478a73d9bd Mon Sep 17 00:00:00 2001 From: Sam Goto Date: Tue, 3 Sep 2024 11:26:45 -0700 Subject: [PATCH] Address feedback --- spec/login-status.bs | 110 ++++++------------------------------------- 1 file changed, 15 insertions(+), 95 deletions(-) diff --git a/spec/login-status.bs b/spec/login-status.bs index 3df234df..7d60f45e 100644 --- a/spec/login-status.bs +++ b/spec/login-status.bs @@ -9,6 +9,7 @@ ED: https://w3c-fedid.github.io/fedcm/login-status.html Prepare for TR: true Repository: w3c-fedid/FedCM Editor: Christian Biesinger, w3cid 39461, Google Inc. https://google.com, cbiesinger@chromium.org +Editor: John Wilander, Apple Inc. https://apple.com, wilander@apple.com Markup Shorthands: markdown yes, biblio yes Default Biblio Display: inline @@ -23,74 +24,13 @@ Abstract: A Web Platform API that allows websites to notify the browser when the Test Suite: https://github.com/web-platform-tests/wpt/tree/master/fedcm -
-spec: ecma262; urlPrefix: https://tc39.github.io/ecma262/
-    type: dfn
-        text: internal method; url: sec-ordinary-object-internal-methods-and-internal-slots
-
-spec: credential-management-1; urlPrefix: https://w3c.github.io/webappsec-credential-management/
-    type: dfn
-        text: same-origin with its ancestors; url: same-origin-with-its-ancestors
-    type: dfn
-        text: requires user mediation; url: origin-requires-user-mediation
-spec: webdriver; urlPrefix: https://w3c.github.io/webdriver/
-    type: dfn
-        text: endpoint node; url: dfn-endpoint-node
-        text: extension capability; url: dfn-extension-capability
-        text: getting a property; url: dfn-getting-properties
-        text: matching capabilities; url: dfn-matching-capabilities
-        text: no such alert; url: dfn-no-such-alert
-        text: error code; url: dfn-error-code
-        text: validating capabilities; url: dfn-validate-capabilities
-spec: webappsec-fetch-metadata; urlPrefix: https://w3c.github.io/webappsec-fetch-metadata/
-    type: dfn
-        text: Directly User-Initiated Requests; url: directly-user-initiated
-
- - - +spec: credential-management-1; urlPrefix: https://w3c.github.io/webappsec-credential-management/ + type: dfn + text: same-origin with its ancestors; url: same-origin-with-its-ancestors - - - - # Introduction # {#introduction} @@ -98,14 +38,12 @@ script + svg :is(polygon, text) { *This section is non-normative.* -Note: use the introduction from the explainer. +Note: use the following introduction: https://github.com/fedidcg/login-status -# The Login Status API # {#browser-api-login-status} +# Login Status Map # {#hdr-login-status-map} -## Login Status Map ## {#hdr-login-status-map} - Each [=user agent=] keeps a global, persistent Login Status map, an initially empty [=map=]. The [=map/keys=] in this map are [=/origin=] (of [=IDPs=]), and the [=map/values=] are enums that can be one of @@ -127,7 +65,9 @@ value |value|: -## HTTP header API ## {#login-status-http} + +# HTTP header API # {#login-status-http} + [=IDPs=] can set the login status using an HTTP [=response=] [=header=] as follows. @@ -156,7 +96,9 @@ process this header as follows: -## JavaScript API ## {#login-status-javascript} + +# JavaScript API # {#login-status-javascript} + [=IDPs=] can also use a JavaScript API to update the stored login status: @@ -189,7 +131,9 @@ When {{NavigatorLogin/setStatus()}} is called with argument |status|: -## Clearing the Login Status Map data ## {#login-status-clear-data} + +# Clearing the Login Status Map data # {#login-status-clear-data} + User agents MUST also clear the [=Login Status map=] data when: : the user clears all cookies or site settings data @@ -232,30 +176,6 @@ Note: write down the Acknowledgements section.
 {
-  "CM": {
-    "href": "https://w3c.github.io/webappsec-credential-management/",
-    "title": "Credential Management"
-  },
-  "OIDC-Connect-Core": {
-    "href": "https://openid.net/specs/openid-connect-core-1_0.html",
-    "title": "OIDC Connect Core"
-  },
-  "PERMISSIONS-POLICY": {
-    "href": "https://w3c.github.io/webappsec-permissions-policy",
-    "title": "Permissions Policy"
-  },
-  "PRIVACY-MODEL": {
-    "href": "https://github.com/michaelkleber/privacy-model",
-    "title": "Privacy Model"
-  },
-  "PRIVACY-THREAT-MODEL": {
-    "href": "https://w3cping.github.io/privacy-threat-model/",
-    "title": "Target Privacy Threat Model"
-  },
-  "RFC7258": {
-    "href": "https://datatracker.ietf.org/doc/html/rfc7258",
-    "title": "Pervasive Monitoring Is an Attack"
-  }
 }