forked from mirrors/gecko-dev
Bug 1746953 - [remote] Update error message when validating origin header r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D134334
This commit is contained in:
parent
468a65168d
commit
7dbbf9cd8f
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ function processRequest({ requestLine, headers }) {
|
|||
const isTestOrigin = origin === "null" && nullOriginAllowed;
|
||||
if (headers.has("origin") && !isTestOrigin) {
|
||||
throw new Error(
|
||||
`The handshake request has incorrect Host header ${origin}`
|
||||
`The handshake request has incorrect Origin header ${origin}`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue