Closed Bug 1602610 Opened 4 years ago Closed 4 years ago

Intermittent dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | keyCode value of 'a' should be 0 - got 97, expected +0

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: masayuki)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=280366721&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bauaBhVWR1aHQuHSMkhjRg/runs/0/artifacts/public/logs/live_backing.log


[task 2019-12-09T22:03:03.961Z] 22:03:03 INFO - TEST-START | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html
[task 2019-12-09T22:03:03.961Z] 22:03:03 INFO - GECKO(2228) | [Child 2230, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/workspace/build/src/dom/base/Document.cpp, line 5036
[task 2019-12-09T22:03:03.961Z] 22:03:03 INFO - GECKO(2228) | [Parent 2228, Main Thread] WARNING: we only accept nsIURI interface type, patch welcome: file /builds/worker/workspace/build/src/dom/ipc/PropertyBagUtils.cpp, line 112
[task 2019-12-09T22:03:04.011Z] 22:03:04 INFO - TEST-INFO | started process screencapture
[task 2019-12-09T22:03:04.193Z] 22:03:04 INFO - TEST-INFO | screencapture: exit 0
[task 2019-12-09T22:03:04.193Z] 22:03:04 INFO - Buffered messages logged at 22:03:03
[task 2019-12-09T22:03:04.193Z] 22:03:04 INFO - must wait for load
[task 2019-12-09T22:03:04.194Z] 22:03:04 INFO - Buffered messages finished
[task 2019-12-09T22:03:04.194Z] 22:03:04 INFO - TEST-UNEXPECTED-FAIL | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | keyCode value of 'a' should be 0 - got 97, expected +0
[task 2019-12-09T22:03:04.194Z] 22:03:04 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:325:16
[task 2019-12-09T22:03:04.194Z] 22:03:04 INFO - doTests@dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html:33:5
[task 2019-12-09T22:03:04.194Z] 22:03:04 INFO - asyncfocusedOrLoaded/<@SimpleTest/SimpleTest.js:808:67
[task 2019-12-09T22:03:04.194Z] 22:03:04 INFO - TEST-PASS | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | charCode value of 'a' should be 'a'
[task 2019-12-09T22:03:04.194Z] 22:03:04 INFO - TEST-PASS | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | keyCode value of 'Enter' should be DOM_VK_RETURN
[task 2019-12-09T22:03:04.195Z] 22:03:04 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-12-09T22:03:04.195Z] 22:03:04 INFO - TEST-UNEXPECTED-FAIL | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | charCode value of 'Enter' should be 0 - got 13, expected +0
[task 2019-12-09T22:03:04.195Z] 22:03:04 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:325:16
[task 2019-12-09T22:03:04.195Z] 22:03:04 INFO - doTests@dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html:42:5
[task 2019-12-09T22:03:04.195Z] 22:03:04 INFO - async
focusedOrLoaded/<@SimpleTest/SimpleTest.js:808:67
[task 2019-12-09T22:03:04.195Z] 22:03:04 INFO - TEST-PASS | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | keyCode value of 'a' in the parent document should be 'a'
[task 2019-12-09T22:03:04.195Z] 22:03:04 INFO - TEST-PASS | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | charCode value of 'a' in the parent document should be 'a'
[task 2019-12-09T22:03:04.196Z] 22:03:04 INFO - TEST-PASS | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | keyCode value of 'Enter' in the parent document should be DOM_VK_RETURN
[task 2019-12-09T22:03:04.196Z] 22:03:04 INFO - TEST-PASS | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | charCode value of 'Enter' in the parent document should be DOM_VK_RETURN
[task 2019-12-09T22:03:04.196Z] 22:03:04 INFO - GECKO(2228) | MEMORY STAT | vsize 7399MB | residentFast 188MB | heapAllocated 39MB
[task 2019-12-09T22:03:04.196Z] 22:03:04 INFO - TEST-OK | dom/events/test/test_use_split_keypress_event_model_on_old_Office_Online_Server.html | took 168ms
[task 2019-12-09T22:03:04.197Z] 22:03:04 INFO - GECKO(2228) | [Parent 2228, Main Thread] WARNING: we only accept nsIURI interface type, patch welcome: file /builds/worker/workspace/build/src/dom/ipc/PropertyBagUtils.cpp, line 112

Assignee: nobody → masayuki
Status: NEW → ASSIGNED

It's a testcase for Office Online Server duplicated from test_bug1514940.html.
The original test listens to CheckKeyPressEventModel event which is fired
when the keypress event model is changed from the default mode. Therefore,
this test also needs to listen to the event for avoiding intermittent failure
which is caused by running the tests before the mode change.

However, unfortunately, for keeping the performance of web apps which don't
need our mode changes, we can check the event only on debug build. Therefore,
this patch makes the test run only on debug build.

Finally, this patch renames test_bug154940.html too because it tests
special behavior on specific web app and the new test name explains it like
the test for Office Online Server.

Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/63265678877b
Make `test_use_split_keypress_event_model_on_old_Office_Online_Servier.html` listen to `CheckKeyPressEventModel` event for avoiding intermittent failure r=smaug
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: