mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
This patch creates a pluginProblem UA Widget and constructs it (instead of the XBL pluginProblem binding) when UA Widget is enabled. Tests in browser/base/content/test/plugins/ are duplicated so that we could test both versions. Depends on D11702 Differential Revision: https://phabricator.services.mozilla.com/D11703
38 lines
1.2 KiB
CSS
38 lines
1.2 KiB
CSS
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
|
|
|
|
embed:-moz-handler-blocked,
|
|
embed:-moz-handler-crashed,
|
|
embed:-moz-handler-clicktoplay,
|
|
embed:-moz-handler-vulnerable-updatable,
|
|
embed:-moz-handler-vulnerable-no-update,
|
|
object:-moz-handler-blocked,
|
|
object:-moz-handler-crashed,
|
|
object:-moz-handler-clicktoplay,
|
|
object:-moz-handler-vulnerable-updatable,
|
|
object:-moz-handler-vulnerable-no-update {
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
@supports not -moz-bool-pref("dom.ua_widget.enabled") {
|
|
|
|
embed:-moz-handler-blocked,
|
|
embed:-moz-handler-crashed,
|
|
embed:-moz-handler-clicktoplay,
|
|
embed:-moz-handler-vulnerable-updatable,
|
|
embed:-moz-handler-vulnerable-no-update,
|
|
object:-moz-handler-blocked,
|
|
object:-moz-handler-crashed,
|
|
object:-moz-handler-clicktoplay,
|
|
object:-moz-handler-vulnerable-updatable,
|
|
object:-moz-handler-vulnerable-no-update {
|
|
-moz-binding: url('chrome://pluginproblem/content/pluginProblem.xml#pluginProblem') !important;
|
|
}
|
|
|
|
}
|