Backed out changeset 4ebf2657b295 (bug 920927) for Android Reftest Failure on a CLOSED TREE

This commit is contained in:
Carsten "Tomcat" Book 2013-09-30 15:05:09 +02:00
Родитель 144c2a1b52
Коммит 4526325752
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -313,7 +313,7 @@ var gPluginHandler = {
break;
}
// Show the in-content UI if it's not too big. The crashed plugin handler already did this.
// Hide the in-content UI if it's too big. The crashed plugin handler already did this.
if (eventType != "PluginCrashed" && eventType != "PluginRemoved") {
let overlay = this.getPluginUI(plugin, "main");
if (overlay != null) {
@ -989,12 +989,12 @@ var gPluginHandler = {
if (this.isTooSmall(plugin, overlay)) {
// Hide the overlay's contents. Use visibility style, so that it doesn't
// collapse down to 0x0.
overlay.style.visibility = "hidden";
isShowing = false;
}
}
if (isShowing) {
overlay.style.visibility = "visible";
// If a previous plugin on the page was too small and resulted in adding a
// notification bar, then remove it because this plugin instance it big
// enough to serve as in-content notification.

Просмотреть файл

@ -26,6 +26,9 @@ object:-moz-handler-playpreview,
object:-moz-handler-vulnerable-updatable,
object:-moz-handler-vulnerable-no-update {
display: inline-block;
/* Initialize the overlay with visibility:hidden to prevent flickering if
* the plugin is too small to show the overlay */
visibility: hidden;
overflow: hidden;
opacity: 1 !important;
-moz-binding: url('chrome://mozapps/content/plugins/pluginProblem.xml#pluginProblem') !important;

Просмотреть файл

@ -42,9 +42,6 @@ html|applet:not([height]), html|applet[height=""] {
.mainBox {
width: inherit;
height: inherit;
/* Initialize the overlay with visibility:hidden to prevent flickering if
* the plugin is too small to show the overlay */
visibility: hidden;
overflow: hidden;
direction: ltr;
unicode-bidi: embed;