зеркало из https://github.com/mozilla/gecko-dev.git
20 строки
755 B
HTML
20 строки
755 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<head>
|
||
|
<link rel="stylesheet" type="text/css" media="all" href="http://example.org/tests/netwerk/test/mochitests/test1.css" />
|
||
|
<link rel="stylesheet" type="text/css" media="all" href="http://example.com/tests/netwerk/test/mochitests/test2.css" />
|
||
|
<script type="text/javascript">
|
||
|
function runTest() {
|
||
|
document.cookie = "can2=has2";
|
||
|
|
||
|
// send a message to our test document, to say we're done loading
|
||
|
window.parent.opener.postMessage("message", "http://mochi.test:8888");
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<img src="http://example.org/tests/netwerk/test/mochitests/image1.png" onload="runTest()" />
|
||
|
<img src="http://example.com/tests/netwerk/test/mochitests/image2.png" onload="runTest()" />
|
||
|
</body>
|
||
|
</html>
|