fune/testing/web-platform/tests/domparsing/DOMParser-parseFromString-url-base-pushstate.html
Domenic Denicola f23649b4f6 Bug 1607043 [wpt PR 21041] - Expand tests for DOMParser, a=testonly
Automatic update from web-platform-tests
Expand tests for DOMParser

This tests the resulting Document's:

* URL (under a large variety of conditions)
* content type, for parser errors, which were not tested previously
* compatMode
* noscript behavior

This largely supercedes #15548, except for the navigation test therein.
--

wpt-commits: e7d73ac59a51e7d39129bf1ab223d8271c22da7f
wpt-pr: 21041
2020-01-31 20:40:37 +00:00

13 lines
536 B
HTML

<!doctype html>
<title>DOMParser test of how the document's URL is set (base, pushstate)</title>
<base href="/fake/base-from-outer-frame">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<iframe src="/domparsing/resources/domparser-iframe-base-pushstate.html" onload="window.resolveLoadPromise();"></iframe>
<script>
"use strict";
history.pushState(null, "", "/fake/push-state-from-outer-frame");
</script>
<script src="/domparsing/resources/domparser-url-tests.js"></script>