Comment 139 for bug 214366

Revision history for this message
In , Neil-httl (neil-httl) wrote :

Comment on attachment 8377817
patch v5

>+ rv = bundle->FormatStringFromName(MOZ_UTF16("confirmDuplicateFolderRename"),
>+ formatStrings, 3, getter_Copies(confirmString));
If you'd used MOZ_ARRAY_LENGTH(formatStrings) it would have saved you the trouble of changing it each time ;-)

>+ } catch (e if e.result == 0x8055001a) {
>+ // catch only the expected error, otherwise fail the test.
Nice!