mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
07f1711dbc
--HG-- rename : content/svg/content/test/test_isSupported.xhtml => content/svg/content/test/test_hasFeature.xhtml
19 lines
300 B
HTML
19 lines
300 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<script type="text/javascript">
|
|
|
|
function boom()
|
|
{
|
|
var dp = document.__proto__;
|
|
dp.__proto__ = new XPCNativeWrapper(new XMLSerializer);
|
|
try {
|
|
dp.replaceChild();
|
|
} catch(e) { }
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();"></body>
|
|
</html>
|