blob: d9bb12b96665010ade024b18eed5cb98de05f983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
const CHROME_PROCESS = E10SUtils.NOT_REMOTE;
const WEB_CONTENT_PROCESS = E10SUtils.WEB_REMOTE_TYPE;
add_task(async function() {
let url = "javascript:dosomething()";
ok(
E10SUtils.canLoadURIInRemoteType(url, /* fission */ false, CHROME_PROCESS),
"Check URL in chrome process."
);
ok(
E10SUtils.canLoadURIInRemoteType(
url,
/* fission */ false,
WEB_CONTENT_PROCESS
),
"Check URL in web content process."
);
});
|