Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /browsing-topics/iframe-topics-attribute.tentative.https.html - WPT Dashboard Interop Dashboard
<!doctype html>
<body>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/browsing-topics/resources/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>