Remove fragments before decoding data URLs
Created attachment 407218 [details] Patch
*** This bug has been marked as a duplicate of bug 68089 ***
This was too optimistic. Requires more understanding of the history of this issue.
For future reference, these tests failed: accessibility/scroll-to-global-point-iframe.html accessibility/scroll-to-make-visible-iframe-offscreen.html accessibility/scroll-to-make-visible-iframe.html css3/blending/background-blend-mode-crossfade-image.html css3/blending/background-blend-mode-data-uri-svg-image.html css3/blending/background-blend-mode-tiled-layers.html css3/shapes/shape-outside/shape-image/shape-image-002.html css3/shapes/shape-outside/shape-image/shape-image-005.html fast/css/import-style-update.html fast/css/link-media-attr.html fast/dom/HTMLLinkElement/link-stylesheet-media-type.html fast/hidpi/image-srcset-data-escaped-srcset.html fast/html/link-rel-stylesheet.html fast/loader/data-url-encoding-html.html fast/loader/data-url-encoding-svg.html fast/spatial-navigation/snav-iframe-nested.html imported/w3c/web-platform-tests/fetch/data-urls/processing.any.html imported/w3c/web-platform-tests/fetch/data-urls/processing.any.worker.html security/contentSecurityPolicy/link-with-data-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html svg/animations/css-animation-background-svg.html svg/animations/css-animation-embedded-svg.html svg/animations/css-animation-hover-svg.html