Closed Bug 1691314 Opened 4 years ago Closed 4 years ago

Rewrite `X.setAttribute("hidden", Y)` to `X.hidden = Y` in devtools/client

Categories

(DevTools :: General, task)

task

Tracking

(firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: ntim, Assigned: ntim)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1691274 +++

https://searchfox.org/mozilla-central/search?q=.setAttribute%28%22hidden%22&path=devtools%2Fclient&case=false&regexp=false

.setAttribute("hidden", "true"); -> .hidden = true;
.setAttribute("hidden", true); -> .hidden = true;

.setAttribute("hidden", "false"); -> .hidden = false;
.setAttribute("hidden", false); -> .hidden = false;

Assignee: nobody → ntim.bugs
Mentor: ntim.bugs
Blocks: 1691321
No longer blocks: 1592799
Pushed by ntim.bugs@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b2d82e87b557 Use DOM hidden property instead of attribute methods in devtools/client. r=nchevobbe
Flags: needinfo?(ntim.bugs)
Pushed by ntim.bugs@gmail.com: https://hg.mozilla.org/integration/autoland/rev/4761c80b4305 Use DOM hidden property instead of attribute methods in devtools/client. r=nchevobbe
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: