Skip to content

Commit 294ba7a

Browse files
[wptrunner] Clean up dead debug_args() code for Chrome
1 parent a8cda85 commit 294ba7a

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

Diff for: tools/wptrunner/wptrunner/browsers/chrome.py

-12
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,6 @@
4444
from ..wpttest import Test
4545

4646

47-
def debug_args(debug_info):
48-
if debug_info.interactive:
49-
# Keep in sync with:
50-
# https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/tools/debug_renderer
51-
return [
52-
"--no-sandbox",
53-
"--disable-hang-monitor",
54-
"--wait-for-debugger-on-navigation",
55-
]
56-
return []
57-
58-
5947
def check_args(**kwargs):
6048
require_arg(kwargs, "webdriver_binary")
6149

Diff for: tools/wptrunner/wptrunner/browsers/headless_shell.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from .base import require_arg
44
from .base import get_timeout_multiplier # noqa: F401
5-
from .chrome import ChromeBrowser, debug_args # noqa: F401
5+
from .chrome import ChromeBrowser # noqa: F401
66
from .chrome import executor_kwargs as chrome_executor_kwargs
77
from ..executors.base import WdspecExecutor # noqa: F401
88
from ..executors.executorchrome import ( # noqa: F401

0 commit comments

Comments
 (0)