Julian Descottes 45ba1a81d3 Bug 1755317 - [remote] Only validate origin headers if BiDi is enabled r=webdriver-reviewers,whimboo
When BiDi is disabled, skip the origin header check to support existing CDP clients.

Differential Revision: https://phabricator.services.mozilla.com/D138705
2022-02-16 06:25:35 +00:00
..

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

These files provide functionality for serving and responding to HTTP
requests, and handling WebSocket connections.  For this we rely on
httpd.js and the chrome-only WebSocket.createServerWebSocket function.

Generally speaking, this is all held together with a piece of string.
It is a known problem that we do not have a high-quality HTTPD
implementation in central, and wed like to move away from using
any of this code.