diff --git a/mozilla/toolkit/content/tests/chrome/Makefile.in b/mozilla/toolkit/content/tests/chrome/Makefile.in
index a374d65324c..ddc29d3d97b 100644
--- a/mozilla/toolkit/content/tests/chrome/Makefile.in
+++ b/mozilla/toolkit/content/tests/chrome/Makefile.in
@@ -46,7 +46,9 @@ include $(topsrcdir)/config/rules.mk
_TEST_FILES = bug288254_window.xul \
test_bug288254.xul \
+ bug360437_window.xul \
+ test_bug360437.xul \
$(NULL)
libs:: $(_TEST_FILES)
- $(INSTALL) $^ $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir)
\ No newline at end of file
+ $(INSTALL) $^ $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir)
diff --git a/mozilla/toolkit/content/tests/chrome/bug360437_window.xul b/mozilla/toolkit/content/tests/chrome/bug360437_window.xul
new file mode 100644
index 00000000000..cff059ebbbc
--- /dev/null
+++ b/mozilla/toolkit/content/tests/chrome/bug360437_window.xul
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mozilla/toolkit/content/tests/chrome/test_bug360437.xul b/mozilla/toolkit/content/tests/chrome/test_bug360437.xul
new file mode 100644
index 00000000000..25efdbaaa33
--- /dev/null
+++ b/mozilla/toolkit/content/tests/chrome/test_bug360437.xul
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+ Test for Bug 360437
+
+
+
+
+Mozilla Bug 360437
+
+
+
+
+
+
+
+
+
+
+