mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0
This commit is contained in:
@@ -12,10 +12,9 @@
|
||||
<link rel="help" href="http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface" />
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/get-host-info.sub.js"></script>
|
||||
<div id="log"></div>
|
||||
<iframe id="fr" src="http://{{domains[www1]}}:{{ports[http][0]}}/" onload="fr_load()" style="display:none"></iframe>
|
||||
<script>
|
||||
|
||||
var t = async_test("Window Security testing");
|
||||
|
||||
function fr_load() {
|
||||
@@ -192,3 +191,13 @@ function fr_load() {
|
||||
}
|
||||
|
||||
</script>
|
||||
<script>
|
||||
onload = function() {
|
||||
var frame = document.createElement('iframe');
|
||||
frame.id = "fr";
|
||||
frame.setAttribute("style", "display:none");
|
||||
frame.setAttribute('src', get_host_info().HTTP_REMOTE_ORIGIN + "/");
|
||||
frame.setAttribute("onload", "fr_load()");
|
||||
document.body.appendChild(frame);
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user