Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
319
def
is_chrome():
320
return
EMTEST_BROWSER and any(pattern in EMTEST_BROWSER.lower()
for
pattern in CHROMIUM_BASED_BROWSERS)
321
322
323
def
is_firefox():
Callers
11
is_swiftshader
Function · 0.90
test_browser.py
File · 0.90
require_jspi
Method · 0.90
test_preload_caching
Method · 0.90
test_html5_webgl_api
Method · 0.90
test_async
Method · 0.90
test_embind
Method · 0.90
test_cross_origin_storage_fallback
Method · 0.90
test_cross_origin_storage_miss_then_hit
Method · 0.90
get_browser_config
Function · 0.85
configure_test_browser
Function · 0.85
Calls
1
lower
Method · 0.80
Tested by
8
is_swiftshader
Function · 0.72
require_jspi
Method · 0.72
test_preload_caching
Method · 0.72
test_html5_webgl_api
Method · 0.72
test_async
Method · 0.72
test_embind
Method · 0.72
test_cross_origin_storage_fallback
Method · 0.72
test_cross_origin_storage_miss_then_hit
Method · 0.72