зеркало из https://github.com/mozilla/pjs.git
Bug 560602: browser_pageInfo.js times out. r=robstrong
This commit is contained in:
Родитель
fd75171f71
Коммит
5a3f0edc7b
|
@ -1,6 +1,6 @@
|
|||
|
||||
#viewGroup > radio {
|
||||
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#viewbutton");
|
||||
-moz-binding: url("chrome://browser/content/pageinfo/pageInfo.xml#viewbutton");
|
||||
}
|
||||
|
||||
richlistitem[feed] {
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<bindings id="pageInfoBindings"
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:xbl="http://www.mozilla.org/xbl">
|
||||
|
||||
<!-- based on preferences.xml paneButton -->
|
||||
<binding id="viewbutton" extends="chrome://global/content/bindings/radio.xml#radio">
|
||||
<content>
|
||||
<xul:image class="viewButtonIcon" xbl:inherits="src"/>
|
||||
<xul:label class="viewButtonLabel" xbl:inherits="value=label"/>
|
||||
</content>
|
||||
<implementation implements="nsIAccessibleProvider">
|
||||
<property name="accessibleType" readonly="true">
|
||||
<getter>
|
||||
<![CDATA[
|
||||
return Components.interfaces.nsIAccessibleProvider.XULListitem;
|
||||
]]>
|
||||
</getter>
|
||||
</property>
|
||||
</implementation>
|
||||
</binding>
|
||||
|
||||
</bindings>
|
|
@ -63,9 +63,13 @@ var gPermObj = {
|
|||
},
|
||||
install: function getInstallDefaultPermission()
|
||||
{
|
||||
if (gPrefs.getBoolPref("xpinstall.whitelist.required"))
|
||||
return BLOCK;
|
||||
return ALLOW;
|
||||
try {
|
||||
if (!gPrefs.getBoolPref("xpinstall.whitelist.required"))
|
||||
return ALLOW;
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
return BLOCK;
|
||||
},
|
||||
geo: function getGeoDefaultPermissions()
|
||||
{
|
||||
|
|
|
@ -27,6 +27,7 @@ browser.jar:
|
|||
* content/browser/pageinfo/pageInfo.xul (content/pageinfo/pageInfo.xul)
|
||||
* content/browser/pageinfo/pageInfo.js (content/pageinfo/pageInfo.js)
|
||||
* content/browser/pageinfo/pageInfo.css (content/pageinfo/pageInfo.css)
|
||||
* content/browser/pageinfo/pageInfo.xml (content/pageinfo/pageInfo.xml)
|
||||
* content/browser/pageinfo/feeds.js (content/pageinfo/feeds.js)
|
||||
* content/browser/pageinfo/feeds.xml (content/pageinfo/feeds.xml)
|
||||
* content/browser/pageinfo/permissions.js (content/pageinfo/permissions.js)
|
||||
|
|
Загрузка…
Ссылка в новой задаче