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
2 lines
25 B
Plaintext
2 lines
25 B
Plaintext
Content-Type: text/plain
|