summaryrefslogtreecommitdiffstats
path: root/layout/tools/reftest/chrome/binding.xml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/tools/reftest/chrome/binding.xml')
-rw-r--r--layout/tools/reftest/chrome/binding.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/layout/tools/reftest/chrome/binding.xml b/layout/tools/reftest/chrome/binding.xml
new file mode 100644
index 0000000000..b68d64bd12
--- /dev/null
+++ b/layout/tools/reftest/chrome/binding.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<bindings xmlns="http://www.mozilla.org/xbl">
+<binding id="reftest-userxbl" bindToUntrustedContent="true">
+<implementation><constructor><![CDATA[
+this.style.backgroundColor = "lime";
+document.documentElement.removeAttribute("class");
+]]></constructor></implementation>
+</binding>
+</bindings>