- From: Mustaq Ahmed via GitHub <noreply@w3.org>
- Date: Mon, 23 Jun 2025 21:24:44 +0000
- To: public-css-archive@w3.org
While implementing this, we found two Blink tests that are affected by a minor error handling change caused by this proposal here. I don't expect this corner case to be a compat problem, and wanted to check what other folks here think: A JS parsing error caused by a malformed `scroll*()` call would no longer throw synchronously; instead it would return a Promise that would throw asynchronously. For example, in Blink the `shouldThrow('window.scrollTo(x)')` call [here](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/fast/dom/Window/window-scroll-arguments.html;drc=77578ccb4082ae20a9326d9e673225f1189ebb63;l=41) fails because the `eval()` is seeing a `Promise` object instead of an exception. Anyone concerned? -- GitHub Notification of comment by mustaqahmed Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1562#issuecomment-2997993316 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 23 June 2025 21:24:45 UTC