Closed Bug 1705055 Opened 5 years ago Closed 5 years ago

Cleanup touch-simulator code

Categories

(DevTools :: Responsive Design Mode, task)

task

Tracking

(firefox89 fixed)

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(5 files)

It looks like some code is unused, let's remove it

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED

sendTouchEvent and getDelayBeforeMouseEvent are never used, so
we can safely remove them.

Depends on D112022

  • Move events outside of the class to a EVENTS_TO_HANDLE constant
  • prefix contextMenuTimeout with an underscore

Depends on D112025

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f896188465a7 [devtools] Turn TouchSimulator into a class. r=jdescottes. https://hg.mozilla.org/integration/autoland/rev/85c5766c5332 [devtools] Remove unused TouchSimulator methods. r=jdescottes. https://hg.mozilla.org/integration/autoland/rev/29fdbf6c5c8b [devtools] Remove unused TouchSimulator#synthesizeNativeTouch x and y params. r=jdescottes. https://hg.mozilla.org/integration/autoland/rev/1e99b4709623 [devtools] Remove obsolete code and mention of gaia/firefoxOS in TouchSimulator. r=jdescottes. https://hg.mozilla.org/integration/autoland/rev/a9bf3a2ebb1e [devtools] Small TouchSimulator refactor. r=jdescottes.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: