From 63ecc57a4c338b941560ed5238c3df31cb16f44a Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Thu, 23 Dec 1999 14:31:33 +0000 Subject: [PATCH] fix bug 22117 again, cookie viewer raising exception, r=rgoodger --- extensions/wallet/cookieviewer/CookieViewer.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/extensions/wallet/cookieviewer/CookieViewer.js b/extensions/wallet/cookieviewer/CookieViewer.js index c5d7792c7d84..e970486216ee 100644 --- a/extensions/wallet/cookieviewer/CookieViewer.js +++ b/extensions/wallet/cookieviewer/CookieViewer.js @@ -95,14 +95,14 @@ function CreateCookieList() // purpose : an home-brewed object that represents a individual cookie in the stream function Cookie(number,name,value,domaintype,domain,path,secure,expire) { - this.number = (arguments.length) ? number : null; - this.name = (arguments.length) ? name : null; - this.value = (arguments.length) ? value : null; - this.domaintype = (arguments.length) ? domaintype : null; - this.domain = (arguments.length) ? domain : null; - this.path = (arguments.length) ? path : null; - this.secure = (arguments.length) ? secure : null; - this.expire = (arguments.length) ? expire : null; + this.number = ( number ) ? number : null; + this.name = ( name ) ? name : null; + this.value = ( value ) ? value : null; + this.domaintype = ( domaintype ) ? domaintype : null; + this.domain = ( domain ) ? domain : null; + this.path = ( path ) ? path : null; + this.secure = ( secure ) ? secure : null; + this.expire = ( expire ) ? expire : null; }