Closed Bug 1562205 Opened 2 years ago Closed 2 years ago

Perma TEST-UNEXPECTED-FAIL | remote/test/browser/browser_input_dispatchKeyEvent.js | Test timed out when Gecko 69 merges to Beta on 2019-07-01


(Remote Protocol :: Agent, defect, P2)



(Not tracked)



(Reporter: malexandru, Assigned: jdescottes)





(1 file)

Central as beta simulation:

Failure log:

[task 2019-06-28T13:19:54.595Z] 13:19:54 INFO - TEST-PASS | remote/test/browser/browser_input_dispatchKeyEvent.js | The input caret has the correct index ("3"="3") -
[task 2019-06-28T13:19:54.595Z] 13:19:54 INFO - Send Left
[task 2019-06-28T13:19:54.599Z] 13:19:54 INFO - Send rawKeyDown for key ArrowLeft
[task 2019-06-28T13:19:54.600Z] 13:19:54 INFO - Send keyUp for key ArrowLeft
[task 2019-06-28T13:19:54.600Z] 13:19:54 INFO - Buffered messages finished
[task 2019-06-28T13:19:54.601Z] 13:19:54 INFO - TEST-UNEXPECTED-FAIL | remote/test/browser/browser_input_dispatchKeyEvent.js | Test timed out -
[task 2019-06-28T13:19:54.601Z] 13:19:54 INFO - GECKO(1080) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 110: uncaught exception: Object
[task 2019-06-28T13:19:54.601Z] 13:19:54 INFO - GECKO(1080) | MEMORY STAT | vsize 20974904MB | residentFast 1030MB
[task 2019-06-28T13:19:54.605Z] 13:19:54 INFO - TEST-OK | remote/test/browser/browser_input_dispatchKeyEvent.js | took 90180ms
[task 2019-06-28T13:19:54.606Z] 13:19:54 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-06-28T13:19:54.606Z] 13:19:54 INFO - TEST-UNEXPECTED-FAIL | remote/test/browser/browser_input_dispatchKeyEvent.js | Found a tab after previous test timed out: data:text/html;charset=utf-8,<input type=text> -
[task 2019-06-28T13:19:54.609Z] 13:19:54 INFO - checking window state
[task 2019-06-28T13:19:54.610Z] 13:19:54 INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 110}]
[task 2019-06-28T13:19:54.612Z] 13:19:54 INFO - TEST-START | remote/test/browser/browser_main_target.js

Julian, this seems to be regressed by Bug 1543142, can you please take a look at it?

Flags: needinfo?(jdescottes)

Sure, thanks for the ping.

It seems that the test times out when we wait for the "selectionchange" event after simulating an arrowLeft.
It turns out that listening to selectionchange on input is behind the pref dom.select_events.textcontrols.enabled , which is Nightly only.

I will force the pref in the test, that should fix the issue.

Assignee: nobody → jdescottes
Flags: needinfo?(jdescottes)
Priority: -- → P2

The test was relying on selectionchange events fired on an input text element.
This event is behind a pref, flip the pref to true during the test in order to make it
pass on all channels

Julian, the patch seems to work, can we get this landed on tree and merged into m-c before tomorrow's merge into beta? Thank you.

Flags: needinfo?(jdescottes)

I suppose I can land it without review since it's test only.
I don't see any other option since it's sunday.

Flags: needinfo?(jdescottes)
Pushed by
Enable selectionchange on inputs for test browser_input_dispatchKeyEvent.js
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.