|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <!-- |
|
4 https://bugzilla.mozilla.org/show_bug.cgi?id=366770 |
|
5 --> |
|
6 <head> |
|
7 <title>Test for Bug 366770</title> |
|
8 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
|
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> |
|
10 </head> |
|
11 <body> |
|
12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=366770">Mozilla Bug 366770</a> |
|
13 <p id="display"></p> |
|
14 <div id="content" style="display: none"></div> |
|
15 |
|
16 <!-- data: URI below corresponds to: |
|
17 <?xml version="1.0"?> |
|
18 <bindings id="xbltestBindings" xmlns="http://www.mozilla.org/xbl"> |
|
19 <binding id="xbltest"> |
|
20 <content>PASS</content> |
|
21 <implementation> |
|
22 <constructor> |
|
23 var win = XPCNativeWrapper.unwrap(window); |
|
24 win.document.bindingConstructorRan = true; |
|
25 win.ok(true, "binding URI with no fragment applied"); |
|
26 win.SimpleTest.finish(); |
|
27 </constructor> |
|
28 </implementation> |
|
29 </binding> |
|
30 </bindings> |
|
31 --> |
|
32 <span id="span" style="-moz-binding: url(data:text/xml;base64,ICA8YmluZGluZ3MgaWQ9InhibHRlc3RCaW5kaW5ncyIgeG1sbnM9Imh0dHA6Ly93d3cubW96aWxsYS5vcmcveGJsIj4KICAgIDxiaW5kaW5nIGlkPSJ4Ymx0ZXN0Ij4KICAgICAgPGNvbnRlbnQ+UEFTUzwvY29udGVudD4KICAgICAgPGltcGxlbWVudGF0aW9uPgogICAgICAgIDxjb25zdHJ1Y3Rvcj4KICAgICAgICAgIHZhciB3aW4gPSBYUENOYXRpdmVXcmFwcGVyLnVud3JhcCh3aW5kb3cpOwogICAgICAgICAgd2luLmRvY3VtZW50LmJpbmRpbmdDb25zdHJ1Y3RvclJhbiA9IHRydWU7CiAgICAgICAgICB3aW4ub2sodHJ1ZSwgImJpbmRpbmcgVVJJIHdpdGggbm8gZnJhZ21lbnQgYXBwbGllZCIpOwogICAgICAgICAgd2luLlNpbXBsZVRlc3QuZmluaXNoKCk7CiAgICAgICAgPC9jb25zdHJ1Y3Rvcj4KICAgICAgPC9pbXBsZW1lbnRhdGlvbj4KICAgIDwvYmluZGluZz4KICA8L2JpbmRpbmdzPg==);"></span> |
|
33 |
|
34 <pre id="test"> |
|
35 <script class="testbody" type="text/javascript"> |
|
36 /** Test for Bug 366770 **/ |
|
37 SimpleTest.waitForExplicitFinish(); |
|
38 </script> |
|
39 </pre> |
|
40 </body> |
|
41 </html> |