Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions javascript/src/wombatSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,21 @@ export function getWombatInfo(
// The host of the original url
wombat_host: orig_host,

// Extra options ?
wombat_opts: {},
// We are not running inside a service worker, wombat needs to know about it since
// some "magic" URLs like blobs are not available
isSW: false,

// ?
enable_auto_fetch: true,
// Convert all post request to get request
convert_post_to_get: true,

// Not used, we are not replaying in a frame
target_frame: '___wb_replay_top_frame',
isSW: true,

// Not used, we are not running in live mode
enable_auto_fetch: false,

// Extra options, not used
wombat_opts: {},
};
}

Expand Down
4 changes: 2 additions & 2 deletions javascript/test/wombatSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ test('nominalWbInfo', (t) => {
);
t.is(wmInfo.coll, '');
t.is(wmInfo.convert_post_to_get, true);
t.is(wmInfo.enable_auto_fetch, true);
t.is(wmInfo.isSW, true);
t.is(wmInfo.enable_auto_fetch, false);
t.is(wmInfo.isSW, false);
t.is(wmInfo.is_framed, false);
t.is(wmInfo.is_live, false);
t.is(wmInfo.mod, '');
Expand Down
Loading