summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resource-timing/nested-context-navigations-embed.html
blob: f804adbb8a99e44bd0f7d0c543ceea3f09e6ea62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name=timeout content=long>
<title>Resource Timing embed navigate - back button navigation</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="resources/nested-contexts.js"></script>
<script>
  open_test_window("resources/embed-navigate-back.html",
    "Test that embed navigations are not observable by the parent, even " +
    "after history navigations by the parent");
  open_test_window("resources/embed-navigate-back.html?crossorigin",
    "Test that crossorigin embed navigations are not observable by the " +
    "parent, even after history navigations by the parent");
  open_test_window("resources/embed-navigate-back.html?cross-site",
    "Test that cross-site embed navigations are not observable by the " +
    "parent, even after history navigations by the parent");

  open_test_window("resources/embed-navigate.html",
    "Test that embed navigations are not observable by the parent");
  open_test_window("resources/embed-navigate.html?crossorigin",
    "Test that crossorigin embed navigations are not observable by the parent");
  open_test_window("resources/embed-navigate.html?cross-site",
    "Test that cross-site embed navigations are not observable by the parent");
  open_test_window("resources/embed-refresh.html",
    "Test that embed refreshes are not observable by the parent");
  open_test_window("resources/embed-refresh.html?crossorigin",
    "Test that crossorigin embed refreshes are not observable by the parent");
  open_test_window("resources/embed-refresh.html?cross-site",
    "Test that cross-site embed refreshes are not observable by the parent");

</script>