From fad91e3de5bd2123fd095052ec27b3e5ea528b82 Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Thu, 9 Jun 2016 15:07:21 -0500 Subject: [PATCH] Added test for whether only fully active documents contribute to the joint session history. --- tests/wpt/metadata/MANIFEST.json | 10 +++++++ ...session-history-only-fully-active.html.ini | 4 +++ .../joint-session-history-child1.html | 18 +++++++++++ .../joint-session-history-child2.html | 5 ++++ .../joint-session-history-grandchild1.html | 8 +++++ .../joint-session-history-grandchild2.html | 5 ++++ ...int-session-history-only-fully-active.html | 30 +++++++++++++++++++ 7 files changed, 80 insertions(+) create mode 100644 tests/wpt/metadata/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html.ini create mode 100644 tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-child1.html create mode 100644 tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-child2.html create mode 100644 tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-grandchild1.html create mode 100644 tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-grandchild2.html create mode 100644 tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 392e55b4cdc..069fe38d842 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -265,6 +265,10 @@ "path": "html-media-capture/capture_video_cancel-manual.html", "url": "/html-media-capture/capture_video_cancel-manual.html" }, + { + "path": "html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html", + "url": "/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html" + }, { "path": "html/browsers/history/the-history-interface/non-automated/traverse_the_history_unload_prompt_1-manual.html", "url": "/html/browsers/history/the-history-interface/non-automated/traverse_the_history_unload_prompt_1-manual.html" @@ -36036,6 +36040,12 @@ "url": "/cssom-view/scrolling-no-browsing-context.html" } ], + "html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html": [ + { + "path": "html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html", + "url": "/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html" + } + ], "html/semantics/embedded-content/the-iframe-element/change_parentage.html": [ { "path": "html/semantics/embedded-content/the-iframe-element/change_parentage.html", diff --git a/tests/wpt/metadata/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html.ini b/tests/wpt/metadata/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html.ini new file mode 100644 index 00000000000..24d84a1853f --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html.ini @@ -0,0 +1,4 @@ +[joint-session-history-only-fully-active.html] + type: testharness + [Do only fully active documents count for session history?] + expected: FAIL diff --git a/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-child1.html b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-child1.html new file mode 100644 index 00000000000..22bb0b2980a --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-child1.html @@ -0,0 +1,18 @@ + + Child1. + + + diff --git a/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-child2.html b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-child2.html new file mode 100644 index 00000000000..24b46951668 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-child2.html @@ -0,0 +1,5 @@ +Child 2. + diff --git a/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-grandchild1.html b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-grandchild1.html new file mode 100644 index 00000000000..d05e1524255 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-grandchild1.html @@ -0,0 +1,8 @@ + + Grandchild1. + + diff --git a/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-grandchild2.html b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-grandchild2.html new file mode 100644 index 00000000000..b5c81e1fcab --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-grandchild2.html @@ -0,0 +1,5 @@ +Grandchild2. + diff --git a/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html new file mode 100644 index 00000000000..c42d160a21c --- /dev/null +++ b/tests/wpt/web-platform-tests/html/browsers/history/joint-session-history/joint-session-history-only-fully-active.html @@ -0,0 +1,30 @@ + + +Do only fully active documents count for session history? + + + + + +