Re: [whatwg/dom] Specify addEventListener default passive hack for smoothscroll.js (Issue #1088)

Hmm. I wonder if the SmoothScrollJSInterventionActivated is broken. The sample URLs chart in https://chromestatus.com/metrics/feature/timeline/popularity/2020 had a sudden cutoff in April 2019.

When looking for the pragma that would invoke it (`("mousewheel", ssc_wheel)`) in `response_bodies`, in the sample 10k dataset, I find 30 pages (0.3%, which is in line with the pre-April 2019 use counter numbers). [Query results](https://docs.google.com/spreadsheets/d/14mO957FegDNY8UI6bIjo8tsZZ44IzkYtJvPiowRuAgQ/edit?usp=sharing).

<details>
<summary>query</summary>

```sql
SELECT
  page,
  url
FROM
  `httparchive.sample_data.response_bodies_mobile_10k`
WHERE
  REGEXP_CONTAINS(body, r'\(\s*["\']mousewheel["\']\s*,\s*ssc_wheel\s*\)')
```

</details>

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1088#issuecomment-1158581092
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1088/1158581092@github.com>

Received on Friday, 17 June 2022 07:31:29 UTC