creepjs icon indicating copy to clipboard operation
creepjs copied to clipboard

iFrame test is broken

Open Niek opened this issue 2 years ago • 1 comments

See: https://abrahamjuliot.github.io/creepjs/tests/iframes.html - the page load hangs because this URL is unreachable:

https://github.com/abrahamjuliot/creepjs/blob/b701222b524b7f576f611ac365b724aabc6fba7d/docs/tests/iframes.js#L140

It would also be good to add an AbortController() to the fetch request (or any fetch requests, really), like this: https://dmitripavlutin.com/timeout-fetch-request/#2-timeout-a-fetch-request Or the new approach using an AbortSignal: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/timeout

Niek avatar Aug 16 '22 07:08 Niek

Hey Niek, thank you for reporting this.

I plan to host the JSON on GitHub pages and add fetch timeouts. Apps Script is a nice way to manage cron jobs and use is free, but it's too slow if web traffic increases.


  • [x] host JSON on GH pages
  • [ ] add fetch timeouts

abrahamjuliot avatar Aug 16 '22 16:08 abrahamjuliot