Bug 1870880 - Add isInstance assertion method to Assert.sys.mjs. r?sasha
ClosedPublic

Authored by gravyant on Apr 17 2024, 1:20 AM.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.

Thanks! I think it's close to landing, I just have one comment.
Maybe you could address that, and in the meantime I've pushed the changes to CI

remote/shared/webdriver/Assert.sys.mjs
413

I think we should mention here that the class should have isInstance method implemented.

Ok, I added a comment mentioning that constructor should have a static isInstance method.

Sasha added a project: testing-approved.

Ok, I added a comment mentioning that constructor should have a static isInstance method.

Great! The CI is green, so I'm going to land it now. Thanks!

This revision is now accepted and ready to land.Apr 17 2024, 3:27 PM