haikuwebkit/LayoutTests/css3/blending
Rob Buis 1205f912cd WebKit doesn't parse "#" as delimiter for fragment identifier in data URIs
https://bugs.webkit.org/show_bug.cgi?id=68089

Patch by Rob Buis <rbuis@igalia.com> on 2020-10-05
Reviewed by Alex Christensen, Ryosuke Niwa, and Darin Adler.

LayoutTests/imported/w3c:

Update improved test results.

* web-platform-tests/fetch/data-urls/processing.any-expected.txt:
* web-platform-tests/fetch/data-urls/processing.any.worker-expected.txt:
* web-platform-tests/url/data-uri-fragment-expected.txt:

Source/WebCore:

To maintain compatibility with existing iOS and macOS apps, we only do this for apps linked
with the SDK after the change.

Covered by newly passing web platform tests (which Chrome and Firefox already passed).

* loader/ResourceLoader.cpp:
(WebCore::shouldStripFragmentIdentifier):
(WebCore::ResourceLoader::loadDataURL):
* platform/cocoa/VersionChecks.h:

Source/WTF:

* wtf/URL.h:
* wtf/spi/darwin/dyldSPI.h:

LayoutTests:

Adjusts tests thats use data URIs to escape the # character.

* accessibility/ios-simulator/iframe-access.html:
* accessibility/ios-simulator/unobscured-content-rect.html:
* accessibility/resources/iframe.html:
* 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/flexbox/flexitem.html:
* css3/shapes/shape-outside/shape-image/shape-image-002.html:
* css3/shapes/shape-outside/shape-image/shape-image-005.html:
* editing/pasteboard/data-transfer-set-data-sanitize-url-when-copying-in-null-origin.html:
* editing/pasteboard/data-transfer-set-data-sanitize-url-when-dragging-in-null-origin.html:
* fast/css-grid-layout/grid-item-display.html:
* fast/css/import-style-update.html:
* fast/css/link-media-attr.html:
* fast/dom/HTMLLinkElement/link-stylesheet-media-type.html:
* fast/events/attribute-listener-cloned-from-frameless-doc-context-2.html:
* fast/events/attribute-listener-cloned-from-frameless-doc-context.html:
* fast/events/attribute-listener-extracted-from-frameless-doc-context-2.html:
* fast/events/attribute-listener-extracted-from-frameless-doc-context.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/resources/iframe.html:
* http/tests/security/top-level-unique-origin.https.html:
* platform/ios/css3/flexbox/flexitem-expected.txt:
* platform/win/css3/flexbox/flexitem-expected.txt:
* 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:
* svg/as-image/svg-canvas-data-url-svg-with-feimage-not-tainted.html:
* svg/custom/object-data-href.html:



Canonical link: https://commits.webkit.org/230098@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-05 19:36:22 +00:00
..
repaint [Repaint] RenderLayerModelObject::styleWillChange may issue redundant repaint 2020-09-11 00:32:46 +00:00
resources
background-blend-mode-background-attachement-fixed-expected.html
background-blend-mode-background-attachement-fixed.html
background-blend-mode-background-clip-content-box-expected.html
background-blend-mode-background-clip-content-box.html
background-blend-mode-background-clip-padding-box-expected.html
background-blend-mode-background-clip-padding-box.html
background-blend-mode-background-origin-border-box-expected.html
background-blend-mode-background-origin-border-box.html
background-blend-mode-background-position-percentage-expected.html
background-blend-mode-background-position-percentage.html
background-blend-mode-background-repeat-no-repeat-expected.html
background-blend-mode-background-repeat-no-repeat.html
background-blend-mode-background-size-contain-expected.html
background-blend-mode-background-size-contain.html
background-blend-mode-background-size-cover-expected.html
background-blend-mode-background-size-cover.html
background-blend-mode-body-image-expected.html
background-blend-mode-body-image.html
background-blend-mode-body-transparent-color-and-image-expected.html
background-blend-mode-body-transparent-color-and-image.html
background-blend-mode-body-transparent-image-expected.html
background-blend-mode-body-transparent-image.html
background-blend-mode-crossfade-image-expected.html
background-blend-mode-crossfade-image.html WebKit doesn't parse "#" as delimiter for fragment identifier in data URIs 2020-10-05 19:36:22 +00:00
background-blend-mode-data-uri-svg-image-expected.html
background-blend-mode-data-uri-svg-image.html WebKit doesn't parse "#" as delimiter for fragment identifier in data URIs 2020-10-05 19:36:22 +00:00
background-blend-mode-default-value.html
background-blend-mode-different-image-formats.html
background-blend-mode-gif-color-2.html
background-blend-mode-gif-color.html
background-blend-mode-gradient-color-expected.txt
background-blend-mode-gradient-color.html
background-blend-mode-gradient-gradient-expected.txt
background-blend-mode-gradient-gradient.html
background-blend-mode-gradient-image-expected.txt
background-blend-mode-gradient-image.html
background-blend-mode-image-color-dynamic-expected.html
background-blend-mode-image-color-dynamic.html
background-blend-mode-image-color.html
background-blend-mode-image-image.html
background-blend-mode-image-svg-expected.txt
background-blend-mode-image-svg.html
background-blend-mode-multiple-background-layers-expected.txt
background-blend-mode-multiple-background-layers.html
background-blend-mode-property-expected.txt
background-blend-mode-property-parsing-expected.txt [WebIDL] Interface prototype objects should define @@toStringTag 2020-05-01 09:48:33 +00:00
background-blend-mode-property-parsing.html [WebIDL] Interface prototype objects should define @@toStringTag 2020-05-01 09:48:33 +00:00
background-blend-mode-property.html
background-blend-mode-separate-layer-declaration-expected.html
background-blend-mode-separate-layer-declaration.html
background-blend-mode-single-layer-no-blending.html
background-blend-mode-svg-color-expected.txt
background-blend-mode-svg-color.html
background-blend-mode-svg-expected.html
background-blend-mode-svg.html
background-blend-mode-tiled-layers-expected.html
background-blend-mode-tiled-layers.html WebKit doesn't parse "#" as delimiter for fragment identifier in data URIs 2020-10-05 19:36:22 +00:00
blend-mode-accelerated-parent-overflow-hidden-expected.html
blend-mode-accelerated-parent-overflow-hidden.html
blend-mode-accelerated-with-multiple-stacking-contexts-expected.txt
blend-mode-accelerated-with-multiple-stacking-contexts.html
blend-mode-ancestor-clipping-layer-expected.txt
blend-mode-ancestor-clipping-layer.html
blend-mode-background.html
blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer-expected.txt
blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer.html
blend-mode-body-child-background-color-expected.html
blend-mode-body-child-background-color.html
blend-mode-body-child-expected.html
blend-mode-body-child-isolate-background-color-expected.html
blend-mode-body-child-isolate-background-color.html
blend-mode-body-child-isolate-html-background-color-expected.html
blend-mode-body-child-isolate-html-background-color.html
blend-mode-body-child.html
blend-mode-body-composited-child-background-color-expected.html
blend-mode-body-composited-child-background-color.html
blend-mode-body-composited-child-expected.html
blend-mode-body-composited-child.html
blend-mode-body-element-expected.html
blend-mode-body-element.html
blend-mode-clip-accelerated-blending-canvas-expected.txt
blend-mode-clip-accelerated-blending-canvas.html
blend-mode-clip-accelerated-blending-child-expected.html
blend-mode-clip-accelerated-blending-child.html
blend-mode-clip-accelerated-blending-double-expected.html
blend-mode-clip-accelerated-blending-double.html
blend-mode-clip-accelerated-blending-with-siblings-expected.html
blend-mode-clip-accelerated-blending-with-siblings.html
blend-mode-clip-accelerated-transformed-blending-expected.html
blend-mode-clip-accelerated-transformed-blending.html
blend-mode-clip-rect-accelerated-blending-expected.html
blend-mode-clip-rect-accelerated-blending.html
blend-mode-html-element-screen-expected.html
blend-mode-html-element-screen.html
blend-mode-isolated-group-1.html
blend-mode-isolated-group-2.html
blend-mode-isolated-group-3.html
blend-mode-isolation-accelerated-overflow-hidden-expected.txt
blend-mode-isolation-accelerated-overflow-hidden.html
blend-mode-isolation-flags-append-non-stacking-context-blending.html
blend-mode-isolation-flags-append-stacking-context-blending.html
blend-mode-isolation-flags-remove-non-stacking-context-blending.html
blend-mode-isolation-flags-remove-stacking-context-blending.html
blend-mode-isolation-flags-turn-off-blending-no-isolation.html
blend-mode-isolation-flags-turn-off-blending.html
blend-mode-isolation-flags-turn-off-stacking-context.html
blend-mode-isolation-flags-turn-on-blending.html
blend-mode-isolation-flags-turn-on-stacking-context.html
blend-mode-isolation-overflow-hidden-expected.html
blend-mode-isolation-overflow-hidden.html
blend-mode-isolation-turn-off-self-painting-layer-expected.txt
blend-mode-isolation-turn-off-self-painting-layer.html
blend-mode-isolation-turn-off-self-painting-layer1-expected.txt
blend-mode-isolation-turn-off-self-painting-layer1.html
blend-mode-isolation-turn-off-self-painting-layer2-expected.txt
blend-mode-isolation-turn-off-self-painting-layer2.html
blend-mode-isolation-turn-on-self-painting-layer-expected.txt
blend-mode-isolation-turn-on-self-painting-layer.html
blend-mode-layers.html
blend-mode-overflow.html
blend-mode-parent-of-composited-blended-has-layer-expected.txt
blend-mode-parent-of-composited-blended-has-layer.html
blend-mode-property-expected.txt
blend-mode-property-parsing-expected.txt [WebIDL] Interface prototype objects should define @@toStringTag 2020-05-01 09:48:33 +00:00
blend-mode-property-parsing-invalid-expected.txt
blend-mode-property-parsing-invalid.html
blend-mode-property-parsing.html [WebIDL] Interface prototype objects should define @@toStringTag 2020-05-01 09:48:33 +00:00
blend-mode-property.html
blend-mode-reflection.html
blend-mode-simple-composited.html
blend-mode-simple.html
blend-mode-transform-style-expected.txt
blend-mode-transform-style.html
blend-mode-with-accelerated-sibling-expected.txt
blend-mode-with-accelerated-sibling.html
blend-mode-with-body-expected.html
blend-mode-with-body.html
blend-mode-with-composited-descendant-should-have-layer-expected.txt
blend-mode-with-composited-descendant-should-have-layer.html
effect-background-blend-mode-expected.txt
effect-background-blend-mode-stacking-expected.txt
effect-background-blend-mode-stacking.html
effect-background-blend-mode-tiled-expected.txt
effect-background-blend-mode-tiled.html
effect-background-blend-mode.html
isolation-isolate-blended-child-expected.html
isolation-isolate-blended-child.html
isolation-isolate-simple-expected.txt
isolation-parsing-expected.txt
isolation-parsing.html
svg-blend-color-burn.html
svg-blend-color-dodge.html
svg-blend-darken.html
svg-blend-difference.html
svg-blend-exclusion.html
svg-blend-hard-light.html
svg-blend-layer-blend.html
svg-blend-layer-clip-path.html
svg-blend-layer-filter.html
svg-blend-layer-mask.html
svg-blend-layer-opacity.html
svg-blend-lighten.html
svg-blend-multiply-alpha.html
svg-blend-multiply.html
svg-blend-normal.html
svg-blend-overlay.html
svg-blend-plus-darker.html
svg-blend-plus-lighter.html
svg-blend-screen.html
svg-blend-soft-light.html
svg-isolation-default-expected.html
svg-isolation-default.html
svg-isolation-isolated-group-expected.html
svg-isolation-isolated-group.html
svg-isolation-simple-expected.html
svg-isolation-simple.html