Closed Bug 1048780 Opened 7 years ago Closed 7 years ago

Use matches() rather than mozMatchesSelector()

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

They're equivalent, so we should use the standard one.
Comment on attachment 8467698 [details] [diff] [review]
Call the standard matches() rather than the proprietary mozMatchesSelector()

Did you leave at least one case where we test the mozMatchesSelector() method as well? IOW, we should test both, at least trivially.

r=jst, thanks!
Attachment #8467698 - Flags: review?(jst) → review+
https://hg.mozilla.org/mozilla-central/rev/59e5f46a92dc
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Blocks: 1119718
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.