dom/xbl/test/file_bug379959_cross.html

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:ac30cdd4bfdf
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <style>
5 #div1 {
6 color: green;
7 -moz-binding: url(file_bug379959_xbl.xml#xbltest);
8 }
9 #div2 {
10 color: green;
11 -moz-binding: url(http://example.com/tests/dom/xbl/test/file_bug379959_xbl.xml#xbltest);
12 }
13 </style>
14 <body>
15 <div id="div1"></div>
16 <div id="div2"></div>
17 <script>
18 onload = function() {
19 nodes = SpecialPowers.wrap(document).getAnonymousNodes(document.getElementById('div1'));
20 parent.postMessage(nodes ? nodes.length : 0, "http://mochi.test:8888");
21 nodes = SpecialPowers.wrap(document).getAnonymousNodes(document.getElementById('div2'));
22 parent.postMessage(nodes ? nodes.length : 0, "http://mochi.test:8888");
23 }
24 </script>
25 </html>

mercurial