Skip to content

Fix grammar in checkOrigin error message - #1572

Merged
davidjbradshaw merged 3 commits into
devfrom
copilot/sub-pr-1570-again
Feb 9, 2026
Merged

Fix grammar in checkOrigin error message#1572
davidjbradshaw merged 3 commits into
devfrom
copilot/sub-pr-1570-again

Conversation

Copilot AI commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

Corrects grammar error in the checkOrigin validation error message.

Changes:

  • Fixed error message text from "by providing of array of trusted domains" to "by providing an array of trusted domains"

The error message is thrown when an iframe message is received from an untrusted origin:

throw new Error(
  `Unexpected message received from: ${origin} for ${id}. Message was: ${data}. This error can be disabled by setting the checkOrigin: false option or by providing an array of trusted domains.`,
)

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: davidjbradshaw <591634+davidjbradshaw@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback on V6 pull request adjustments Fix grammar in checkOrigin error message Feb 9, 2026
Copilot AI requested a review from davidjbradshaw February 9, 2026 11:49
@davidjbradshaw
davidjbradshaw marked this pull request as ready for review February 9, 2026 11:57
@davidjbradshaw
davidjbradshaw merged commit be48278 into dev Feb 9, 2026
1 check passed
@davidjbradshaw
davidjbradshaw deleted the copilot/sub-pr-1570-again branch February 9, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants