Enable more test directories and preferences (#34952)

* Enable WPT tests for several supported/in progress features.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Enable more preferences for all WPT tests.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Update test expectations.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Disable AbortController preference for tests.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Update WPT expectations.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-01-16 21:41:09 -05:00 committed by GitHub
parent a014da590a
commit 5295a45a2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
472 changed files with 4113 additions and 293 deletions

View file

@ -0,0 +1,12 @@
[bounding-box.html]
[First rAF.]
expected: FAIL
[target.style.transform = 'translateY(195px)']
expected: FAIL
[target.style.transform = 'translateY(300px)']
expected: FAIL
[target.style.zoom = 2]
expected: FAIL

View file

@ -0,0 +1,3 @@
[callback-cross-realm-report-exception.html]
[IntersectionObserver reports the exception from its callback in the callback's global object]
expected: FAIL

View file

@ -0,0 +1,3 @@
[client-rect.html]
[First rAF should generate notification.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[clip-path.html]
[clip-path]
expected: FAIL

View file

@ -0,0 +1,12 @@
[containing-block.html]
[In containing block and intersecting.]
expected: FAIL
[In containing block and not intersecting.]
expected: FAIL
[Not in containing block and intersecting.]
expected: FAIL
[Not in containing block and not intersecting.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[cross-document-root.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cross-origin-iframe.sub.html]
[Intersection observer test with no explicit root and target in a cross-origin iframe.]
expected: FAIL
[First rAF]
expected: FAIL

View file

@ -0,0 +1,6 @@
[disconnect.html]
[First rAF.]
expected: FAIL
[observer.disconnect()]
expected: FAIL

View file

@ -0,0 +1,3 @@
[display-none.html]
[display-none]
expected: FAIL

View file

@ -0,0 +1,3 @@
[document-scrolling-element-root.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,12 @@
[edge-inclusive-intersection.html]
[First rAF.]
expected: FAIL
[Set transform=translateY(200px) on target.]
expected: FAIL
[Set transform=translateY(201px) on target.]
expected: FAIL
[Set transform=translateY(185px) on target.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[empty-root-margin.html]
expected: TIMEOUT
[An empty rootMargin string is interpreted as a margin of size zero]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[explicit-root-different-document.html]
expected: TIMEOUT
[IntersectionObserver reports a (non-intersecting) entry if different-document from the doc]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[fixed-position-child-scroll.html]
[First rAF.]
expected: FAIL
[scrollTo(0, 1000)]
expected: FAIL

View file

@ -0,0 +1,6 @@
[fixed-position-iframe-scroll.html]
[First rAF.]
expected: FAIL
[scrollTo(0, 1000)]
expected: FAIL

View file

@ -0,0 +1,6 @@
[fixed-position-scroll.html]
[First rAF.]
expected: FAIL
[scrollTo(0, 1000)]
expected: FAIL

View file

@ -0,0 +1,3 @@
[grow-height-and-scrolled.html]
[IntersectionObserver should only report intersection change after the target grows height and is scrolled.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[idlharness.window.html]
[IntersectionObserver interface: observer must inherit property "thresholds" with the proper type]
expected: FAIL

View file

@ -0,0 +1,3 @@
[iframe-no-root-with-wrapping-scroller.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[iframe-no-root.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[initial-observation-with-threshold.html]
[First rAF]
expected: FAIL
[root.scrollTop = 20]
expected: FAIL

View file

@ -0,0 +1,6 @@
[inline-client-rect.html]
[First rAF]
expected: FAIL
[scroller.scrollLeft = 90]
expected: FAIL

View file

@ -0,0 +1,3 @@
[inline-with-block-child-client-rect.html]
[First rAF]
expected: FAIL

View file

@ -0,0 +1,4 @@
[intersection-ratio-ib-split.html]
expected: TIMEOUT
[IntersectionObserver on an IB split gets the right intersection ratio]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[intersection-ratio-with-fractional-bounds-2.html]
expected: TIMEOUT
[IntersectionObserver ratio with fractional bounds]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[intersection-ratio-with-fractional-bounds-in-iframe.html]
expected: TIMEOUT
[intersectionRatio in iframe should be 1 for totally visible target with fractional bounds]
expected: NOTRUN

View file

@ -0,0 +1,4 @@
[intersection-ratio-with-fractional-bounds.html]
expected: TIMEOUT
[IntersectionObserver ratio with fractional bounds]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[isIntersecting-change-events.html]
[Rects in initial notifications should report initial positions.]
expected: FAIL

View file

@ -0,0 +1,9 @@
[isIntersecting-threshold.html]
[At initial scroll position]
expected: FAIL
[Scrolled to half way through target element]
expected: FAIL
[Scrolled to target element completely off screen]
expected: FAIL

View file

@ -0,0 +1,3 @@
[multiple-targets.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[multiple-thresholds.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[nested-cross-origin-iframe.sub.html]
[IntersectionObserver with `implicit root` in a nested cross-origin iframe works]
expected: FAIL

View file

@ -0,0 +1,4 @@
[not-in-containing-block-chain.html]
expected: TIMEOUT
[IntersectionObserver reports a (non-intersecting) entry even if not in the containing block chain]
expected: NOTRUN

View file

@ -0,0 +1,21 @@
[observer-attributes.html]
[observer.thresholds]
expected: FAIL
[observer.rootMargin]
expected: FAIL
[empty observer.thresholds]
expected: FAIL
[whitespace observer.rootMargin]
expected: FAIL
[set observer.root]
expected: FAIL
[set observer.thresholds]
expected: FAIL
[set observer.rootMargin]
expected: FAIL

View file

@ -0,0 +1,4 @@
[observer-callback-arguments.html]
expected: TIMEOUT
[Callback is invoked with |this| value of IntersectionObserver and two arguments]
expected: TIMEOUT

View file

@ -0,0 +1,21 @@
[observer-exceptions.html]
[IntersectionObserver constructor with { threshold: [1.1\] }]
expected: FAIL
[IntersectionObserver constructor with { rootMargin: "1" }]
expected: FAIL
[IntersectionObserver constructor with { rootMargin: "2em" }]
expected: FAIL
[IntersectionObserver constructor with { rootMargin: "auto" }]
expected: FAIL
[IntersectionObserver constructor with { rootMargin: "calc(1px + 2px)" }]
expected: FAIL
[IntersectionObserver constructor with { rootMargin: "1px !important" }]
expected: FAIL
[IntersectionObserver constructor with { rootMargin: "1px 1px 1px 1px 1px" }]
expected: FAIL

View file

@ -0,0 +1,3 @@
[observer-without-js-reference.html]
[First rAF]
expected: FAIL

View file

@ -0,0 +1,4 @@
[padding-clip.html]
expected: TIMEOUT
[Scrollport is used rather than content rect to compute intersection ratio]
expected: TIMEOUT

View file

@ -0,0 +1,15 @@
[remove-element.html]
[First rAF]
expected: FAIL
[root.scrollTop = 150]
expected: FAIL
[root.removeChild(target).]
expected: FAIL
[root.insertBefore(target, trailingSpace).]
expected: FAIL
[root.scrollTop = 150 after reinserting target.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[root-margin-root-element.html]
[First rAF]
expected: FAIL

View file

@ -0,0 +1,4 @@
[root-margin-rounding.html]
expected: TIMEOUT
[IntersectionObserver root margin cannot end up with negative rect (and thus non-intersecting) due to rounding]
expected: NOTRUN

View file

@ -0,0 +1,3 @@
[root-margin.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[root-vertical-rl.html]
[First rAF.]
expected: FAIL
[Set transform=translateX(50px) on target.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[rtl-clipped-root.html]
[First rAF]
expected: FAIL

View file

@ -0,0 +1,3 @@
[same-document-no-root.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[same-document-root.html]
[First rAF]
expected: FAIL

View file

@ -0,0 +1,3 @@
[same-document-with-document-root.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[same-document-zero-size-target.html]
[First rAF]
expected: FAIL

View file

@ -0,0 +1,4 @@
[same-origin-grand-child-iframe.sub.html]
expected: TIMEOUT
[rootBounds in a same-origin iframe in the case where there is a cross-origin iframe in between the top document and the same origin iframe]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[scroll-and-root-margin.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-4-val.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-clip-path.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-dynamic.html]
[Test no initial scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-horizontal.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-iframe.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-nested-2.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-nested-3.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-nested.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-no-intersect.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-non-scrolling-root.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-not-contained.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-percent.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-with-border-outline.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin-zero.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scroll-margin.html]
[Test scroll margin intersection]
expected: FAIL

View file

@ -0,0 +1,3 @@
[shadow-content.html]
[First rAF after creating shadow DOM.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[svg-clipped-rect-target.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[svg-container-element.html]
[First rAF.]
expected: FAIL
[Change inner svg element]
expected: FAIL

View file

@ -0,0 +1,3 @@
[svg-group-target.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[svg-image.html]
[First rAF.]
expected: FAIL
[change image location]
expected: FAIL

View file

@ -0,0 +1,3 @@
[svg-intersection-with-fractional-bounds-2.html]
[IntersectionObserver observing an SVG <rect> with fractional bounds element]
expected: FAIL

View file

@ -0,0 +1,3 @@
[svg-intersection-with-fractional-bounds.html]
[Initial Observation]
expected: FAIL

View file

@ -0,0 +1,3 @@
[svg-rect-target.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[svg-stroke-change.html]
[First rAF.]
expected: FAIL
[change stroke]
expected: FAIL

View file

@ -0,0 +1,6 @@
[svg-target-changes-position.html]
[First rAF.]
expected: FAIL
[Move SVG element up]
expected: FAIL

View file

@ -0,0 +1,3 @@
[svg-transformed-rect-target.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[svg-viewbox.html]
[IntersectionObserver observing an SVG <rect> element with changing 'transform']
expected: FAIL

View file

@ -0,0 +1,3 @@
[target-in-detached-document.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[target-in-different-window.html]
[IntersectionObserver with target in a different window.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[target-is-root.html]
expected: TIMEOUT
[IntersectionObserver when root == target doesn't compute an intersection]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[text-target.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[timestamp.html]
[First rAF after iframe is loaded.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[transform-animation.html]
[An element that already intersects with the viewport does not trigger the observer callback when animating its transform.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[unclipped-root.html]
[First rAF.]
expected: FAIL
[target.style.transform = 'translateY(195px)']
expected: FAIL

View file

@ -0,0 +1,3 @@
[animated-occlusion.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[blur-filter.html]
[First rAF.]
expected: FAIL
[occluder.style.opacity = 0]
expected: FAIL

View file

@ -0,0 +1,3 @@
[box-reflect.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,9 @@
[box-shadow.html]
[First rAF.]
expected: FAIL
[occluder.style.boxShadow = "none"]
expected: FAIL
[occluder.style.boxShadow = ""]
expected: FAIL

View file

@ -0,0 +1,3 @@
[cross-origin-effects.sub.html]
[Intersection observer V2 test with visual effects on iframe.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[cross-origin-occlusion.sub.html]
[Intersection observer V2 test with occlusion of target in iframe.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[delay-test.html]
['delay' parameter throttles frequency of notifications.]
expected: FAIL

View file

@ -0,0 +1,6 @@
[drop-shadow-filter-vertical-rl.html]
[First rAF.]
expected: FAIL
[occluder.style.opacity = 0]
expected: FAIL

View file

@ -0,0 +1,3 @@
[iframe-target.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,9 @@
[inline-occlusion.html]
[First rAF.]
expected: FAIL
[occluder.style.marginTop = '-10px']
expected: FAIL
[occluder.style.opacity = 0]
expected: FAIL

View file

@ -0,0 +1,3 @@
[nested-cross-origin.sub.html]
[Intersection observer V2 test with nested cross-origin iframes.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[position-absolute-overflow-visible-and-not-visible.html]
expected: TIMEOUT
[ParentWithOverflowVisibleAndNotVisible]
expected: NOTRUN

View file

@ -0,0 +1,3 @@
[position-relative.html]
[First rAF.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[scaled-target.html]
[IntersectionObserver V2 test with scale applied to target.]
expected: FAIL

View file

@ -0,0 +1,12 @@
[simple-effects.html]
[First rAF.]
expected: FAIL
[effects.style.opacity = 0.99]
expected: FAIL
[effects.style.opacity = 1]
expected: FAIL
[effects.style.filter = grayscale(50%)]
expected: FAIL

View file

@ -0,0 +1,3 @@
[simple-occlusion-svg-foreign-object.html]
[First rAF.]
expected: FAIL

Some files were not shown because too many files have changed in this diff Show more