File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -292,14 +292,21 @@ export function getWombatInfo(
292292 // The host of the original url
293293 wombat_host : orig_host ,
294294
295- // Extra options ?
296- wombat_opts : { } ,
295+ // We are not running inside a service worker, wombat needs to know about it since
296+ // some "magic" URLs like blobs are not available
297+ isSW : false ,
297298
298- // ?
299- enable_auto_fetch : true ,
299+ // Convert all post request to get request
300300 convert_post_to_get : true ,
301+
302+ // Not used, we are not replaying in a frame
301303 target_frame : '___wb_replay_top_frame' ,
302- isSW : true ,
304+
305+ // Not used, we are not running in live mode
306+ enable_auto_fetch : false ,
307+
308+ // Extra options, not used
309+ wombat_opts : { } ,
303310 } ;
304311}
305312
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ test('nominalWbInfo', (t) => {
2121 ) ;
2222 t . is ( wmInfo . coll , '' ) ;
2323 t . is ( wmInfo . convert_post_to_get , true ) ;
24- t . is ( wmInfo . enable_auto_fetch , true ) ;
25- t . is ( wmInfo . isSW , true ) ;
24+ t . is ( wmInfo . enable_auto_fetch , false ) ;
25+ t . is ( wmInfo . isSW , false ) ;
2626 t . is ( wmInfo . is_framed , false ) ;
2727 t . is ( wmInfo . is_live , false ) ;
2828 t . is ( wmInfo . mod , '' ) ;
You can’t perform that action at this time.
0 commit comments