From 1185d3e9f7e58c42b1aac205e5dd253c14930b94 Mon Sep 17 00:00:00 2001 From: Roy Frostig Date: Thu, 17 Dec 2009 09:38:00 -0800 Subject: [PATCH] bug 514732. Additional tests for bug 514732 followup that fires MozScrolledAreaChanged on restore from bfcache. r=smaug --- layout/generic/test/Makefile.in | 8 ++ layout/generic/test/file_bug514732_window.xul | 81 +++++++++++++++++++ layout/generic/test/test_bug514732-2.xul | 45 +++++++++++ 3 files changed, 134 insertions(+) create mode 100755 layout/generic/test/file_bug514732_window.xul create mode 100644 layout/generic/test/test_bug514732-2.xul diff --git a/layout/generic/test/Makefile.in b/layout/generic/test/Makefile.in index 59c8397da161..4a45a950ac86 100644 --- a/layout/generic/test/Makefile.in +++ b/layout/generic/test/Makefile.in @@ -114,5 +114,13 @@ _TEST_FILES = \ # disabled temporarily # test_bug488417.html \ +_CHROME_FILES = \ + test_bug514732-2.xul \ + file_bug514732_window.xul \ + $(NULL) + libs:: $(_TEST_FILES) $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir) + +libs:: $(_CHROME_FILES) + $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir) diff --git a/layout/generic/test/file_bug514732_window.xul b/layout/generic/test/file_bug514732_window.xul new file mode 100755 index 000000000000..a6d42cff2b7a --- /dev/null +++ b/layout/generic/test/file_bug514732_window.xul @@ -0,0 +1,81 @@ + + + + + + + + + + + diff --git a/layout/generic/test/test_bug514732-2.xul b/layout/generic/test/test_bug514732-2.xul new file mode 100644 index 000000000000..827ab2de7c6b --- /dev/null +++ b/layout/generic/test/test_bug514732-2.xul @@ -0,0 +1,45 @@ + + + + + + + Test for Bug 514732 + + + + + + Mozilla Bug 514732 +

+ +
+
+ + + + +