Closed Bug 1606774 Opened 4 years ago Closed 4 years ago

Reduce usage of GetAttribute when GetAttr can be used

Categories

(Core :: DOM: Core & HTML, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: jkt, Assigned: jkt)

Details

Attachments

(1 file)

Rather than produce strings manually and risk runtime errors we can reduce usage by using atoms instead by using element->GetAttr().

Priority: -- → P5
Pushed by jkingston@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ae0073a0eab8
Change GetAttribute to GetAttr where possible r=baku
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: