11 lines
312 B
JavaScript
11 lines
312 B
JavaScript
if (!self.GLOBAL || self.GLOBAL.isWindow()) {
|
|
test(() => {
|
|
assert_equals(document.title, "foo");
|
|
}, '<title> exists');
|
|
|
|
test(() => {
|
|
assert_equals(document.querySelectorAll("meta[name=timeout][content=long]").length, 1);
|
|
}, '<meta name=timeout> exists');
|
|
}
|
|
|
|
scripts.push('expect-title-meta.js');
|