Closed
Bug 1439288
Opened 6 years ago
Closed 6 years ago
remove unused synthesizeText and synthesizeCompositionEvent functions in event.js
Categories
(Remote Protocol :: Marionette, enhancement)
Tracking
(firefox60 fixed)
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: heycam, Assigned: heycam)
Details
Attachments
(2 files)
The synthesizeText function in event.js doesn't seem to be used, and it currently tries to call the non-existent nsIDOMWindowUtils.sendTextEvent function, which was removed/reworked in bug 911951. I guess we can just remove it? (It would be nice if we had less duplication between testing/marionette/event.js and testing/mochitest/tests/SimpleTest/EventUtils.js.)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → cam
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4e094823f0f13481f07eb14c9ba7033ef2842122
Assignee | ||
Comment 3•6 years ago
|
||
synthesizeCompositionEvent is in the same boat -- it calls nsIDOMWindowUtils.sendCompositionEvent which no longer exists. I'm less certain this is unused but probably it is.
Summary: remove unused synthesizeText function in event.js → remove unused synthesizeText and synthesizeCompositionEvent functions in event.js
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ef18cf5399a8250521e75518d5fb75871491cb4a
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8952048 [details] Bug 1439288 - Remove unused synthesizeText function. https://reviewboard.mozilla.org/r/221272/#review227150 > I guess we can just remove it? Yes (-:
Attachment #8952048 -
Flags: review?(ato) → review+
Comment 7•6 years ago
|
||
mozreview-review |
Comment on attachment 8952050 [details] Bug 1439288 - Remove synthesizeCompositionEvent. https://reviewboard.mozilla.org/r/221274/#review227152
Attachment #8952050 -
Flags: review?(ato) → review+
Pushed by cam@mcc.id.au: https://hg.mozilla.org/integration/autoland/rev/d0406024a77b Remove unused synthesizeText function. r=ato https://hg.mozilla.org/integration/autoland/rev/1274d9304cec Remove synthesizeCompositionEvent. r=ato
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d0406024a77b https://hg.mozilla.org/mozilla-central/rev/1274d9304cec
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•