Document Bug
Reported by
mkhah...@gmail.com,
Oct 29 2017
|
|||
Issue descriptionIn the following developer page the description for the "matches" param says 'http://*.chromium.org/*' is valid while 'http://*.appspot.com/*' is not. I'm wondering what is the difference between these two patterns?! https://developer.chrome.com/apps/manifest/externally_connectable#reference
,
Oct 29 2017
Got it! Thanks for the clarification. Although it was better to use a common example like '*.edu.ac'.
,
Oct 29 2017
I agree the documentation is unclear and even misleading. Also, if Public Suffix List is used internally, it must be mentioned explicitly.
,
Oct 29 2017
Yep, externally_connectable uses Public Suffix List internally [1] so the documentation should mention it explicitly. [1]: https://cs.chromium.org/chromium/src/net/base/registry_controlled_domains/effective_tld_names.dat
,
Oct 29 2017
Actually I expected to be able to use 'https://*.localhost/*' for my tests but I can't. Is localhost a suffix too?
,
Oct 29 2017
You can add a dummy domain to etc/hosts that resolves to 127.0.0.1 In Windows it's %windir%\System32\drivers\etc\hosts
,
Oct 29 2017
Yes I have defined multiple domains (e.g. srv1.localhost, srv2.localhost, etc) in hosts file which point to different local IPs (e.g. 192.168.1.10, 192.168.1.11, etc) but it seems I have to list the domains in the manifest file and can not use *.localhost.
,
Oct 29 2017
Not sure localhost can be used as a suffix. I meant something more realistic like srv1.com, for example.
,
Oct 29 2017
Then *.com would be invalid unless I use a real domain like *.my-domain.com. I'll try that. Thanks for your thoughts any way.
,
Oct 31 2017
Adding appropriate label for further triage. Thanks!
,
Apr 18 2018
Adding TE-NeedsTriageHelp for moving this Unconfirmed issue out of TE's triaging bucket. |
|||
►
Sign in to add a comment |
|||
Comment 1 by woxxom@gmail.com
, Oct 29 2017