Closed Bug 2025280 Opened 6 months ago Closed 5 months ago

Expand Mixed Content Level 2 WPTs

Categories

(Core :: DOM: Security, task)

task

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: maltejur, Assigned: maltejur)

References

()

Details

Attachments

(5 files)

The WPTs for mixed content blocking currently still mostly test the by now deprecated mixed content level 1 (block active mixed content and allow insecure passive mixed content), and there is only a handful of tests for the current level 2 (upgrade passive mixed content instead of blocking it).

We should consider replacing the much larger set of tests for mixed content level 1 with the correct test expectations of mixed content level 2. Currently, the tests whose expectations differ between levels 1 and 2 just fail because they still expect the level 1 behavior.

Attachment #9556308 - Attachment description: WIP: Bug 2025280 - Add svg-a-tag to mixed content WPT supported_delivery_types → Bug 2025280 - Add svg-a-tag to mixed content WPT supported_delivery_types r?simonf
Attachment #9556311 - Attachment description: WIP: Bug 2025280 - Update mixed content WPTs to mixed content level 2 → Bug 2025280 - Update mixed content WPTs to mixed content level 2 r?simonf
Attachment #9556312 - Attachment description: WIP: Bug 2025280 - Test iframes in mixed content WPTs → Bug 2025280 - Test iframes and srcdocs in mixed content WPTs r?simonf
Attachment #9556322 - Attachment description: WIP: Bug 2025280 - Generate mixed content WPTs → Bug 2025280 - Generate mixed content WPTs r?simonf

We currently expect the following things to not work:

  • Animation, layout and paint worklets, due to Firefox not supporting these
    worklets. This is just adding the same expectations for iframes and srcdocs
    that already exist for the top-level tests.
  • The link-prefetch-tag tests in data: iframes, due to Firefox seemingly not
    performing any requests for rel="prefetch" links in data: iframes. I will file
    a follow-up bug about this.
Regressions: 2033198

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/59344 for changes under testing/web-platform/tests

Upstream PR merged by moz-wptsync-bot

Regressions: 2034761
See Also: → 2035175
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: