mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
20 lines
434 B
HTML
20 lines
434 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<title>Iframe test for bug 534362</title>
|
||
|
</head>
|
||
|
<body">
|
||
|
<script>
|
||
|
function locationSetter(_href)
|
||
|
{
|
||
|
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
||
|
parent.setterCalled = true;
|
||
|
};
|
||
|
|
||
|
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
||
|
parent.setterCalled = false;
|
||
|
location.__proto__.href setter = locationSetter;
|
||
|
location.href = "javascript:";
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|