mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
686a940c6e
The crashtest changes are untested (aside from the fact that they don't crash).
26 lines
679 B
HTML
26 lines
679 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
#div1 {
|
|
color: green;
|
|
-moz-binding: url(file_bug379959_xbl.xml#xbltest);
|
|
}
|
|
#div2 {
|
|
color: green;
|
|
-moz-binding: url(http://example.com/tests/content/xbl/test/file_bug379959_xbl.xml#xbltest);
|
|
}
|
|
</style>
|
|
<body>
|
|
<div id="div1"></div>
|
|
<div id="div2"></div>
|
|
<script>
|
|
onload = function() {
|
|
nodes = SpecialPowers.wrap(document).getAnonymousNodes(document.getElementById('div1'));
|
|
parent.postMessage(nodes ? nodes.length : 0, "http://mochi.test:8888");
|
|
nodes = SpecialPowers.wrap(document).getAnonymousNodes(document.getElementById('div2'));
|
|
parent.postMessage(nodes ? nodes.length : 0, "http://mochi.test:8888");
|
|
}
|
|
</script>
|
|
</html>
|