mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
00b87e5ee3
--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>
|