mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
29 lines
485 B
HTML
29 lines
485 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
.bound {
|
|
-moz-binding: url(file_bug795275.xml#xbltest);
|
|
}
|
|
</style>
|
|
<script type="application/javascript">
|
|
function touchComponents() {
|
|
Components;
|
|
}
|
|
function touchInterfaces() {
|
|
Components.interfaces;
|
|
}
|
|
|
|
function touchViaXBL() {
|
|
// Make sure none of this warns.
|
|
var div = document.getElementById('dummy');
|
|
div.testProp;
|
|
div.testMethod();
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="dummy" class="bound"></div>
|
|
</body>
|
|
</html>
|