diff --git a/content/base/test/chrome/Makefile.in b/content/base/test/chrome/Makefile.in
index 8c7be4f8a60..b6eb355f19d 100644
--- a/content/base/test/chrome/Makefile.in
+++ b/content/base/test/chrome/Makefile.in
@@ -50,6 +50,9 @@ MOCHITEST_CHROME_FILES = \
test_bug800386.xul \
test_csp_bug773891.html \
test_domparsing.xul \
+ test_bug814638.xul \
+ host_bug814638.xul \
+ frame_bug814638.xul \
$(NULL)
include $(topsrcdir)/config/rules.mk
diff --git a/content/base/test/chrome/frame_bug814638.xul b/content/base/test/chrome/frame_bug814638.xul
new file mode 100644
index 00000000000..28c1b6c46e8
--- /dev/null
+++ b/content/base/test/chrome/frame_bug814638.xul
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/content/base/test/chrome/host_bug814638.xul b/content/base/test/chrome/host_bug814638.xul
new file mode 100644
index 00000000000..081a12578f8
--- /dev/null
+++ b/content/base/test/chrome/host_bug814638.xul
@@ -0,0 +1,9 @@
+
+
+
+
+
+
diff --git a/content/base/test/chrome/test_bug814638.xul b/content/base/test/chrome/test_bug814638.xul
new file mode 100644
index 00000000000..86fcec71e8f
--- /dev/null
+++ b/content/base/test/chrome/test_bug814638.xul
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+ Mozilla Bug 814638
+
+
+
+
+