mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
fix javascript strict warning
bug 248884, patch by gekacheka, r=mvl
This commit is contained in:
parent
13761798e3
commit
0951e54b13
@ -878,7 +878,7 @@ calendarManager.prototype.getRemoteCalendarText = function calMan_getRemoteCalen
|
||||
.createInstance(Components.interfaces.nsIScriptableUnicodeConverter);
|
||||
// ics files are always utf8
|
||||
unicodeConverter.charset = "UTF-8";
|
||||
var result = unicodeConverter.convertFromByteArray( result, result.length );
|
||||
result = unicodeConverter.convertFromByteArray( result, result.length );
|
||||
} catch(e) {
|
||||
// Now try the pre-1.8a5 method, which might have problems
|
||||
// with utf8 chars
|
||||
|
Loading…
Reference in New Issue
Block a user