Add "isInstance" assertion method to Assert.sys.mjs
Categories
(Remote Protocol :: WebDriver BiDi, task, P3)
Tracking
(firefox127 fixed)
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: Sasha, Assigned: gravyant, Mentored)
Details
(Whiteboard: [lang=js][webdriver:m11:external] )
Attachments
(2 files)
Follow-up from review: https://phabricator.services.mozilla.com/D196740#inline-1093389. Might be useful to add isInstance
assertion method to Assert.sys.mjs to validate if an asserted argument is an instance of a certain class. It should be used only for classes which have isInstance
method implemented, and this method should be used for assertion.
Reporter | ||
Updated•1 year ago
|
Updated•11 months ago
|
Hi @Sasha, could you please take a look at the WIP patch I submitted and let me know if I'm taking the right approach and/or what I need to change?
Also, are there specific tests that you would like me to run?
Reporter | ||
Comment 4•10 months ago
|
||
(In reply to gravyant from comment #3)
Hi @Sasha, could you please take a look at the WIP patch I submitted and let me know if I'm taking the right approach and/or what I need to change?
Also, are there specific tests that you would like me to run?
Hi! Thanks for the patch! I've replied to all your questions in the revision (including the testing).
Thanks, I revised my patch! Let me know if there are any other changes you'd like!
Reporter | ||
Comment 7•10 months ago
|
||
(In reply to gravyant from comment #6)
Thanks, I revised my patch! Let me know if there are any other changes you'd like!
Great! I've added a comment
Thanks again, :sasha. Are there any JS bugs you recommend I take on next?
Reporter | ||
Comment 10•10 months ago
|
||
(In reply to gravyant from comment #9)
Thanks again, :sasha. Are there any JS bugs you recommend I take on next?
I can suggest for example this one: https://bugzilla.mozilla.org/show_bug.cgi?id=1860812. Let me know if you have any questions.
Comment 11•10 months ago
|
||
bugherder |
Reporter | ||
Updated•10 months ago
|
Description
•