diff --git a/toolkit/components/history/src/nsGlobalHistory.cpp b/toolkit/components/history/src/nsGlobalHistory.cpp
index aec34ecaf3ae..90c82f53322d 100644
--- a/toolkit/components/history/src/nsGlobalHistory.cpp
+++ b/toolkit/components/history/src/nsGlobalHistory.cpp
@@ -3783,8 +3783,7 @@ nsGlobalHistory::RowMatches(nsIMdbRow *aRow,
NS_ConvertUCS2toUTF8 utf8Value(term->text);
if (term->method.Equals("is")) {
-
- if (utf8Value != rowVal)
+ if (!utf8Value.Equals(rowVal, nsCaseInsensitiveCStringComparator()))
return PR_FALSE;
}
@@ -3794,12 +3793,12 @@ nsGlobalHistory::RowMatches(nsIMdbRow *aRow,
}
else if (term->method.Equals("contains")) {
- if (!FindInReadable(utf8Value, start, end))
+ if (!FindInReadable(utf8Value, start, end, nsCaseInsensitiveCStringComparator()))
return PR_FALSE;
}
else if (term->method.Equals("doesntcontain")) {
- if (FindInReadable(utf8Value, start, end))
+ if (FindInReadable(utf8Value, start, end, nsCaseInsensitiveCStringComparator()))
return PR_FALSE;
}
@@ -3807,7 +3806,7 @@ nsGlobalHistory::RowMatches(nsIMdbRow *aRow,
// need to make sure that the found string is
// at the beginning of the string
nsACString::const_iterator real_start = start;
- if (!(FindInReadable(utf8Value, start, end) &&
+ if (!(FindInReadable(utf8Value, start, end, nsCaseInsensitiveCStringComparator()) &&
real_start == start))
return PR_FALSE;
}
@@ -3816,7 +3815,7 @@ nsGlobalHistory::RowMatches(nsIMdbRow *aRow,
// need to make sure that the found string ends
// at the end of the string
nsACString::const_iterator real_end = end;
- if (!(RFindInReadable(utf8Value, start, end) &&
+ if (!(RFindInReadable(utf8Value, start, end, nsCaseInsensitiveCStringComparator()) &&
real_end == end))
return PR_FALSE;
}
diff --git a/toolkit/content/widgets/button.xml b/toolkit/content/widgets/button.xml
index b4f79eb25ce5..3c3662299f4f 100644
--- a/toolkit/content/widgets/button.xml
+++ b/toolkit/content/widgets/button.xml
@@ -69,6 +69,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -84,11 +118,51 @@
]]>
+
+
+
+
+ extends="chrome://global/content/bindings/button.xml#button-base">
@@ -106,7 +180,7 @@
diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css
index ae73ba9faf1a..cb26173b2d42 100644
--- a/toolkit/content/xul.css
+++ b/toolkit/content/xul.css
@@ -371,7 +371,7 @@ column {
/******** listbox **********/
listbox {
- -moz-binding: url("chrome://global/content/bindings/listbox.xml#listbox");
+ -moz-binding: url("chrome://global/content/widgets/listbox.xml#listbox");
}
listcols, listcol {