Intermittent dom/svg/test/test_pointer-events-3.xhtml | single tracking bug
Categories
(Core :: SVG, defect, P5)
Tracking
()
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure, intermittent-testcase)
Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=464036142&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/U5_8KjvRRiCjfwLXMusrBg/runs/0/artifacts/public/logs/live_backing.log
[task 2024-06-26T05:33:15.530Z] 05:33:15 INFO - TEST-START | dom/svg/test/test_pointer-events-3.xhtml
[task 2024-06-26T05:33:15.594Z] 05:33:15 INFO - TEST-INFO | started process screenshot
[task 2024-06-26T05:33:16.537Z] 05:33:16 INFO - TEST-INFO | screenshot: exit 0
[task 2024-06-26T05:33:16.540Z] 05:33:16 INFO - TEST-UNEXPECTED-FAIL | dom/svg/test/test_pointer-events-3.xhtml | Top of circle should hit - got null, expected [object SVGCircleElement]
[task 2024-06-26T05:33:16.540Z] 05:33:16 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:509:14
[task 2024-06-26T05:33:16.540Z] 05:33:16 INFO - run@dom/svg/test/test_pointer-events-3.xhtml?currentTestURL=dom%2Fsvg%2Ftest%2Ftest_pointer-events-3.xhtml&closeWhenDone=1&showTestReport=false&expected=pass:24:5
[task 2024-06-26T05:33:16.540Z] 05:33:16 INFO - onload@dom/svg/test/test_pointer-events-3.xhtml?currentTestURL=dom%2Fsvg%2Ftest%2Ftest_pointer-events-3.xhtml&closeWhenDone=1&showTestReport=false&expected=pass:1:1
[task 2024-06-26T05:33:16.541Z] 05:33:16 INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-26T05:33:16.542Z] 05:33:16 INFO - TEST-UNEXPECTED-FAIL | dom/svg/test/test_pointer-events-3.xhtml | Right of circle should hit - got null, expected [object SVGCircleElement]
[task 2024-06-26T05:33:16.542Z] 05:33:16 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:509:14
[task 2024-06-26T05:33:16.542Z] 05:33:16 INFO - run@dom/svg/test/test_pointer-events-3.xhtml?currentTestURL=dom%2Fsvg%2Ftest%2Ftest_pointer-events-3.xhtml&closeWhenDone=1&showTestReport=false&expected=pass:27:5
[task 2024-06-26T05:33:16.542Z] 05:33:16 INFO - onload@dom/svg/test/test_pointer-events-3.xhtml?currentTestURL=dom%2Fsvg%2Ftest%2Ftest_pointer-events-3.xhtml&closeWhenDone=1&showTestReport=false&expected=pass:1:1
[task 2024-06-26T05:33:16.543Z] 05:33:16 INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-26T05:33:16.544Z] 05:33:16 INFO - TEST-UNEXPECTED-FAIL | dom/svg/test/test_pointer-events-3.xhtml | Bottom of circle should hit - got null, expected [object SVGCircleElement]
[task 2024-06-26T05:33:16.544Z] 05:33:16 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:509:14
[task 2024-06-26T05:33:16.544Z] 05:33:16 INFO - run@dom/svg/test/test_pointer-events-3.xhtml?currentTestURL=dom%2Fsvg%2Ftest%2Ftest_pointer-events-3.xhtml&closeWhenDone=1&showTestReport=false&expected=pass:30:5
[task 2024-06-26T05:33:16.544Z] 05:33:16 INFO - onload@dom/svg/test/test_pointer-events-3.xhtml?currentTestURL=dom%2Fsvg%2Ftest%2Ftest_pointer-events-3.xhtml&closeWhenDone=1&showTestReport=false&expected=pass:1:1
[task 2024-06-26T05:33:16.545Z] 05:33:16 INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-26T05:33:16.547Z] 05:33:16 INFO - TEST-UNEXPECTED-FAIL | dom/svg/test/test_pointer-events-3.xhtml | Left of circle should hit - got null, expected [object SVGCircleElement]
[task 2024-06-26T05:33:16.547Z] 05:33:16 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:509:14
[task 2024-06-26T05:33:16.547Z] 05:33:16 INFO - run@dom/svg/test/test_pointer-events-3.xhtml?currentTestURL=dom%2Fsvg%2Ftest%2Ftest_pointer-events-3.xhtml&closeWhenDone=1&showTestReport=false&expected=pass:33:5
[task 2024-06-26T05:33:16.547Z] 05:33:16 INFO - onload@dom/svg/test/test_pointer-events-3.xhtml?currentTestURL=dom%2Fsvg%2Ftest%2Ftest_pointer-events-3.xhtml&closeWhenDone=1&showTestReport=false&expected=pass:1:1
[task 2024-06-26T05:33:16.547Z] 05:33:16 INFO - GECKO(4936) | MEMORY STAT | vsize 624MB | vsizeMaxContiguous 1806MB | residentFast 99MB | heapAllocated 9MB
[task 2024-06-26T05:33:16.548Z] 05:33:16 INFO - TEST-OK | dom/svg/test/test_pointer-events-3.xhtml | took 86ms
Comment 1•2 years ago
|
||
The failures quoted in comment 0 are things like "Top of circle should hit - got null, expected [object SVGCircleElement]" which corresponds to this in the test:
https://searchfox.org/mozilla-central/rev/56dd89bcf4d3b85f66621e89eac6e2936ad382d9/dom/svg/test/test_pointer-events-3.xhtml#23-24
var elementFromPoint = document.elementFromPoint(originX + 150, originY + 52);
is(elementFromPoint, circle, "Top of circle should hit");
The test does this hit-testing using document.elementFromPoint. The fact that it's returning null means Firefox thinks the hit coordinates are outside of the viewport, I think? At least, on MDN for this element, that's the only mention of null:
If the specified point is outside the visible bounds of the document or either coordinate is negative, the result is null.
https://developer.mozilla.org/en-US/docs/Web/API/Document/elementFromPoint
Comment 2•2 years ago
|
||
(We can poke more if this happens more often. This feels like it could be some sort of race condition with getting the iframe set up with the right viewport size, or something like that.)
| Comment hidden (Intermittent Failures Robot) |
Comment 4•1 year ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Description
•