(wsUrl)
| 581 | ? window.__conclaveGetVideoEffectsFrameMetadataDebug() |
| 582 | : window.__conclaveVideoEffectsFrameMetadataDebug ?? null, |
| 583 | meetVideoDebug: |
| 584 | typeof window.__conclaveGetMeetVideoDebug === "function" |
| 585 | ? window.__conclaveGetMeetVideoDebug() |
| 586 | : window.__conclaveMeetVideoDebug ?? null, |
| 587 | buttons, |
| 588 | }; |
| 589 | })()`; |
| 590 | |
| 591 | const collectProbe = async (cdp) => { |
| 592 | try { |
| 593 | return await evalValue(cdp, pageProbeExpression, 3000); |
| 594 | } catch (error) { |
| 595 | return { |
| 596 | error: error instanceof Error ? error.message : String(error), |
| 597 | }; |
| 598 | } |
| 599 | }; |
| 600 | |
| 601 | const isGenericErrorPageProbe = (probe) => { |
| 602 | const bodyText = String(probe?.bodyText ?? ""); |
| 603 | return ( |
| 604 | /something went wrong/i.test(bodyText) || |
nothing calls this directly
no test coverage detected