Commit 0d823495 authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Commit Bot

Import wpt@1f9c924a4bf958c8bbd0233c8f0c0faf9251ac96

Using wpt-import in Chromium 5edcf150.

Build: https://ci.chromium.org/buildbot/chromium.infra.cron/wpt-importer/9456

Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

TBR=foolip

No-Export: true
Change-Id: Iaa1bc72df228516e25226ee08436e55b9ca7eece
Reviewed-on: https://chromium-review.googlesource.com/847281
Commit-Queue: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Reviewed-by: default avatarBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#526531}
parent eaa2bfb3
...@@ -2,6 +2,5 @@ This is a testharness.js-based test. ...@@ -2,6 +2,5 @@ This is a testharness.js-based test.
FAIL Check that browsing context has new, ready HTML document assert_equals: The document's encoding should be 'UTF-8'. expected "UTF-8" but got "windows-1252" FAIL Check that browsing context has new, ready HTML document assert_equals: The document's encoding should be 'UTF-8'. expected "UTF-8" but got "windows-1252"
PASS Check that new document nodes extant, empty PASS Check that new document nodes extant, empty
PASS Check the document properties corresponding to the creator browsing context PASS Check the document properties corresponding to the creator browsing context
PASS Check the history.length of the created browsing context
Harness: the test ran to completion. Harness: the test ran to completion.
...@@ -44,11 +44,6 @@ ...@@ -44,11 +44,6 @@
assert_equals(doc.referrer, document.URL, "The document's referrer should be its creator document's address."); assert_equals(doc.referrer, document.URL, "The document's referrer should be its creator document's address.");
assert_equals(iframe.contentWindow.parent.document, document); assert_equals(iframe.contentWindow.parent.document, document);
}, "Check the document properties corresponding to the creator browsing context"); }, "Check the document properties corresponding to the creator browsing context");
test(function () {
assert_equals(iframe.contentWindow.history.length, 1, "The history.length should be 1.");
}, "Check the history.length of the created browsing context");
</script> </script>
</body> </body>
</html> </html>
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