mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-05 10:48:15 +02:00
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
12 lines
492 B
HTML
12 lines
492 B
HTML
<!doctype html>
|
|
<title>DOMParser test of how the document's URL is set (no base, pushstate)</title>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
|
|
<iframe src="/domparsing/resources/domparser-iframe-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>
|