Closed Bug 1930162 Opened 10 months ago Closed 9 months ago

Intermittent /webdriver/tests/bidi/input/perform_actions/navigation.py | test_pointer - webdriver.bidi.error.UnknownErrorException: unknown error ([Exception... "(null)" nsresult: "0x80570027 (NS_ERROR_XPC_SECURITY_MANAGER_VETO)"])

Categories

(Remote Protocol :: WebDriver BiDi, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: whimboo, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: intermittent-failure, intermittent-testcase)

This is a new test as introduced with my work on bug 1921314. It shows that when a navigation happens while we are in the middle of checking if the given target is in the currently visible viewport:

 0:16.51 pid:25370 1731074644864	Marionette	TRACE	Dispatch PointerMoveAction mouse with id: pointer-0 x: 200 y: 200
 0:16.52 pid:25370 1731074644867	RemoteAgent	DEBUG	WebDriverBiDiConnection cb54b1c5-4b6e-4e84-82a3-82615245ac5b <- {"type":"error","id":4,"error":"unknown error","message":"[Exception... \"(null)\"  nsresult: \"0x80570027 (NS_ERROR_XPC_SECURITY_MANAGER_VETO)\"  location: \"JS frame :: chrome://remote/content/shared/webdriver/Actions.sys.mjs :: assertTargetInViewPort :: line 3092\"  data: no]","stacktrace":"assertTargetInViewPort@chrome://remote/content/shared/webdriver/Actions.sys.mjs:3092:29\n#assertInViewPortFromContent@chrome://remote/content/webdriver-bidi/modules/windowglobal/input.sys.mjs:52:17\ndispatch@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1586:11\n"}

The related code in this line is:

if (x < 0 || y < 0 || x > win.innerWidth || y > win.innerHeight) {

Note that this only happens with remote.events.async.enabled turned off, which means all the action related code runs in the content process.
Here we probably want to have a more descriptive error message only because we cannot fix it when running in that mode.

Severity: -- → S3
Points: --- → 2
Priority: -- → P2
Whiteboard: [webdriver:m13]
Depends on: 1930530
Blocks: 1922077
Whiteboard: [webdriver:m13] → [webdriver:m14]
Whiteboard: [webdriver:m14] → [webdriver:m15
Whiteboard: [webdriver:m15 → [webdriver:m15]

Given that we are going to enable the async code pretty soon by default this is code we won't no longer hit unless the user turns off this new feature. Given that I haven't seen this failure for the async code path lets just ignore it. If it might happen for async in the future we can reopen the bug.

Status: NEW → RESOLVED
Points: 2 → ---
Closed: 9 months ago
Priority: P2 → P5
Resolution: --- → INCOMPLETE
Whiteboard: [webdriver:m15]
You need to log in before you can comment on or make changes to this bug.