[wpt-sync] Sync PR 33051 - Reland "[FedCM] Make privacy policy url required"
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 33051 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33051
Details from upstream follow.
Nicolás Peña Moreno <npm@chromium.org> wrote:
Reland "[FedCM] Make privacy policy url required"
This is a reland of commit 09408255f5fc40e54ce586e5f3e4048dd87a6f58
Original change's description:
[FedCM] Make privacy policy url required
Currently we allow no privacy policy url to be specified in the client
metadata. This CL changes that by surfacing an error if the JSON parser
returns an empty value for |privacy_policy_url|. We also sanity check
the privacy policy, and if it is an invalid URL then reject. In order to
properly surface the problem about missing privacy policy, we add a
specific console error message. We also add a new value to the
FederatedAuthRequestIssueReason so that a similar message can be
displayed in the Issues panel.Bug: 1293913
Change-Id: I5dbb6e6a1005db33dccafb7977fb7cced8f871d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3499232
Reviewed-by: Yi Gu \<yigu@chromium.org>
Reviewed-by: Andrey Kosyakov \<caseq@chromium.org>
Reviewed-by: Christian Biesinger \<cbiesinger@chromium.org>
Reviewed-by: Ken Buchanan \<kenrb@chromium.org>
Commit-Queue: Nicolás Peña \<npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#977304}Bug: 1293913
Change-Id: If7eb1ce808ba0fa995cb5b7be13e5bd5120e20bb
Reviewed-on: https://chromium-review.googlesource.com/3498729
WPT-Export-Revision: 02adb23893600f9ef30e60f0d5adadf466eecb37
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Comment 6•3 years ago
|
||
bugherder |
Description
•