зеркало из https://github.com/mozilla/pjs.git
Bug 545734 - need to hide the iframe used for submitting plugin crash reports. r=ted.mielczarek
This commit is contained in:
Родитель
75b65b0a93
Коммит
235f04f12a
|
@ -266,6 +266,7 @@ Submitter.prototype = {
|
|||
onStateChange: function(aWebProgress, aRequest, aFlag, aStatus)
|
||||
{
|
||||
if(aFlag & STATE_STOP) {
|
||||
this.iframe.docShell.QueryInterface(Ci.nsIWebProgress);
|
||||
this.iframe.docShell.removeProgressListener(this);
|
||||
|
||||
// check general request status first
|
||||
|
@ -311,6 +312,8 @@ Submitter.prototype = {
|
|||
this.extra = extra;
|
||||
let iframe = this.document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "iframe");
|
||||
iframe.setAttribute("type", "content");
|
||||
iframe.style.width = 0;
|
||||
iframe.style.minWidth = 0;
|
||||
|
||||
let self = this;
|
||||
function loadHandler() {
|
||||
|
@ -366,4 +369,4 @@ let CrashSubmit = {
|
|||
};
|
||||
|
||||
// Run this when first loaded
|
||||
getL10nStrings();
|
||||
getL10nStrings();
|
||||
|
|
Загрузка…
Ссылка в новой задаче