mozilla-rally / rally

A monorepo for Rally project containing Rally SDK, Rally Web Platform and Extensions.
Mozilla Public License 2.0
7 stars 6 forks source link

Remove requestIdleCallback #572

Closed aaga closed 1 year ago

aaga commented 1 year ago

Closes #473

We had added a requestIdleCallback before doing web-check (https://github.com/mozilla-rally/rally/pull/250) because the extension SDK wasn't loading it's content script fast enough (and so the message was getting lost). We fixed the extension so we can remove that callback now.

Also, Safari doesn't support requestIdleCallback, so it was breaking Safari (and by extension, iOS).

https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback#browser_compatibility

netlify[bot] commented 1 year ago

Deploy Preview for rally-prod failed.

Name Link
Latest commit ebd25f9f8a08ef1c35f8fbe8f9687fec77facac1
Latest deploy log https://app.netlify.com/sites/rally-prod/deploys/63ae093f9c0cd20008a6beb7
netlify[bot] commented 1 year ago

Deploy Preview for rally-staging failed.

Name Link
Latest commit ebd25f9f8a08ef1c35f8fbe8f9687fec77facac1
Latest deploy log https://app.netlify.com/sites/rally-staging/deploys/63ae093fd1a9fc00082a080c