MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / is_chrome

Function is_chrome

test/browser_common.py:319–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

317
318
319def is_chrome():
320 return EMTEST_BROWSER and any(pattern in EMTEST_BROWSER.lower() for pattern in CHROMIUM_BASED_BROWSERS)
321
322
323def is_firefox():

Callers 11

is_swiftshaderFunction · 0.90
test_browser.pyFile · 0.90
require_jspiMethod · 0.90
test_preload_cachingMethod · 0.90
test_html5_webgl_apiMethod · 0.90
test_asyncMethod · 0.90
test_embindMethod · 0.90
get_browser_configFunction · 0.85
configure_test_browserFunction · 0.85

Calls 1

lowerMethod · 0.80

Tested by 8

is_swiftshaderFunction · 0.72
require_jspiMethod · 0.72
test_preload_cachingMethod · 0.72
test_html5_webgl_apiMethod · 0.72
test_asyncMethod · 0.72
test_embindMethod · 0.72