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
* add subdomainPublicGatewayUrl option with default of https://dweb.link
* add broken subdomain recovery via dweb.link public gateway
* add tests for subdomain recovery
* update gateway-form
* use subdomainPattern to extract protocol and cid from subdomain urls
* update add-on/_locales/en/messages.json
Co-Authored-By: Marcin Rataj <[email protected]>
assert.ok(browser.tabs.create.withArgs({url: 'https://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq.ipfs.dweb.link/wiki/',active: true,openerTabId: 20}).calledOnce,'tabs.create should be called with default subdomain gateway URL')
58
+
})
49
59
it('should do nothing if broken request is a non-IPFS request',asyncfunction(){
assert.ok(browser.tabs.create.withArgs({url: 'https://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq.ipfs.dweb.link/wiki/',active: true,openerTabId: 20}).calledOnce,'tabs.create should be called with default subdomain gateway URL')
147
+
})
123
148
it('should do nothing if failed request is a non-IPFS request',asyncfunction(){
0 commit comments