mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
30 lines
719 B
HTML
30 lines
719 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<script>
|
|
var x=document.createElementNS('http://www.w3.org/1999/xhtml','style');
|
|
document.documentElement.appendChild(x);
|
|
function doe(){
|
|
var y=document.getElementsByTagName('style')[0];
|
|
}
|
|
setTimeout(doe,500);
|
|
</script>
|
|
|
|
<style>
|
|
style {-moz-binding:url(#randomxbl);}
|
|
</style>
|
|
|
|
<bindings xmlns="http://www.mozilla.org/xbl">
|
|
<binding id="randomxbl">
|
|
<implementation>
|
|
<constructor>
|
|
var x= parent.document.getElementsByTagName('iframe')[0];
|
|
x.parentNode.removeChild(x);
|
|
</constructor>
|
|
</implementation>
|
|
</binding>
|
|
</bindings>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|