Skip to content

Commit

Permalink
[FedCM] Rename federated-credentials permission policy
Browse files Browse the repository at this point in the history
Rename federated-credentials iframe permission policy to
identity-credential-get

BUG=1353477

Change-Id: I07c37f87724c3702e5e51dba49e228973aa3195a
  • Loading branch information
pkotwicz authored and chromium-wpt-export-bot committed Sep 26, 2022
1 parent fcc1c7e commit 1055943
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion credential-management/fedcm-iframe.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
var iframe = document.createElement("iframe");
iframe.src = iframeUrl;
if (setPermissionPolicy) {
iframe.allow = "federated-credentials";
iframe.allow = "identity-credential-get";
}
document.body.appendChild(iframe);
const message = await messageWatcher.wait_for("message");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
var iframe = document.createElement("iframe");
iframe.src = remoteBaseURL + "fedcm-iframe.html";
// No permission specified
// iframe.allow = "federated-credentials";
// iframe.allow = "identity-credential-get";
document.body.appendChild(iframe);
};

Expand Down
2 changes: 1 addition & 1 deletion credential-management/support/fedcm-iframe-level2.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
window.onload = async () => {
var iframe = document.createElement("iframe");
iframe.src = remoteBaseURL + "fedcm-iframe.html";
iframe.allow = "federated-credentials";
iframe.allow = "identity-credential-get";
document.body.appendChild(iframe);
};

Expand Down

0 comments on commit 1055943

Please sign in to comment.