Closed Bug 1746527 Opened 3 years ago Closed 3 years ago

Make browser/components/shell/test/browser_setDefaultPDFHandler.js Windows 10+

Categories

(Firefox :: Installer, task, P5)

task

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: nalexander, Assigned: nalexander, Mentored)

References

Details

(Keywords: good-first-bug)

Attachments

(1 file)

I was not aware that we could filter tests by Windows version (like this) when I landed Bug 1743914, which leads to awkward workarounds for Windows 7 (really, Windows <10). I relanded a few times without re-review of the test, which might have shown that we can do better than I did. This ticket tracks doing better.

This could be a good first bug. To fix this, make the browser.ini restrict to Windows 10+, and then remove the guard and level of indentation in the test file itself. To test locally on a Windows 10+ machine, just run

./mach test browser/components/shell/test/browser_setDefaultPDFHandler.js

To verify in try,

./mach try fuzzy -q "'windows 'browser-chrome"

should be sufficient. Make sure that includes any Windows 7 test jobs that still exist!

The severity field is not set for this bug.
:nalexander, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(nalexander)

This doesn't impact users so severity is N/A.

Severity: -- → N/A
Flags: needinfo?(nalexander)

The severity field is not set for this bug.
:nrishel, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(nrishel)
Type: defect → task
Flags: needinfo?(nrishel)
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Pushed by nalexander@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/07cc428541a4 Make `browser/components/shell/test/browser_setDefaultPDFHandler.js` Windows 10+. r=bhearsum
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: