Should url_handlers be working on localhost?

%3CLINGO-SUB%20id%3D%22lingo-sub-2734211%22%20slang%3D%22en-US%22%3EShould%20url_handlers%20be%20working%20on%20localhost%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2734211%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20do%20some%20testings%20on%20a%20PWA%20on%20localhost%20(%3CA%20href%3D%22https%3A%2F%2Flocalhost%3A5001%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Flocalhost%3A5001%3C%2FA%3E)%20but%20I'm%20getting%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%20data-unlink%3D%22true%22%3E%22url_handlers%20entry%20ignored%2C%20domain%20of%20required%20property%20'origin'%20is%20invalid.%22%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3EShould%20localhost%20be%20a%20valid%20domain%20for%20testing%20purposes%3F%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3EReferences%3A%3C%2FP%3E%3CP%3E-%20WICG%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FWICG%2Fpwa-url-handler%2Fblob%2Fmain%2Fexplainer.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FWICG%2Fpwa-url-handler%2Fblob%2Fmain%2Fexplainer.md%3C%2FA%3E%3C%2FP%3E%3CP%3E-%20Edge%2FPWA%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Fprogressive-web-apps-chromium%2Fexperimental-features%2F%23url-link-handling%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Fprogressive-web-apps-chromium%2Fexperimental-features%2F%23url-link-handling%3C%2FA%3E%3C%2FP%3E%3CP%3E-%20Web.dev%3A%20%3CA%20href%3D%22https%3A%2F%2Fweb.dev%2Fpwa-url-handler%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fweb.dev%2Fpwa-url-handler%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDesktop%20PWA%20URL%20handling%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%3EEnable%20web%20app%20manifests%20to%20declare%20URL%20handling%20behavior.%20Prototype%20implementation%20of%3A%20%3CA%20title%3D%22GitHub%20explainer%22%20href%3D%22https%3A%2F%2Fgithub.com%2FWICG%2Fpwa-url-handler%2Fblob%2Fmaster%2Fexplainer.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FWICG%2Fpwa-url-handler%2Fblob%2Fmaster%2Fexplainer.md%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E2%80%93%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22platforms%22%3EMac%2C%20Windows%2C%20Linux%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%20data-unlink%3D%22true%22%3E%23enable-desktop-pwas-url-handling%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I'm trying to do some testings on a PWA on localhost (https://localhost:5001) but I'm getting

 

"url_handlers entry ignored, domain of required property 'origin' is invalid."

 

Should localhost be a valid domain for testing purposes?

 

References:

- WICG: https://github.com/WICG/pwa-url-handler/blob/main/explainer.md

- Edge/PWA: https://docs.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/experimental-features/...

- Web.dev: https://web.dev/pwa-url-handler/

 

Desktop PWA URL handling

Enable web app manifests to declare URL handling behavior. Prototype implementation of: https://github.com/WICG/pwa-url-handler/blob/master/explainer.md  Mac, Windows, Linux

#enable-desktop-pwas-url-handling 

 

0 Replies