can not use WebDriverExtensionCommand as a dyn type because of PartialEq - webdriver crate
Categories
(Testing :: geckodriver, enhancement, P1)
Tracking
(firefox82 fixed)
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: whizsid, Assigned: jgraham)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Steps to reproduce:
I am from this PR. This crate is using the webdriver crate. As per the discussion of this PR I want to use the WebDriverExtensionCommand
as a Box<dyn WebDriverExtensionCommand>
.
Actual results:
pub trait WebDriverExtensionCommand : Send + Clone + PartialEq{}
| --- --------- ...because it uses Self
as a type parameter in this
| |
| this trait cannot be made into an object...
Expected results:
Using the WebDriverExtensionCommand as a dyn type.
Comment 1•4 years ago
|
||
Did you mean to mark this as a security bug? That keeps the Marionette folks from seeing it, and the security team isn't really sure what to do with this.
(In reply to Daniel Veditz [:dveditz] from comment #1)
Did you mean to mark this as a security bug? That keeps the Marionette folks from seeing it, and the security team isn't really sure what to do with this.
Sorry! It is not a security bug. I accidentally ticked it. But I can not edit it again.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
James, could you please have a look what's wrong here? Is that a limitation on our side?
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/autoland/rev/d7f08d3e2848 Remove PartialEq bound on WebDriverExtensionCommand, r=webdriver-reviewers,whimboo
Comment 6•4 years ago
|
||
bugherder |
Description
•