Thanks for Gijs's help!
I figured out the problem: something was broken in the catch block.
So it's not a mystery now...

- Calvin

On 10-Mar-08, at 11:05 AM, Calvin Liu wrote:

> Hi, there,
> I have a piece of code ( which
> suppose to save user login information from an array to firefox's
> password storage.
> Well, I think the 'for() {try...catch...}' should be able to go
> through all items in that array, try to save the data, and loop to
> next no matter what happens to current one. But the truth is that
> it'll quit the loop when the first exception is caught. (On ff3,
> there's an exception if user login already exists.)
> Any idea to make it work?
> Thanks.
> Calvin
> _______________________________________________
> dev-extensions mailing list