Bug 179049

Summary: `<picture>` and `<img srcset>` ought to be treated as "blockable" mixed content.
Product: WebKit Reporter: Mike West <mkwst>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, annevk, bfulgham, dbates, webkit-bug-importer, wilander
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 140625    

Mike West
Reported 2017-10-31 01:58:04 PDT
The Mixed Content spec carves out blockable subsets of `<img>` (step 4 of https://w3c.github.io/webappsec-mixed-content/#should-block-fetch) as a first step towards tightening mixed content restrictions more generally. WebKit currently treats these as optionally-blockable. See, for example, tests at https://w3c-test.org/mixed-content/picture-tag/no-opt-in/same-host-http/top-level/swap-scheme-redirect/blockable/no-opt-in-blocks.https.html and https://w3c-test.org/mixed-content/imageset.https.sub.html, which Chrome and Firefox currently agree on.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-10-31 10:46:40 PDT
Anne van Kesteren
Comment 3 2023-07-05 16:09:05 PDT
The requirement for `imageset` (which <picture> and <img srcset> both use) is here these days: https://w3c.github.io/webappsec-mixed-content/#upgrade-algorithm
Note You need to log in before you can comment on or make changes to this bug.