mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
64 lines
1.1 KiB
HTML
64 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Child window at 127.0.0.1</title>
|
|
<script type="application/javascript">
|
|
|
|
function run()
|
|
{
|
|
var storage;
|
|
|
|
var message = "child-response";
|
|
|
|
try {
|
|
storage = globalStorage["127.0.0.1"];
|
|
}
|
|
catch (ex) {
|
|
message += "\n failed globalStorage[\"127.0.0.1\"]";
|
|
}
|
|
|
|
try {
|
|
storage = globalStorage["126.0.0.1"];
|
|
message += "\n passed globalStorage[\"126.0.0.1\"]";
|
|
}
|
|
catch (ex) {
|
|
}
|
|
|
|
try {
|
|
storage = globalStorage["0.0.1"];
|
|
message += "\n passed globalStorage[\"0.0.1\"]";
|
|
}
|
|
catch (ex) {
|
|
}
|
|
|
|
try {
|
|
storage = globalStorage["126.0.0"];
|
|
message += "\n passed globalStorage[\"126.0.0\"]";
|
|
}
|
|
catch (ex) {
|
|
}
|
|
|
|
try {
|
|
storage = globalStorage["X.126.0.0.1"];
|
|
message += "\n passed globalStorage[\"X.126.0.0.1\"]";
|
|
}
|
|
catch (ex) {
|
|
}
|
|
|
|
try {
|
|
storage = globalStorage["X.0.0.1"];
|
|
message += "\n passed globalStorage[\"X.0.0.1\"]";
|
|
}
|
|
catch (ex) {
|
|
}
|
|
|
|
window.parent.postMessage(message, "http://mochi.test:8888");
|
|
}
|
|
|
|
window.addEventListener("load", run, false);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|