Open
Bug 1987776
Opened 4 months ago
Updated 4 months ago
Console.error: "Failed to broadcast a command to browsingContext 14" (new TypeError("Cu.setSandboxLocaleOverride is not a function", "chrome://remote/content/webdriver-bidi/modules/windowglobal/emulation.sys.mjs", 58))
Categories
(Remote Protocol :: WebDriver BiDi, defect, P3)
Remote Protocol
WebDriver BiDi
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:backlog])
Running the Playwright test page/page-history.spec.ts › regression test for issue 20791 shows this error in the logs:
Here an excerpt:
pw:browser [pid=87674][out] 1757446950923 RemoteAgent TRACE [39e4d057-cda0-4466-8b0e-46a4d3a5c999] Navigation committed for url: http://localhost:8907/main.html (fdb437d4-9e23-475d-b3cc-bc9f9e8b6a97) +0ms
pw:browser [pid=87674][out] 1757446950923 RemoteAgent TRACE Received command script.evaluateExpression for destination WINDOW_GLOBAL +0ms
pw:browser [pid=87674][out] 1757446950923 RemoteAgent DEBUG WebDriverBiDiConnection 66314fba-b4d8-4596-92d2-fe89b78bff8a <- {"type":"event","method":"browsingContext.navigationCommitted","params":{"context":"39e4d057-cda0-4466-8b0e-46a4d3a5c999","navigation":"fdb437d4-9e23-475d-b3cc-bc9f9e8b6a97","timestamp":1757446950923,"url":"http://localhost:8907/main.html"}} +0ms
pw:browser [pid=87674][out] 1757446950923 RemoteAgent TRACE Received command emulation._setLocaleForBrowsingContext for destination ROOT +0ms
pw:browser [pid=87674][out] 1757446950923 RemoteAgent TRACE Received command emulation._setLocaleOverrideToSandboxes for destination WINDOW_GLOBAL +0ms
pw:browser [pid=87674][out] 1757446950923 RemoteAgent TRACE Received command network._setDecodedBodySize for destination ROOT +1ms
pw:browser [pid=87674][out] 1757446950923 RemoteAgent TRACE network.interceptEvent returned null, skipping event: network._beforeStopRequest, data: [object Object] +0ms
pw:browser [pid=87674][out] 1757446950924 RemoteAgent DEBUG WebDriverBiDiConnection 66314fba-b4d8-4596-92d2-fe89b78bff8a <- {"type":"event","method":"script.realmCreated","params":{"realm":"ab30c13e-1ff8-4c6b-8ebd-da885c7cea41","origin":"http://localhost:8907","context":"39e4d057-cda0-4466-8b0e-46a4d3a5c999","type":"window","sandbox":"__playwright_utility_world__"}} +0ms
pw:browser [pid=87674][out] 1757446950924 RemoteAgent TRACE Received command emulation._setLocaleOverrideToSandboxes for destination WINDOW_GLOBAL +0ms
pw:browser [pid=87674][out] 1757446950924 RemoteAgent DEBUG WebDriverBiDiConnection 66314fba-b4d8-4596-92d2-fe89b78bff8a <- {"type":"success","id":15,"result":{"realm":"ab30c13e-1ff8-4c6b-8ebd-da885c7cea41","type":"success","result":{"type":"number","value":2}}} +0ms
pw:browser [pid=87674][out] console.error: "Failed to broadcast a command to browsingContext 14" (new TypeError("Cu.setSandboxLocaleOverride is not a function", "chrome://remote/content/webdriver-bidi/modules/windowglobal/emulation.sys.mjs", 58)) +0ms
pw:browser [pid=87674][out] 1757446950924 RemoteAgent TRACE Received command browsingContext._updateNavigableViewport for destination ROOT +0ms
pw:browser [pid=87674][out] 1757446950925 RemoteAgent DEBUG WebDriverBiDiConnection 66314fba-b4d8-4596-92d2-fe89b78bff8a <- {"type":"event","method":"browsingContext.contextCreated","params":{"children":null,"context":"15032385538","originalOpener":null,"url":"about:blank","userContext":"daa63591-b45e-49f1-ba8b-4c560f54a286","clientWindow":"739008f0-25a2-4b0b-aa5d-9778e7fac807","parent":"39e4d057-cda0-4466-8b0e-46a4d3a5c999"}} +1ms
Maybe it's only log pollution due to a short lived realm, but it might be good to check.
| Reporter | ||
Updated•4 months ago
|
Severity: -- → S3
Priority: -- → P3
Whiteboard: [webdriver:backlog]
You need to log in
before you can comment on or make changes to this bug.
Description
•