[wpt-sync] Sync PR 64438 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=320588
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64438 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64438
Details from upstream follow.
Andy Estes <aestes@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=320588
WebKit export from bug: [<!---->Site Isolation]<!----> Embedded YouTube videos on yahoo.<!---->com fail to render
<pre>
[Site Isolation] Embedded YouTube videos on yahoo.com fail to renderAs of <a href="https://commits.webkit.org/311380@main">311380@main</a> we gate accelerated video rendering on the video element intersecting the
viewport (by using an IntersectionObserver). If the observer never reports the video as
intersecting, a video layer is never attached and decoded frames are dropped, so the video plays
audio but shows no frames.For a video in a cross-origin iframe with Site Isolation enabled, the observer computes
intersection from geometry sent over by the parent frame's process. That geometry was wrong on some
yahoo.com pages, so the video was reported as never intersecting even while fully within the
viewport.The process that contains the iframe computes the frame's visible rect in
LocalFrameView::visibleRectOfChild by passing the iframe's rect to computeVisibleRectsInContainer.
That function expects a rect in the iframe's own coordinate space, but we were passing it a rect in
its container's coordinate space. This resulted in the iframe's offset position being applied
twice, resulting in an IntersectionObserver believing that elements within the iframe were too far
down to intersect the viewport.Resolved this by passing borderBoxRect() (i.e. a rect in the element's own coordinate space) to
computeVisibleRectsInContainer, matching other call sites.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=320588">https://bugs.webkit.org/show_bug.cgi?id=320588</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/318254@main">https://commits.webkit.org/318254@main</a>
</pre>
| Assignee | ||
Updated•14 days ago
|
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116765
| Assignee | ||
Comment 2•10 days ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 156 tests
Status Summary
Firefox
OK : 2[GitHub] 151[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, GitHub] 331[Gecko-android-em-14-x86_64-lite-opt-geckoview] 332[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 337[Gecko-windows11-32-25h2-debug] 338[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 339[Gecko-linux2404-64-debug] 340[Gecko-linux2404-64-opt]
FAIL : 97[Gecko-linux2404-64-opt] 98[Gecko-linux2404-64-debug] 99[Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 105[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 106[Gecko-android-em-14-x86_64-lite-opt-geckoview]
TIMEOUT: 2
ERROR : 2
Chrome
OK : 2
PASS : 2
Safari
OK : 2
PASS : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /intersection-observer/cross-origin-tall-iframe-rendering.sub.html [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-lite-opt-geckoview],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /intersection-observer/clip-path-animation.html [wpt.fyi]
- clip-path-animation:
FAIL
- clip-path-animation:
- /intersection-observer/clip-path.html [wpt.fyi]
- clip-path:
FAIL
- clip-path:
- /intersection-observer/cross-origin-iframe.sub.html [wpt.fyi]
- First rAF:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - topDocument.scrollingElement.scrollTop = 100:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]
- First rAF:
- /intersection-observer/idlharness.window.html [wpt.fyi]
- IntersectionObserver interface: attribute delay:
FAIL - IntersectionObserver interface: attribute trackVisibility:
FAIL - IntersectionObserver interface: observer must inherit property "thresholds" with the proper type:
FAIL - IntersectionObserver interface: observer must inherit property "delay" with the proper type:
FAIL - IntersectionObserver interface: observer must inherit property "trackVisibility" with the proper type:
FAIL - IntersectionObserverEntry interface object length:
FAIL - IntersectionObserverEntry interface: attribute isVisible:
FAIL
- IntersectionObserver interface: attribute delay:
- /intersection-observer/inline-client-rect.html [wpt.fyi]
- First rAF:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - scroller.scrollLeft = 90:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt]
- First rAF:
- /intersection-observer/root-is-table-with-overflow-scroll.html [wpt.fyi]
- First rAF.:
FAIL - Moving the target to the right bottom corner of the table.:
FAIL
- First rAF.:
- /intersection-observer/root-margin-root-element.html [wpt.fyi]
- First rAF:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - root.scrollTop = 50, putting target into root margin:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - root.scrollTop = 0:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - root.scrollTop = 50 with root scrolled out of view.:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- First rAF:
- /intersection-observer/root-margin-scroll-margin-units.html [wpt.fyi]
- observer.rootMargin using 'cm':
FAIL - observer.scrollMargin using 'cm':
FAIL - observer.rootMargin using 'mm':
FAIL - observer.scrollMargin using 'mm':
FAIL - observer.rootMargin using 'q':
FAIL - observer.scrollMargin using 'q':
FAIL - observer.rootMargin using 'in':
FAIL - observer.scrollMargin using 'in':
FAIL - observer.rootMargin using 'pt':
FAIL - observer.scrollMargin using 'pt':
FAIL - observer.rootMargin using 'pc':
FAIL - observer.scrollMargin using 'pc':
FAIL
- observer.rootMargin using 'cm':
- /intersection-observer/root-margin.html [wpt.fyi]
- First rAF.:
FAIL - document.scrollingElement.scrollLeft = 100:
FAIL - document.scrollingElement.scrollTop = document.documentElement.clientHeight + 200:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - document.scrollingElement.scrollTop = document.documentElement.clientHeight + 300:
FAIL
- First rAF.:
- /intersection-observer/scroll-margin-clip-path.html [wpt.fyi]
- Test scroll margin intersection:
FAIL
- Test scroll margin intersection:
- /intersection-observer/scroll-margin-nested.html [wpt.fyi]
- Test scroll margin intersection:
FAIL[Gecko-linux2404-64-debug],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Test scroll margin intersection:
- /intersection-observer/scroll-margin-propagation.html [wpt.fyi]
- Scroll margin is not applied to iframe 1, because it's cross-origin-domain with iframe 3:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Scroll margin is not applied to top page, because scroll margin doesn't propagate past cross-origin-domain iframe 1:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Scroll margin is not applied to iframe 1, because it's cross-origin-domain with iframe 3:
- /intersection-observer/svg-clipped-rect-target.html [wpt.fyi]
- document.scrollingElement.scrollTop = 300:
FAIL
- document.scrollingElement.scrollTop = 300:
- /intersection-observer/svg-intersection-with-fractional-bounds-2.html [wpt.fyi]
- Initial Observation:
FAIL - Changing target y position to -2 (-0.002 in root coordinates):
FAIL - Changing target y position to -1 (-0.001 in root coordinates):
FAIL - Changing target y position to -4 (-0.004 in root coordinates):
FAIL - Changing target y position to 0:
FAIL
- Initial Observation:
- /intersection-observer/svg-intersection-with-fractional-bounds.html [wpt.fyi]
- Initial Observation:
FAIL - Intersection observation after scrolling 300:
FAIL - Intersection observation after scrolling 100:
FAIL
- Initial Observation:
- /intersection-observer/target-in-detached-document.html [wpt.fyi]
- First rAF.:
FAIL
- First rAF.:
- /intersection-observer/target-in-different-window.html [wpt.fyi]
- IntersectionObserver with target in a different window.:
FAIL
- IntersectionObserver with target in a different window.:
- /intersection-observer/thresholds-frozen-array.html [wpt.fyi]
- Check thresholds is FrozenArray.:
FAIL
- Check thresholds is FrozenArray.:
- /intersection-observer/transformed-iframe-001-cross-origin.html [wpt.fyi]
- Target is initially visible:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]
- Target is initially visible:
- /intersection-observer/transformed-iframe-003-cross-origin.html [wpt.fyi]
- Target is not visible as it's rotated perpendicularly to viewport:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Target is not visible as it's rotated perpendicularly to viewport:
- /intersection-observer/transformed-iframe-003-same-origin.html [wpt.fyi]
- Target is not visible as it's rotated perpendicularly to viewport:
FAIL
- Target is not visible as it's rotated perpendicularly to viewport:
- /intersection-observer/transformed-iframe-004-cross-origin.html [wpt.fyi]
- Target is not visible as it's rotated perpendicularly to viewport:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Target is not visible as it's rotated perpendicularly to viewport:
- /intersection-observer/transformed-iframe-004-same-origin.html [wpt.fyi]
- Target is not visible as it's rotated perpendicularly to viewport:
FAIL
- Target is not visible as it's rotated perpendicularly to viewport:
- /intersection-observer/v2/3d-transform-flattened-preserve-3d-occlusion.html [wpt.fyi]
- 3d-transform-flattened-preserve-3d-occlusion:
FAIL
- 3d-transform-flattened-preserve-3d-occlusion:
- /intersection-observer/v2/3d-transform-occlusion-2.html [wpt.fyi]
- 3d-transform-occlusion-2:
FAIL
- 3d-transform-occlusion-2:
- /intersection-observer/v2/3d-transform-occlusion.html [wpt.fyi]:
ERROR- Intersection observer V2 test with occlusion by an element with a 3D transform.:
TIMEOUT
- Intersection observer V2 test with occlusion by an element with a 3D transform.:
- /intersection-observer/v2/3d-transform-overflow-control-occlusion.html [wpt.fyi]
- 3d-transform-overflow-control-occlusion:
FAIL
- 3d-transform-overflow-control-occlusion:
- /intersection-observer/v2/3d-transform-z-order-occlusion.html [wpt.fyi]
- 3d-transform-z-order-occlusion:
FAIL
- 3d-transform-z-order-occlusion:
- /intersection-observer/v2/animated-opacity.html [wpt.fyi]:
ERROR- IntersectionObserver generates notifications when an opacity animation changes occlusion state.:
TIMEOUT
- IntersectionObserver generates notifications when an opacity animation changes occlusion state.:
- /intersection-observer/v2/blur-filter.html [wpt.fyi]
- First rAF.:
FAIL - occluder.style.opacity = 0:
FAIL
- First rAF.:
- /intersection-observer/v2/border-radius-shadow-occlusion-replaced.html [wpt.fyi]
- border-radius-shadow-occlusion-replaced:
FAIL
- border-radius-shadow-occlusion-replaced:
- /intersection-observer/v2/border-radius-shadow-occlusion.html [wpt.fyi]
- border-radius-shadow-occlusion:
FAIL
- border-radius-shadow-occlusion:
- /intersection-observer/v2/border-shape-occlusion.html [wpt.fyi]
- border-shape-occlusion:
FAIL
- border-shape-occlusion:
- /intersection-observer/v2/border-shape-overflow-occlusion.html [wpt.fyi]
- border-shape-overflow-occlusion:
FAIL
- border-shape-overflow-occlusion:
- /intersection-observer/v2/box-reflect.html [wpt.fyi]
- First rAF.:
FAIL
- First rAF.:
- /intersection-observer/v2/box-shadow.html [wpt.fyi]
- First rAF.:
FAIL - occluder.style.boxShadow = "none":
FAIL - occluder.style.boxShadow = "":
FAIL
- First rAF.:
- /intersection-observer/v2/cross-origin-effects.sub.html [wpt.fyi]
- Intersection observer V2 test with visual effects on iframe.:
FAIL
- Intersection observer V2 test with visual effects on iframe.:
- /intersection-observer/v2/cross-origin-occlusion.sub.html [wpt.fyi]
- Intersection observer V2 test with occlusion of target in iframe.:
FAIL
- Intersection observer V2 test with occlusion of target in iframe.:
- /intersection-observer/v2/delay-test.html [wpt.fyi]
- 'delay' parameter throttles frequency of notifications.:
FAIL
- 'delay' parameter throttles frequency of notifications.:
- /intersection-observer/v2/drop-shadow-filter-vertical-rl.html [wpt.fyi]
- First rAF.:
FAIL - occluder.style.opacity = 0:
FAIL
- First rAF.:
- /intersection-observer/v2/iframe-target.html [wpt.fyi]
- First rAF.:
FAIL
- First rAF.:
- /intersection-observer/v2/inline-occlusion.html [wpt.fyi]
- First rAF.:
FAIL - occluder.style.marginTop = '-10px':
FAIL - occluder.style.opacity = 0:
FAIL
- First rAF.:
- /intersection-observer/v2/nested-cross-origin.sub.html [wpt.fyi]
- Intersection observer V2 test with nested cross-origin iframes.:
FAIL
- Intersection observer V2 test with nested cross-origin iframes.:
- /intersection-observer/v2/position-relative.html [wpt.fyi]
- First rAF.:
FAIL
- First rAF.:
- /intersection-observer/v2/scaled-target.html [wpt.fyi]
- IntersectionObserver V2 test with scale applied to target.:
FAIL
- IntersectionObserver V2 test with scale applied to target.:
- /intersection-observer/v2/simple-effects.html [wpt.fyi]
- First rAF.:
FAIL - effects.style.opacity = 0.99:
FAIL - effects.style.opacity = 1:
FAIL - effects.style.filter = grayscale(50%):
FAIL
- First rAF.:
- /intersection-observer/v2/simple-occlusion-svg-foreign-object.html [wpt.fyi]
- First rAF.:
FAIL - svg.style.marginTop = '-10px':
FAIL - occluder.style.opacity = 0:
FAIL
- First rAF.:
- /intersection-observer/v2/simple-occlusion.html [wpt.fyi]
- First rAF.:
FAIL - occluder.style.marginTop = '-10px':
FAIL - occluder.style.opacity = 0:
FAIL
- First rAF.:
- /intersection-observer/v2/svg-drop-shadow-occlusion.html [wpt.fyi]
- svg-drop-shadow-occlusion:
FAIL
- svg-drop-shadow-occlusion:
- /intersection-observer/v2/svg-foreign-object-filter-occlusion.html [wpt.fyi]
- IntersectionObserver observes visibility changes from SVG foreignObject filter changes:
FAIL
- IntersectionObserver observes visibility changes from SVG foreignObject filter changes:
- /intersection-observer/v2/svg-group-filter-occlusion.html [wpt.fyi]
- IntersectionObserver observes visibility changes from SVG group filter changes:
FAIL
- IntersectionObserver observes visibility changes from SVG group filter changes:
- /intersection-observer/v2/svg-image-filter-occlusion.html [wpt.fyi]
- IntersectionObserver observes visibility changes from SVG image filter changes:
FAIL
- IntersectionObserver observes visibility changes from SVG image filter changes:
- /intersection-observer/v2/svg-reference-filter-occlusion.html [wpt.fyi]
- IntersectionObserver observes visibility changes from SVG reference filter changes:
FAIL
- IntersectionObserver observes visibility changes from SVG reference filter changes:
- /intersection-observer/v2/svg-root-filter-occlusion.html [wpt.fyi]
- IntersectionObserver observes visibility changes from SVG grandchild filter changes:
FAIL - IntersectionObserver observes visibility changes from SVG root filter changes:
FAIL
- IntersectionObserver observes visibility changes from SVG grandchild filter changes:
- /intersection-observer/v2/svg-shape-filter-occlusion.html [wpt.fyi]
- IntersectionObserver observes visibility changes from SVG filter changes:
FAIL
- IntersectionObserver observes visibility changes from SVG filter changes:
- /intersection-observer/v2/svg-text-filter-occlusion.html [wpt.fyi]
- IntersectionObserver observes visibility changes from SVG text filter changes:
FAIL - IntersectionObserver observes visibility changes from SVG tspan filter changes:
FAIL
- IntersectionObserver observes visibility changes from SVG text filter changes:
- /intersection-observer/v2/text-editor-occlusion.html [wpt.fyi]
- First rAF.:
FAIL - occluder.style.marginTop = '-10px':
FAIL - occluder.style.opacity = 0:
FAIL
- First rAF.:
- /intersection-observer/v2/text-shadow.html [wpt.fyi]
- First rAF.:
FAIL - occluder.style.textShadow = "none":
FAIL - occluder.style.textShadow = "":
FAIL
- First rAF.:
- /intersection-observer/v2/z-index-changes.html [wpt.fyi]
- IntersectionObserver observes visibility changes from z-index:
FAIL
- IntersectionObserver observes visibility changes from z-index:
Comment 4•6 days ago
|
||
| bugherder | ||
Comment 5•6 days ago
|
||
| bugherder | ||
Description
•