blob: 9e0fff2301545db9a7ca44404904c2c1e3fd98b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// These are used in tests that rely on URLs containing dangling markup. See
// https://github.com/whatwg/fetch/pull/519.
const kDanglingMarkupSubstrings = [
"blo\nck<ed",
"blo\rck<ed",
"blo\tck<ed",
"blo<ck\ned",
"blo<ck\red",
"blo<ck\ted",
];
function getTimeoutPromise(t) {
return new Promise(resolve =>
t.step_timeout(() => resolve("NOT LOADED"), 1500));
}
|