()
| 408 | |
| 409 | # check if we are in a worker or not |
| 410 | def is_in_browser_main_thread() -> bool: |
| 411 | return hasattr(js, "window") and hasattr(js, "self") and js.self == js.window |
| 412 | |
| 413 | |
| 414 | def is_cross_origin_isolated() -> bool: |
no outgoing calls
no test coverage detected