Home
last modified time | relevance | path

Searched refs:OriginAllowList (Results 1 – 3 of 3) sorted by relevance

/development/tools/winscope/src/cross_tool/
Dorigin_allow_list_test.ts17 import {OriginAllowList} from './origin_allow_list';
25 OriginAllowList.isAllowed('http://localhost:8081', mode),
28 OriginAllowList.isAllowed('https://localhost:8081', mode),
37 expect(OriginAllowList.isAllowed('https://google.com', mode)).toBeTrue();
39 OriginAllowList.isAllowed('https://subdomain.google.com', mode),
45 OriginAllowList.isAllowed('https://evilgoogle.com', mode),
48 OriginAllowList.isAllowed('https://evil.com/google.com', mode),
54 OriginAllowList.isAllowed('https://googleplex.com', mode),
57 OriginAllowList.isAllowed('https://subdomain.googleplex.com', mode),
63 OriginAllowList.isAllowed('https://evilgoogleplex.com', mode),
[all …]
Dorigin_allow_list.ts19 export class OriginAllowList { class
27 ...OriginAllowList.ALLOW_LIST_PROD,
32 const list = OriginAllowList.getList(mode);
46 return OriginAllowList.ALLOW_LIST_DEV;
48 return OriginAllowList.ALLOW_LIST_DEV;
50 return OriginAllowList.ALLOW_LIST_PROD;
Dcross_tool_protocol.ts41 import {OriginAllowList} from './origin_allow_list';
111 if (!OriginAllowList.isAllowed(event.origin)) {