mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0
This commit is contained in:
parent
1d40075f03
commit
079092dfea
2381 changed files with 90360 additions and 17722 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue