зеркало из https://github.com/mozilla/gecko-dev.git
Bug 545734 - need to hide the iframe used for submitting plugin crash reports. r=ted.mielczarek
This commit is contained in:
Родитель
b312f3e0d2
Коммит
928696cee9
|
@ -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() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче