Skip to content

Commit

Permalink
fix: various typos (mdn#25560)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored Mar 23, 2023
1 parent 1b1c7a6 commit 7feb9e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/api/fedcm_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Affected identity federation use cases that rely on third-party cookies:
- Personalized buttons: The display of personalized sign in information on a {{htmlelement("button")}} in the RP origin is implemented as an IdP `<iframe>` that requires third party cookies.
- Session Refresh without top-level navigation or popups.

FedCM aims to work around this problem, providing a dedicated machanism for federated identity flows on the web, and enabling supporting browsers to provide special UI elements on RPs, allowing users to choose an IdP account to use for sign-in.
FedCM aims to work around this problem, providing a dedicated mechanism for federated identity flows on the web, and enabling supporting browsers to provide special UI elements on RPs, allowing users to choose an IdP account to use for sign-in.

There are two sides to using the FedCM API — IdP integration with FedCM, and RP sign-in using the JavaScript API.

Expand All @@ -53,7 +53,7 @@ For example, if the IdP endpoints are served under `https://accounts.idp.example
}
```

The `provider_urls` member should contain an array of URLs pointing to valid IdP config files that can be used by RPs to inteact with the IdP. The array length is current limited to one.
The `provider_urls` member should contain an array of URLs pointing to valid IdP config files that can be used by RPs to interact with the IdP. The array length is current limited to one.

### Provide a config file

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/selection/empty/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This example displays a message when something is selected on the page or not. I
```js
const log = document.getElementById("log");

// The selection object is a singleton associated with the docuemnt
// The selection object is a singleton associated with the document
const selection = document.getSelection();

// Logs if there is a selection or not
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/selection/removeallranges/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This example displays a message when something is selected on the page or not. I
```js
const log = document.getElementById("log");

// The selection object is a singleton associated with the docuemnt
// The selection object is a singleton associated with the document
const selection = document.getSelection();

// Logs if there is a selection or not
Expand Down

0 comments on commit 7feb9e1

Please sign in to comment.