[Webkit-unassigned] [Bug 260129] New: Use 'FrozenArray' for 'thresholds' in IntersectionObserver

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 13 13:42:57 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=260129

            Bug ID: 260129
           Summary: Use 'FrozenArray' for 'thresholds' in
                    IntersectionObserver
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
               URL: http://wpt.live/intersection-observer/idlharness.windo
                    w.html
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat, WPTImpact
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: ashvayka at apple.com, cdumez at apple.com, rniwa at webkit.org

Hi Team,

Currently we are failing one IDLHarness test for Intersection Observer API, it is to use 'FrozenArray' for thresholds.

WPT Test Case: https://wpt.fyi/results/intersection-observer/idlharness.window.html?label=experimental&label=master&aligned

Test Case Live Link: http://wpt.live/intersection-observer/idlharness.window.html

Failing Test -> IntersectionObserver interface: observer must inherit property "thresholds" with the proper type

___

Web-Spec: https://www.w3.org/TR/intersection-observer/#intersection-observer-interface

In Spec: readonly attribute FrozenArray<double> thresholds;

We have: readonly attribute sequence<double> thresholds; & (double or sequence<double>) threshold = 0.0;

___

Just wanted to raise, so we can fix this as well. Might be difficult for me right away to do so if someone else can do it, good to take it up.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230813/01820e8d/attachment.htm>


More information about the webkit-unassigned mailing list