[FedCM] Rename LogoutRps -> LogoutRPs
Bug: 1346079
Change-Id: I8d8fcc122866d4b01fac806aa8193a9d03ad6fd6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3777601
Reviewed-by: Yi Gu <yigu@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1027267}
diff --git a/credential-management/fedcm-logout-rps.https.html b/credential-management/fedcm-logout-rps.https.html
index 6e97239..9c8d2c1 100644
--- a/credential-management/fedcm-logout-rps.https.html
+++ b/credential-management/fedcm-logout-rps.https.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8">
-<title>IdentityCredential.logoutRps() promise resolution</title>
+<title>IdentityCredential.logoutRPs() promise resolution</title>
<link rel="author" title="Peter Kotwicz" href="mailto:pkotwicz@chromium.org">
<link rel="help" href="https://wicg.github.io/FedCM/#browser-api-idp-sign-out">
<script src="/resources/testharness.js"></script>
@@ -12,24 +12,24 @@
fedcm_test(async (t, mock) => {
mock.logoutRpsReturn("kError");
return promise_rejects_dom(t, "NetworkError",
- IdentityCredential.logoutRps([{
+ IdentityCredential.logoutRPs([{
accountId: "1234",
url: "https://rp.example/logout.php"
}])
);
- }, "IdentityCredential.logoutRps() error.");
+ }, "IdentityCredential.logoutRPs() error.");
fedcm_test(async (t, mock) => {
mock.logoutRpsReturn("kSuccess");
- await IdentityCredential.logoutRps([{
+ await IdentityCredential.logoutRPs([{
accountId: "1234",
url: "https://rp.example/logout.php"
}]);
- }, "IdentityCredential.logoutRps() success.");
+ }, "IdentityCredential.logoutRPs() success.");
fedcm_test(async (t, mock) => {
return promise_rejects_dom(t, "NetworkError",
- IdentityCredential.logoutRps([{
+ IdentityCredential.logoutRPs([{
accountId: "1234",
url: "https://other-rp.example/logout.php"
}])