зеркало из https://github.com/mozilla/gecko-dev.git
Follow up to bug 606966, catch NS_ERROR_FAILURE instead of NS_ERROR_MALFORMED_URI. rs=sdwilsh a=test-only bustage fix for mailnews add-ons DONTBUILD
This commit is contained in:
Родитель
fdb11b0950
Коммит
358585e399
|
@ -408,7 +408,7 @@ function test_non_addable_uri_errors()
|
|||
};
|
||||
places.push(place);
|
||||
}
|
||||
catch (e if e.result === Cr.NS_ERROR_MALFORMED_URI) {
|
||||
catch (e if e.result === Cr.NS_ERROR_FAILURE) {
|
||||
// NetUtil.newURI() can throw if e.g. our app knows about imap://
|
||||
// but the account is not set up and so the URL is invalid for us.
|
||||
// Note this in the log but ignore as it's not the subject of this test.
|
||||
|
|
Загрузка…
Ссылка в новой задаче