Skip to content

Commit bc25e2f

Browse files
author
maebahesioru
committed
fix: remove javascript.options.mem.max and dom.serviceWorkers.enabled prefs (caused Browser.new_context timeout)
1 parent 92dcdc8 commit bc25e2f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/launch_camoufox.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,13 +506,10 @@ def determine_proxy_configuration(internal_camoufox_proxy_arg=None):
506506
# Disable WebGL (not needed for AI Studio)
507507
'webgl.disabled': True,
508508
'webgl.enable-webgl2': False,
509-
# Cap JS heap
510-
'javascript.options.mem.max': 512,
511509
# Reduce HTTP connections
512510
'network.http.max-connections': 6,
513511
'network.http.max-persistent-connections-per-server': 2,
514-
# Disable service workers / push / notifications
515-
'dom.serviceWorkers.enabled': False,
512+
# Disable push / notifications
516513
'dom.push.enabled': False,
517514
'dom.webnotifications.enabled': False,
518515
# Reduce session store overhead

0 commit comments

Comments
 (0)