From 69f3eb65b6b9cfd2ce9177b47a2f1c37fda1ac17 Mon Sep 17 00:00:00 2001 From: Graeme McCutcheon Date: Wed, 31 Dec 2008 11:40:23 +0100 Subject: [PATCH] Bug 418874 - undo function does not work in emptyText textboxes (e.g. Firefox search field, URL bar). r=gavin --- toolkit/content/tests/chrome/Makefile.in | 1 + .../content/tests/chrome/test_bug418874.xul | 99 +++++++++++++++++++ toolkit/content/widgets/textbox.xml | 1 + 3 files changed, 101 insertions(+) create mode 100644 toolkit/content/tests/chrome/test_bug418874.xul diff --git a/toolkit/content/tests/chrome/Makefile.in b/toolkit/content/tests/chrome/Makefile.in index 38344461e22b..f3746f4fbf41 100644 --- a/toolkit/content/tests/chrome/Makefile.in +++ b/toolkit/content/tests/chrome/Makefile.in @@ -57,6 +57,7 @@ _TEST_FILES = findbar_window.xul \ test_bug331215.xul \ bug263683_window.xul \ test_bug263683.xul \ + test_bug418874.xul \ bug451286_window.xul \ test_bug451286.xul \ test_popup_preventdefault_chrome.xul \ diff --git a/toolkit/content/tests/chrome/test_bug418874.xul b/toolkit/content/tests/chrome/test_bug418874.xul new file mode 100644 index 000000000000..78aa0a6a8db3 --- /dev/null +++ b/toolkit/content/tests/chrome/test_bug418874.xul @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + +

+

+ +
+    
+ + + + + +
diff --git a/toolkit/content/widgets/textbox.xml b/toolkit/content/widgets/textbox.xml index 5d72d932aafa..320ac6c2d6f1 100644 --- a/toolkit/content/widgets/textbox.xml +++ b/toolkit/content/widgets/textbox.xml @@ -164,6 +164,7 @@