mirror of
https://github.com/servo/servo.git
synced 2025-10-16 08:20:22 +01:00
19 lines
724 B
HTML
19 lines
724 B
HTML
<!doctype html>
|
|
<body>
|
|
<script src=/resources/testharness.js></script>
|
|
<script src=/resources/testharnessreport.js></script>
|
|
<script src=/browsing-topics/resources/navigation-header-util.sub.js></script>
|
|
<script>
|
|
async_test(t => {
|
|
test_topics_iframe_navigation_header(
|
|
t, /*has_browsing_topics_attribute=*/false, /*is_same_origin=*/false,
|
|
expect_topics_header_unavailable);
|
|
}, 'test <iframe src=[url]></iframe>');
|
|
|
|
async_test(t => {
|
|
test_topics_iframe_navigation_header(
|
|
t, /*has_browsing_topics_attribute=*/true, /*is_same_origin=*/false,
|
|
expect_topics_header_available);
|
|
}, 'test <iframe browsingtopics src=[url]></iframe>');
|
|
</script>
|
|
</body>
|