From 3afc5f9789badb983a5959ebf2c8f616bddbd194 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Sun, 21 Dec 2003 04:04:14 +0000 Subject: [PATCH] Bug 228398 Warning ``reference to undefined property this.mContentDisposition'' [xs] in file ``chrome://communicator/content/contentAreaUtils.js'', line 559, character 0. r=neil sr=bz git-svn-id: svn://10.0.0.236/trunk@150584 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/communicator/resources/content/contentAreaUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js b/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js index 9581bc3294a..179cd960d37 100644 --- a/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js +++ b/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js @@ -556,7 +556,7 @@ nsHeaderSniffer.prototype = { { var fileName = ""; - if (this.mContentDisposition) { + if ("mContentDisposition" in this) { const mhpContractID = "@mozilla.org/network/mime-hdrparam;1" const mhpIID = Components.interfaces.nsIMIMEHeaderParam; const mhp = Components.classes[mhpContractID].getService(mhpIID);