Closed Bug 1685830 Opened 5 years ago Closed 5 years ago

Preload can't be used from a file:// URI.

Categories

(Core :: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged], [wptsync upstream])

Attachments

(1 file)

While in other browsers it can.

As it doesn't match other implementations, and it's confusing.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/336d95146e8e Remove spurious check that prevents preload from working in non-http(s) sites. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/27123 for changes under testing/web-platform/tests
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch

Comment on attachment 9196195 [details]
Bug 1685830 - Remove spurious check that prevents preload from working in non-http(s) sites. r=smaug

Beta/Release Uplift Approval Request

  • User impact if declined: Potential preload interop issue (preload was enabled in 84)
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Remove if(not http) return :-)
  • String changes made/needed: none
Attachment #9196195 - Flags: approval-mozilla-beta?

Comment on attachment 9196195 [details]
Bug 1685830 - Remove spurious check that prevents preload from working in non-http(s) sites. r=smaug

This sounds like a rather obscure issue, not convinced it can't ride the trains.

Attachment #9196195 - Flags: approval-mozilla-beta? → approval-mozilla-beta-

It can also affect data: uris and about:blank, which makes me a bit more worried... But you're right we haven't seen this on the wild yet.

Upstream PR merged by moz-wptsync-bot
Whiteboard: [necko-triaged] → [necko-triaged], [wptsync upstream]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: