| commit | 3343b2e0d4e308051a28afa033449b18e8365d08 | [log] [tgz] |
|---|---|---|
| author | Mustaq Ahmed <mustaq@google.com> | Tue Jun 24 16:50:18 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 24 16:50:18 2025 |
| tree | 533cdc64e5627b1cbb74038b2f19bad86f222194 | |
| parent | 17c4373b994340a47d4d6d69ea00ad8b24a58b78 [diff] |
Promisify scroll: element.idl changes behind a flag. While the IDL change here cannot be gated directly by the RTE flag `ProgrammaticScrollPromise` due to Blink IDL limitations, the return values exposed to JS remains `undefined` through the use of `EmptyPromise`. We know about one exposed regression here which seems too contrived to cause any compat concerns: a malformed `element.scroll*()` call no longer throws synchronously; instead it now returns a Promise synchronously which throws asynchronously. Bug: 41406914, 399876609 Change-Id: Ief59aad3ba24212ecb5080261e71e843eb44e446 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6318459 Commit-Queue: Mustaq Ahmed <mustaq@chromium.org> Reviewed-by: Vladimir Levin <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1477994}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.