src/vs/server/node/remoteExtensionHostAgentServer.ts/WebEndpointOriginChecker/matches
class WebEndpointOriginChecker:	public matches(origin: string): boolean {
		if (!this._originRegExp) {
			return false;
		}
		return this._originRegExp.test(origin);
	}