You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq.ipfs.dead-domain-within-ok-tld.link/ fails and gets recovered by code added in #802
However, when original tab (with failed request) is clicked on, recovery code is sometimes executed again, resulting in duplicated tabs for recovered content. This happens on Chromium, was unable to reproduce on Firefox.
This fixes small quirks that did not break recovery,
but made it bit confusing or inefficient.
* fix: duplicated recovery tabs in Chromium
Deduplicate `onErrorOccurred` events: sometimes Chrome produces two, possibly due to lack of async functions in webRequest APIs
Closes#805
* fix: skip requests from DNS fixup logic in Firefox
Firefox automatically adds 'www.' to TLD+1 names if initial DNS lookup failed.
This produced bogus request+error which recovery logic is now aware of and ignores.
Closes#804
* Other
- make `onErrorOccurred` non-async (only Firefox supports those)
- listen only for errors when `webRequest.ResourceType`=`main_frame`
- reuse existing tab
DNS recovery was added in #800
https://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq.ipfs.dead-domain-within-ok-tld.link/
fails and gets recovered by code added in #802However, when original tab (with failed request) is clicked on, recovery code is sometimes executed again, resulting in duplicated tabs for recovered content. This happens on Chromium, was unable to reproduce on Firefox.
See also #804 (both may require similar fix)
The text was updated successfully, but these errors were encountered: