Closed Bug 1746303 Opened 4 years ago Closed 4 years ago

browser_jsonview_expand_collapse.js test is wrong

Categories

(DevTools :: JSON Viewer, defect, P2)

defect

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: Oriol, Assigned: Oriol)

Details

Attachments

(1 file)

The test checks

  ok(
    document.querySelector(selector) == null,
    "The Expand All button must be gone"
  );

But, since bug 1561362, it's never supposed to be gone!
The test is falsely passing though, because that code doesn't run in the content.

Thanks for working on this, Oriol!

Severity: -- → S3
Priority: -- → P2
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9125673abba7 Fix browser_jsonview_expand_collapse.js test. r=Honza
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: