Files
Nika Layzell e7bf4a196f Bug 2005006 - Store parsed URIs in InternalRequest/InternalResponse, r=dom-core,dom-worker-reviewers,necko-reviewers,smaug,kershaw,edenchuang
This patch updates InternalRequest and InternalResponse such that it parses the
URL passed to it at creation time, rather than when the channel is created.
This should improve the behaviour of these types around Blob URLs, so that
extra state, such as the "revoked" flag, is calculated at the correct time
as-per spec.

While making this change, I noticed that a previous Cache DB migration could
insert an "" URL in the DB when migrating from a single response URL to a URL
list, rather than storing an empty URL list. The choice was made to do
filtering when reading, rather than performing a migration, to avoid migration
first-time start-up overhead.

Differential Revision: https://phabricator.services.mozilla.com/D276047
2026-04-10 19:23:59 +00:00

14 lines
415 B
INI

[sandboxed-iframe.html]
prefs: [dom.separate_event_queue_for_post_message.enabled:false]
disabled:
if os == "mac": https://bugzilla.mozilla.org/show_bug.cgi?id=1433190
[Blob URL fragment is implemented.]
expected: FAIL
[Blob URLs can be used in iframes, and are treated same origin]
expected: FAIL
[Revoke blob URL after creating Request, then clone Request, will fetch]
expected: FAIL