diff --git a/toolkit/content/tests/chrome/chrome.ini b/toolkit/content/tests/chrome/chrome.ini
index 860294c0c56e..f14fbc876449 100644
--- a/toolkit/content/tests/chrome/chrome.ini
+++ b/toolkit/content/tests/chrome/chrome.ini
@@ -114,6 +114,8 @@ subsuite = clipboard
[test_labelcontrol.xul]
[test_largemenu.xul]
skip-if = os == 'linux' && !debug # Bug 1207174
+[test_maximized_persist.xul]
+support-files = window_maximized_persist.xul
[test_menu.xul]
[test_menu_anchored.xul]
[test_menu_withcapture.xul]
diff --git a/toolkit/content/tests/chrome/test_maximized_persist.xul b/toolkit/content/tests/chrome/test_maximized_persist.xul
new file mode 100644
index 000000000000..be1f7f3c897b
--- /dev/null
+++ b/toolkit/content/tests/chrome/test_maximized_persist.xul
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/toolkit/content/tests/chrome/window_maximized_persist.xul b/toolkit/content/tests/chrome/window_maximized_persist.xul
new file mode 100644
index 000000000000..483a072fc791
--- /dev/null
+++ b/toolkit/content/tests/chrome/window_maximized_persist.xul
@@ -0,0 +1,15 @@
+
+
+
+
+