So I'm porting Firefly (file manager for Firefox) to SeaMonkey.
<http://www.extensionsmirror.nl/index.php?showtopic=5384>
Anybody know why the following code causes problems in SeaMonkey 1.0.2
but not in Firefox 1.5.0.4?
Array.prototype.inArray = function (value) {
// Returns true if the passed value is found in the
// array. Returns false if it is not.
var i;
for (i=0; i < this.length; i++) {
// Matches identical (===), not just similar (==).
if (this[i] === value) {
return true;
}
}
return false;
}
In SM there are random js errors in both SM code and extension code, I
think when functions access arrays in certain ways.
Phil
--
Philip Chee <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]STRING space corrupt? But I always use TAPE!
* TagZilla 0.059
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners