Commit 3636550e authored by tkent's avatar tkent Committed by Commit bot
Browse files

Unimport two iframe tests.

* cross_origin_parentage.html needs an HTTP server.
* same_origin_parentage.html needs an extra HTML resource.

TBR=rbyers@chromium.org
NOTRY=true

Review-Url: https://codereview.chromium.org/2102943002
Cr-Commit-Position: refs/heads/master@{#402361}
parent a40dd448
......@@ -532,6 +532,7 @@ imported/wpt/html/semantics/document-metadata/the-base-element/base_multiple.htm
imported/wpt/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html [ Skip ]
imported/wpt/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html [ Skip ]
imported/wpt/html/semantics/embedded-content/the-iframe-element/change_parentage.html [ Skip ]
imported/wpt/html/semantics/embedded-content/the-iframe-element/same_origin_parentage.html [ Skip ]
imported/wpt/html/semantics/embedded-content/the-object-element/object-handler.html [ Skip ]
imported/wpt/html/semantics/forms/attributes-common-to-form-controls/dirname-ltr.html [ Skip ]
imported/wpt/html/semantics/forms/the-button-element/button-activate.html [ Skip ]
......@@ -622,6 +623,7 @@ imported/wpt/dom/nodes/Element-matches.html [ Skip ]
imported/wpt/html/browsers/history/the-history-interface/008.html [ Skip ]
imported/wpt/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html [ Skip ]
imported/wpt/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html [ Skip ]
imported/wpt/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage.html [ Skip ]
imported/wpt/html/semantics/scripting-1/the-script-element/external-script-utf8.js [ Skip ]
imported/wpt/html/semantics/scripting-1/the-script-element/external-script-windows1250.js [ Skip ]
imported/wpt/html/semantics/scripting-1/the-script-element/script-charset-01.html [ Skip ]
......
This is a testharness.js-based test.
FAIL Check the frame heriarchy assert_equals: expected 200 but got 0
FAIL Check the frame heriarchy 1 assert_equals: expected 200 but got 0
FAIL Check the frame heriarchy 2 assert_equals: expected 200 but got 0
Harness: the test ran to completion.
<!doctype html>
<meta charset="utf-8">
<title>Check the frame heriarchy</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="iframe_harness.js"></script>
<body>
<iframe src="http://www1.web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html"></iframe>
</body>
<script>
get_test_results('bffa23ee-b45a-4e9a-9405-87ab437d5cfa');
get_test_results('79a52de8-4222-427e-92db-caec28e75f8e');
get_test_results('6c8da65d-2c5e-44ef-bb0b-b8b9849aab19');
send_test_results({
"id": 'bffa23ee-b45a-4e9a-9405-87ab437d5cfa',
"parent": window.parent === window,
"top": window.top === window,
});
</script>
This is a testharness.js-based test.
FAIL Check the frame heriarchy assert_equals: expected 200 but got 0
FAIL Check the frame heriarchy 1 assert_equals: expected 200 but got 0
FAIL Check the frame heriarchy 2 assert_equals: expected 200 but got 0
Harness: the test ran to completion.
<!doctype html>
<meta charset="utf-8">
<title>Check the frame heriarchy</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="iframe_harness.js"></script>
<body>
<iframe src="same_origin_child.html"></iframe>
</body>
<script>
get_test_results('17381dae-9c3e-4661-9f2b-28eb07a5f2fc');
get_test_results('08782f28-e313-47ae-8cd7-419f3e194b0a');
get_test_results('66de8d44-7da7-47c7-9a52-41cba4f22bfe');
send_test_results({
"id": '17381dae-9c3e-4661-9f2b-28eb07a5f2fc',
"parent": window.parent === window,
"top": window.top === window,
});
</script>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment