Bug: Intermittent browser/components/customizableui/test/browser_927717_customize_drag_empty_toolbar.js | Uncaught exception in test - at chrome://*/EventUtils.js:2817 - Error: No data transfer object after synthesizing the mouse!
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-03-04 18:57:25+00:00
Resolved: 2024-06-05 12:03:12+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=369985135&repo=mozilla-beta
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GjtE-8lGQ2OE4POu1j3Xsg/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2022-03-04T17:57:30.121Z] 17:57:30     INFO - TEST-START | browser/components/customizableui/test/browser_927717_customize_drag_empty_toolbar.js
[task 2022-03-04T17:57:30.150Z] 17:57:30     INFO - GECKO(8736) | JavaScript error: resource:///modules/UrlbarInput.jsm, line 2994: TypeError: event.target.closest is not a function
[task 2022-03-04T17:57:30.171Z] 17:57:30     INFO - TEST-INFO | started process screenshot
[task 2022-03-04T17:57:30.283Z] 17:57:30     INFO - TEST-INFO | screenshot: exit 0
[task 2022-03-04T17:57:30.283Z] 17:57:30     INFO - Buffered messages logged at 17:57:30
[task 2022-03-04T17:57:30.288Z] 17:57:30     INFO - Entering test bound 
[task 2022-03-04T17:57:30.288Z] 17:57:30     INFO - Buffered messages finished
[task 2022-03-04T17:57:30.290Z] 17:57:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_927717_customize_drag_empty_toolbar.js | Uncaught exception in test - at chrome://mochikit/content/tests/SimpleTest/EventUtils.js:2817 - Error: No data transfer object after synthesizing the mouse!
[task 2022-03-04T17:57:30.290Z] 17:57:30     INFO - Stack trace:
[task 2022-03-04T17:57:30.290Z] 17:57:30     INFO - synthesizeDragOver@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:2817:11
[task 2022-03-04T17:57:30.290Z] 17:57:30     INFO - synthesizeDrop@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:2939:52
[task 2022-03-04T17:57:30.290Z] 17:57:30     INFO - simulateItemDrag@chrome://mochitests/content/browser/browser/components/customizableui/test/head.js:228:17
[task 2022-03-04T17:57:30.290Z] 17:57:30     INFO - @chrome://mochitests/content/browser/browser/components/customizableui/test/browser_927717_customize_drag_empty_toolbar.js:15:19
[task 2022-03-04T17:57:30.290Z] 17:57:30     INFO - Leaving test bound 
[task 2022-03-04T17:57:30.291Z] 17:57:30     INFO - Entering test bound asyncCleanup
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - Console message: [JavaScript Error: "TypeError: event.target.closest is not a function" {file: "resource:///modules/UrlbarInput.jsm" line: 2994}]
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - _on_mousedown@resource:///modules/UrlbarInput.jsm:2994:26
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - handleEvent@resource:///modules/UrlbarInput.jsm:426:23
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - synthesizeMouseAtPoint@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:628:32
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - synthesizeMouse@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:562:10
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - synthesizeMouseAtCenter@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:735:10
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - synthesizeDragOver@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:2805:26
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - synthesizeDrop@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:2939:52
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - simulateItemDrag@chrome://mochitests/content/browser/browser/components/customizableui/test/head.js:228:17
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - @chrome://mochitests/content/browser/browser/components/customizableui/test/browser_927717_customize_drag_empty_toolbar.js:15:19
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - 
[task 2022-03-04T17:57:30.293Z] 17:57:30     INFO - Leaving test bound asyncCleanup
[task 2022-03-04T17:57:30.294Z] 17:57:30     INFO - GECKO(8736) | MEMORY STAT | vsize 2112499MB | vsizeMaxContiguous 65776821MB | residentFast 330MB | heapAllocated 153MB
[task 2022-03-04T17:57:30.294Z] 17:57:30     INFO - TEST-OK | browser/components/customizableui/test/browser_927717_customize_drag_empty_toolbar.js | took 88ms
[task 2022-03-04T17:57:30.295Z] 17:57:30     INFO - checking window state
[task 2022-03-04T17:57:30.295Z] 17:57:30     INFO - TEST-START | browser/components/customizableui/test/browser_934113_menubar_removable.js
```