Files
tubestation/testing/web-platform/tests/preload/avoid-prefetching-on-text-plain-inner.html.headers
Richard Townsend 7847c90924 Bug 1685307 [wpt PR 27063] - fix: disable prefetching for TextDocument, a=testonly
Automatic update from web-platform-tests
fix: disable prefetching for TextDocument

The synchronous HTMLDocumentParser mode was incorrectly dispatching
preloads for text/plain documents by interpreting their contents as
HTML. This CL extends the HTMLDocumentParser's constructor, adds a
new enum to disable this behaviour, and a Web Platform Test to show
that the unintended prefetching no longer happens.

Bug: 1160665
Change-Id: I07902d58e3bc06ce6ecc07c341e997846d6e5a64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2613008
Commit-Queue: Richard Townsend <richard.townsend@arm.com>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841110}

--

wpt-commits: f422ffb8f73dbd8b709eb1500acb556ec679e516
wpt-pr: 27063
2021-01-08 17:34:15 +00:00

2 lines
25 B
Plaintext