Closed Bug 1580491 Opened 3 years ago Closed 3 years ago

Introduce method Element::HasNonEmptyAttr

Categories

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

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: edgar, Assigned: edgar)

Details

Attachments

(2 files)

This bug is filed as a follow-up of https://phabricator.services.mozilla.com/D44678#1372833.

Assignee: nobody → echen

This was done by reviewing the results of
https://searchfox.org/mozilla-central/search?q=%2F*GetAttr%5C(.%2B(%26%26%7C%5C%7C%5C%7C)&case=true&regexp=true
one by one and replacing them with Element::HasNonEmptyAttr if possible.

Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d350b8cca631
Introduce Element::HasNonEmptyAttr; r=bzbarsky
https://hg.mozilla.org/integration/autoland/rev/d1efd0d79046
Use Element::HasNonEmptyAttr in various places; r=bzbarsky
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.