blob: ffb03b4d79532f7a05495734e7a535d3bf458f6c (
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."
);
});
|