perf-test: update for latest substitutions in cool.html.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com> Change-Id: I220d30074c412fe849f746bc7722d5f896544b1c
This commit is contained in:
parent
7ed490700b
commit
91863875a7
1 changed files with 4 additions and 1 deletions
|
@ -74,6 +74,7 @@ if (ssl_flag === 'true')
|
|||
data = data.replace(/%HOST%/g, `wss://localhost:${port}`);
|
||||
else
|
||||
data = data.replace(/%HOST%/g, `ws://localhost:${port}`);
|
||||
data = data.replace(/%HEXIFY_URL%/g, '""');
|
||||
data = data.replace(/%ACCESS_TOKEN%/g, '');
|
||||
data = data.replace(/%ACCESS_TOKEN_TTL%/g, '0');
|
||||
data = data.replace(/%ACCESS_HEADER%/g, '');
|
||||
|
@ -92,13 +93,15 @@ data = data.replace(/%PROTOCOL_DEBUG%/g, 'true');
|
|||
data = data.replace(/%FRAME_ANCESTORS%/g, '');
|
||||
data = data.replace(/%SOCKET_PROXY%/g, 'false');
|
||||
data = data.replace(/%UI_DEFAULTS%/g, '{}');
|
||||
data = data.replace(/%HEXIFY_URL%/g, '""');
|
||||
data = data.replace(/%CHECK_FILE_INFO_OVERRIDE%/g, 'false');
|
||||
data = data.replace(/%DEEPL_ENABLED%/g, 'false');
|
||||
data = data.replace(/%ZOTERO_ENABLED%/g, 'false');
|
||||
data = data.replace(/%SAVED_UI_STATE%/g, 'false');
|
||||
data = data.replace(/%WASM_ENABLED%/g, 'false');
|
||||
data = data.replace(/%INDIRECTION_URL%/g, '');
|
||||
|
||||
data = data.replace(/%BRANDING_THEME%/g, 'cool_brand');
|
||||
|
||||
window = new JSDOM(data, {
|
||||
runScripts: 'dangerously',
|
||||
verbose: false,
|
||||
|
|
Loading…
Reference in a new issue