Open Bug 1758951 Opened 3 years ago Updated 10 months ago

[meta] Enable Eslint rule `no-insecure-url` globally on all test files

Categories

(Core :: DOM: Security, task, P2)

task

Tracking

()

People

(Reporter: t.yavor, Unassigned)

References

(Depends on 8 open bugs)

Details

(Keywords: meta, Whiteboard: [domsecurity-active])

Attachments

(1 file, 3 obsolete files)

Since the web is migrating towards HTTPS, we think our tests on mozilla-central should do so too.
For that reason we are working on a linter: https://bugzilla.mozilla.org/show_bug.cgi?id=1709150

If the linter would be enabled by default for all our components and tests, the number of warnings for existing test would be 5 times as high as it is currently.
We can't address all that warnings at once and won't be able to do it without the different teams that worked on the tests. But we think it is crucial to land that linter asap. To increase the landing process and to make it more reasonable we exempted components and tests that lead to many warnings.

Those tests should get updated to use https such that we can remove the exemptions for them and enabling the linter for more components.

Summary: Adjust tests that exempt by linter for insecure-url to use https → Adjust tests that are exempt by linter for insecure-url to use https
Summary: Adjust tests that are exempt by linter for insecure-url to use https → Adjust tests which are exempt by (insecure-url) linter to use https
Assignee: nobody → lyavor
Severity: -- → S3
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [domsecurity-active]
Depends on: 1767276
Depends on: 1767290
Depends on: 1768176
Depends on: 1768407
Depends on: 1769238
Depends on: 1772535
Depends on: 1775012
Depends on: 1775049
Depends on: 1775059
Depends on: 1778442
Depends on: 1778467
Depends on: 1778884
Depends on: 1778967
Summary: Adjust tests which are exempt by (insecure-url) linter to use https → [meta] Enable Eslint rule `no-insecure-url` globally on all test files
Depends on: 1786290
Attachment #9273577 - Attachment is obsolete: true
Attachment #9274651 - Attachment is obsolete: true
Blocks: 1799683
Depends on: 1811278
Depends on: 1827624
Assignee: t.yavor → nobody
Status: ASSIGNED → NEW
Depends on: 1856298
Assignee: nobody → mjurgens
Status: NEW → ASSIGNED

Comment on attachment 9363249 [details]
Bug 1758951 - Update @microsoft/eslint-plugin-sdl to version 0.2.2 r=freddyb,standard8

Revision D193423 was moved to bug 1786290. Setting attachment 9363249 [details] to obsolete.

Attachment #9363249 - Attachment is obsolete: true
Assignee: mjurgens → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: