mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb/HTML: Return Promises from Window scroll methods
A version of this was added ina610639119and reverted in70671b4c11. The bugs there (confusing scroll-to-position and scroll-by-delta, and not having an execution context in some cases) have been fixed in this version.
This commit is contained in:
Notes:
github-actions[bot]
2026-01-08 14:51:21 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/8a0ba904b95 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7342
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 415 tests
|
||||
|
||||
325 Pass
|
||||
90 Fail
|
||||
331 Pass
|
||||
84 Fail
|
||||
Pass idl_test setup
|
||||
Pass idl_test validation
|
||||
Pass Partial interface Window: original interface defined
|
||||
@@ -272,12 +272,12 @@ Pass Window interface: attribute scrollX
|
||||
Pass Window interface: attribute pageXOffset
|
||||
Pass Window interface: attribute scrollY
|
||||
Pass Window interface: attribute pageYOffset
|
||||
Fail Window interface: operation scroll(optional ScrollToOptions)
|
||||
Fail Window interface: operation scroll(unrestricted double, unrestricted double)
|
||||
Fail Window interface: operation scrollTo(optional ScrollToOptions)
|
||||
Fail Window interface: operation scrollTo(unrestricted double, unrestricted double)
|
||||
Fail Window interface: operation scrollBy(optional ScrollToOptions)
|
||||
Fail Window interface: operation scrollBy(unrestricted double, unrestricted double)
|
||||
Pass Window interface: operation scroll(optional ScrollToOptions)
|
||||
Pass Window interface: operation scroll(unrestricted double, unrestricted double)
|
||||
Pass Window interface: operation scrollTo(optional ScrollToOptions)
|
||||
Pass Window interface: operation scrollTo(unrestricted double, unrestricted double)
|
||||
Pass Window interface: operation scrollBy(optional ScrollToOptions)
|
||||
Pass Window interface: operation scrollBy(unrestricted double, unrestricted double)
|
||||
Pass Window interface: attribute screenX
|
||||
Pass Window interface: attribute screenLeft
|
||||
Pass Window interface: attribute screenY
|
||||
|
||||
Reference in New Issue
Block a user