diff --git a/dom/base/test/file_bug372086.xml b/dom/base/test/file_bug372086.xml
new file mode 100644
index 000000000000..e8c8badcd4ec
--- /dev/null
+++ b/dom/base/test/file_bug372086.xml
@@ -0,0 +1,2 @@
+
+ghijkl
diff --git a/dom/base/test/mochitest.ini b/dom/base/test/mochitest.ini
index cce500d02727..01a0931f8467 100644
--- a/dom/base/test/mochitest.ini
+++ b/dom/base/test/mochitest.ini
@@ -69,6 +69,7 @@ support-files =
file_bug326337.xml
file_bug326337_inner.html
file_bug326337_outer.html
+ file_bug372086.xml
file_bug416317.xhtml
file_bug426646-1.html
file_bug426646-2.html
diff --git a/dom/base/test/test_bug372086.html b/dom/base/test/test_bug372086.html
index 75bf1a541711..2dc5b52a1d3b 100644
--- a/dom/base/test/test_bug372086.html
+++ b/dom/base/test/test_bug372086.html
@@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=372086
-->
-
diff --git a/dom/xbl/test/file_bug366770.xml b/dom/xbl/test/file_bug366770.xml
new file mode 100644
index 000000000000..11408ec46a5d
--- /dev/null
+++ b/dom/xbl/test/file_bug366770.xml
@@ -0,0 +1,14 @@
+
+
+
+ PASS
+
+
+ var win = XPCNativeWrapper.unwrap(window);
+ win.document.bindingConstructorRan = true;
+ win.ok(true, "binding URI with no fragment applied");
+ win.SimpleTest.finish();
+
+
+
+
diff --git a/dom/xbl/test/mochitest.ini b/dom/xbl/test/mochitest.ini
index 2adb0723cb39..8d0bd3b92b76 100644
--- a/dom/xbl/test/mochitest.ini
+++ b/dom/xbl/test/mochitest.ini
@@ -2,6 +2,7 @@
support-files =
bug310107-resource.xhtml
file_bug310107.html
+ file_bug366770.xml
file_bug372769.xhtml
file_bug379959_cross.html
file_bug379959_data.html
diff --git a/dom/xbl/test/test_bug366770.html b/dom/xbl/test/test_bug366770.html
index d3314ecca4d2..9eb84936a4cb 100644
--- a/dom/xbl/test/test_bug366770.html
+++ b/dom/xbl/test/test_bug366770.html
@@ -12,24 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=366770
Mozilla Bug 366770
-
-
-
+