Improve cross-tool protocol's origin allow listing

Test: npm run build:all && npm run test:all
Bug: b/260994827
Change-Id: Iab8db927a55f060784a375f00a831bd10020ed0c
5 files changed