You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no_swiftshader=skip_if_simple('not compatible with swiftshader', is_swiftshader)
@@ -232,7 +235,7 @@ def decorator(f):
232
235
@wraps(f)
233
236
defdecorated(self, *args, **kwargs):
234
237
ifshould_skip=='error':
235
-
raiseException(f'This test requires a browser that supports {feature.name} but your browser {common.EMTEST_BROWSER} does not support this. Run with {skip_env_var}=1 or EMTEST_AUTOSKIP=1 to skip this test automatically.')
238
+
raiseException(f'This test requires a browser that supports {feature.name} but your browser {get_browser()} does not support this. Run with {skip_env_var}=1 or EMTEST_AUTOSKIP=1 to skip this test automatically.')
236
239
elifshould_skip:
237
240
self.skip_exec=message
238
241
f(self, *args, **kwargs)
@@ -265,7 +268,7 @@ class browser(BrowserCore):
265
268
defsetUpClass(cls):
266
269
super().setUpClass()
267
270
cls.browser_timeout=60
268
-
ifcommon.EMTEST_BROWSER!='node':
271
+
ifget_browser()!='node':
269
272
print()
270
273
print('Running the browser tests. Make sure the browser allows popups from localhost.')
271
274
print()
@@ -275,7 +278,7 @@ def proxy_to_worker(self):
275
278
276
279
defrequire_jspi(self):
277
280
ifnotis_chrome():
278
-
self.skipTest(f'Current browser ({common.EMTEST_BROWSER}) does not support JSPI. Only chromium-based browsers ({CHROMIUM_BASED_BROWSERS}) support JSPI today.')
281
+
self.skipTest(f'Current browser ({get_browser()}) does not support JSPI. Only chromium-based browsers ({CHROMIUM_BASED_BROWSERS}) support JSPI today.')
self.skipTest(f'Current browser ({common.EMTEST_BROWSER}) does not support JSPI. Only chromium-based browsers ({CHROMIUM_BASED_BROWSERS}) support JSPI today.')
3357
+
self.skipTest(f'Current browser ({get_browser()}) does not support JSPI. Only chromium-based browsers ({CHROMIUM_BASED_BROWSERS}) support JSPI today.')
self.skipTest(f'Current browser ({common.EMTEST_BROWSER}) does not support JSPI. Only chromium-based browsers ({CHROMIUM_BASED_BROWSERS}) support JSPI today.')
5051
+
self.skipTest(f'Current browser ({get_browser()}) does not support JSPI. Only chromium-based browsers ({CHROMIUM_BASED_BROWSERS}) support JSPI today.')
0 commit comments