blob: df2f8b048c370d3ab009946d73d7de6f8a412471 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// META: global=window,dedicatedworker,sharedworker
// META: title=foobar
test(t => {
if (GLOBAL.isWindow()) {
assert_equals(document.title, 'foobar');
assert_false('META_TITLE' in self);
} else {
assert_equals(META_TITLE, 'foobar');
}
assert_equals(t.name, 'foobar');
});
done();
|