Skip to content

Commit 0da91d1

Browse files
committed
Update cutoff
1 parent 8d9b47a commit 0da91d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/common.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2742,8 +2742,10 @@ def run_browser(self, html_file, expected=None, message=None, timeout=None, extr
27422742
print('[browser launch:', html_file, ']')
27432743
assert not (message and expected), 'run_browser expects `expected` or `message`, but not both'
27442744

2745+
# Accurate version cutoff is not known.
27452746
# Needed at least for version Safari Version 17.6 (17618.3.11.11.7, 17618)
2746-
if is_safari() and get_safari_version() < 180000: # TODO: Find accurate version cutoff
2747+
# Not needed for Safari Version 18.5 (20621.2.5.11.8)
2748+
if is_safari() and get_safari_version() < 180500:
27472749
# Old Safari cannot handle running multiple browser pages in the same browser instance
27482750
# So restart the browser between each browser test.
27492751
self.browser_restart()

0 commit comments

Comments
 (0)