зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 5 changesets (bug 1413166) for failing valgrind-test at Conditional jump or move depends on uninitialised value(s) at nsCSSRuleProcessor::InitSystemMetrics / InitSystemMetrics / nsCSSRuleProcessor::HasSystemMetric / GetSystemMetric r=backout on a CLOSED TREE.
Backed out changeset b39bf4bf8127 (bug 1413166) Backed out changeset e1ef2adcc815 (bug 1413166) Backed out changeset 16fd21f5ad8c (bug 1413166) Backed out changeset 9e5f5924dad8 (bug 1413166) Backed out changeset 3b8671ab0719 (bug 1413166)
This commit is contained in:
Родитель
76b64c7c5f
Коммит
334a1e2309
|
@ -2271,10 +2271,6 @@ GK_ATOM(windows_glass, "windows-glass")
|
|||
GK_ATOM(touch_enabled, "touch-enabled")
|
||||
GK_ATOM(menubar_drag, "menubar-drag")
|
||||
GK_ATOM(swipe_animation_enabled, "swipe-animation-enabled")
|
||||
GK_ATOM(gtk_csd_available, "gtk-csd-available")
|
||||
GK_ATOM(gtk_csd_minimize_button, "gtk-csd-minimize-button")
|
||||
GK_ATOM(gtk_csd_maximize_button, "gtk-csd-maximize-button")
|
||||
GK_ATOM(gtk_csd_close_button, "gtk-csd-close-button")
|
||||
|
||||
// windows theme selector metrics
|
||||
GK_ATOM(windows_classic, "windows-classic")
|
||||
|
@ -2309,10 +2305,6 @@ GK_ATOM(_moz_device_pixel_ratio, "-moz-device-pixel-ratio")
|
|||
GK_ATOM(_moz_device_orientation, "-moz-device-orientation")
|
||||
GK_ATOM(_moz_is_resource_document, "-moz-is-resource-document")
|
||||
GK_ATOM(_moz_swipe_animation_enabled, "-moz-swipe-animation-enabled")
|
||||
GK_ATOM(_moz_gtk_csd_available, "-moz-gtk-csd-available")
|
||||
GK_ATOM(_moz_gtk_csd_minimize_button, "-moz-gtk-csd-minimize-button")
|
||||
GK_ATOM(_moz_gtk_csd_maximize_button, "-moz-gtk-csd-maximize-button")
|
||||
GK_ATOM(_moz_gtk_csd_close_button, "-moz-gtk-csd-close-button")
|
||||
|
||||
// application commands
|
||||
GK_ATOM(Back, "Back")
|
||||
|
|
|
@ -1159,30 +1159,6 @@ nsCSSRuleProcessor::InitSystemMetrics()
|
|||
sSystemMetrics->AppendElement(nsGkAtoms::swipe_animation_enabled);
|
||||
}
|
||||
|
||||
rv = LookAndFeel::GetInt(LookAndFeel::eIntID_GTKCSDAvailable,
|
||||
&metricResult);
|
||||
if (NS_SUCCEEDED(rv) && metricResult) {
|
||||
sSystemMetrics->AppendElement(nsGkAtoms::gtk_csd_available);
|
||||
}
|
||||
|
||||
rv = LookAndFeel::GetInt(LookAndFeel::eIntID_GTKCSDMinimizeButton,
|
||||
&metricResult);
|
||||
if (NS_SUCCEEDED(rv) && metricResult) {
|
||||
sSystemMetrics->AppendElement(nsGkAtoms::gtk_csd_minimize_button);
|
||||
}
|
||||
|
||||
rv = LookAndFeel::GetInt(LookAndFeel::eIntID_GTKCSDMaximizeButton,
|
||||
&metricResult);
|
||||
if (NS_SUCCEEDED(rv) && metricResult) {
|
||||
sSystemMetrics->AppendElement(nsGkAtoms::gtk_csd_maximize_button);
|
||||
}
|
||||
|
||||
rv = LookAndFeel::GetInt(LookAndFeel::eIntID_GTKCSDCloseButton,
|
||||
&metricResult);
|
||||
if (NS_SUCCEEDED(rv) && metricResult) {
|
||||
sSystemMetrics->AppendElement(nsGkAtoms::gtk_csd_close_button);
|
||||
}
|
||||
|
||||
#ifdef XP_WIN
|
||||
if (NS_SUCCEEDED(
|
||||
LookAndFeel::GetInt(LookAndFeel::eIntID_WindowsThemeIdentifier,
|
||||
|
|
|
@ -795,42 +795,6 @@ nsMediaFeatures::features[] = {
|
|||
GetSystemMetric
|
||||
},
|
||||
|
||||
{
|
||||
&nsGkAtoms::_moz_gtk_csd_available,
|
||||
nsMediaFeature::eMinMaxNotAllowed,
|
||||
nsMediaFeature::eBoolInteger,
|
||||
nsMediaFeature::eUserAgentAndChromeOnly,
|
||||
{ &nsGkAtoms::gtk_csd_available },
|
||||
GetSystemMetric
|
||||
},
|
||||
|
||||
{
|
||||
&nsGkAtoms::_moz_gtk_csd_minimize_button,
|
||||
nsMediaFeature::eMinMaxNotAllowed,
|
||||
nsMediaFeature::eBoolInteger,
|
||||
nsMediaFeature::eUserAgentAndChromeOnly,
|
||||
{ &nsGkAtoms::gtk_csd_minimize_button },
|
||||
GetSystemMetric
|
||||
},
|
||||
|
||||
{
|
||||
&nsGkAtoms::_moz_gtk_csd_maximize_button,
|
||||
nsMediaFeature::eMinMaxNotAllowed,
|
||||
nsMediaFeature::eBoolInteger,
|
||||
nsMediaFeature::eUserAgentAndChromeOnly,
|
||||
{ &nsGkAtoms::gtk_csd_maximize_button },
|
||||
GetSystemMetric
|
||||
},
|
||||
|
||||
{
|
||||
&nsGkAtoms::_moz_gtk_csd_close_button,
|
||||
nsMediaFeature::eMinMaxNotAllowed,
|
||||
nsMediaFeature::eBoolInteger,
|
||||
nsMediaFeature::eUserAgentAndChromeOnly,
|
||||
{ &nsGkAtoms::gtk_csd_close_button },
|
||||
GetSystemMetric
|
||||
},
|
||||
|
||||
// Internal -moz-is-glyph media feature: applies only inside SVG glyphs.
|
||||
// Internal because it is really only useful in the user agent anyway
|
||||
// and therefore not worth standardizing.
|
||||
|
|
|
@ -51,10 +51,6 @@ var suppressed_toggles = [
|
|||
"-moz-windows-compositor",
|
||||
"-moz-windows-default-theme",
|
||||
"-moz-windows-glass",
|
||||
"-moz-gtk-csd-available",
|
||||
"-moz-gtk-csd-minimize-button",
|
||||
"-moz-gtk-csd-maximize-button",
|
||||
"-moz-gtk-csd-close-button",
|
||||
];
|
||||
|
||||
var toggles_enabled_in_content = [
|
||||
|
|
|
@ -647,10 +647,6 @@ function run() {
|
|||
expression_should_not_be_parseable("-moz-windows-classic");
|
||||
expression_should_not_be_parseable("-moz-windows-glass");
|
||||
expression_should_not_be_parseable("-moz-swipe-animation-enabled");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-available");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-minimize-button");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-maximize-button");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-close-button");
|
||||
expression_should_be_parseable("-moz-touch-enabled");
|
||||
|
||||
expression_should_not_be_parseable("-moz-scrollbar-start-backward: 0");
|
||||
|
@ -667,10 +663,6 @@ function run() {
|
|||
expression_should_not_be_parseable("-moz-windows-classic: 0");
|
||||
expression_should_not_be_parseable("-moz-windows-glass: 0");
|
||||
expression_should_not_be_parseable("-moz-swipe-animation-enabled: 0");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-available: 0");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-minimize-button: 0");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-maximize-button: 0");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-close-button: 0");
|
||||
expression_should_be_parseable("-moz-touch-enabled: 0");
|
||||
|
||||
expression_should_not_be_parseable("-moz-scrollbar-start-backward: 1");
|
||||
|
@ -687,10 +679,6 @@ function run() {
|
|||
expression_should_not_be_parseable("-moz-windows-classic: 1");
|
||||
expression_should_not_be_parseable("-moz-windows-glass: 1");
|
||||
expression_should_not_be_parseable("-moz-swipe-animation-enabled: 1");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-available: 1");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-minimize-button: 1");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-maximize-button: 1");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-close-button: 1");
|
||||
expression_should_be_parseable("-moz-touch-enabled: 1");
|
||||
|
||||
expression_should_not_be_parseable("-moz-scrollbar-start-backward: -1");
|
||||
|
@ -708,10 +696,6 @@ function run() {
|
|||
expression_should_not_be_parseable("-moz-windows-glass: -1");
|
||||
expression_should_not_be_parseable("-moz-touch-enabled: -1");
|
||||
expression_should_not_be_parseable("-moz-swipe-animation-enabled: -1");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-available: -1");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-minimize-button: -1");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-maximize-button: -1");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-close-button: -1");
|
||||
|
||||
expression_should_not_be_parseable("-moz-scrollbar-start-backward: true");
|
||||
expression_should_not_be_parseable("-moz-scrollbar-start-forward: true");
|
||||
|
@ -728,10 +712,6 @@ function run() {
|
|||
expression_should_not_be_parseable("-moz-windows-glass: true");
|
||||
expression_should_not_be_parseable("-moz-touch-enabled: true");
|
||||
expression_should_not_be_parseable("-moz-swipe-animation-enabled: true");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-available: true");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-minimize-button: true");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-maximize-button: true");
|
||||
expression_should_not_be_parseable("-moz-gtk-csd-close-button: true");
|
||||
|
||||
// windows theme media queries
|
||||
expression_should_not_be_parseable("-moz-windows-theme: aero");
|
||||
|
|
Загрузка…
Ссылка в новой задаче