mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
110cb44583
--HG-- extra : rebase_source : c860de457e25114244c86ff8063ca6c1390e33ae
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>
|