Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit de35210

Browse files
committed
Bug 1574475 - Remove FTP error codes r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111249
1 parent 89d37d1 commit de35210

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

dom/webbrowserpersist/nsWebBrowserPersist.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,8 +1149,6 @@ NS_IMETHODIMP nsWebBrowserPersist::OnStatus(nsIRequest* request,
11491149
switch (status) {
11501150
case NS_NET_STATUS_RESOLVING_HOST:
11511151
case NS_NET_STATUS_RESOLVED_HOST:
1152-
case NS_NET_STATUS_BEGIN_FTP_TRANSACTION:
1153-
case NS_NET_STATUS_END_FTP_TRANSACTION:
11541152
case NS_NET_STATUS_CONNECTING_TO:
11551153
case NS_NET_STATUS_CONNECTED_TO:
11561154
case NS_NET_STATUS_TLS_HANDSHAKE_STARTING:

js/xpconnect/src/xpc.msg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,6 @@ XPC_MSG_DEF(NS_ERROR_REMOTE_XUL , "Attempt to access remote
170170
XPC_MSG_DEF(NS_ERROR_LOAD_SHOWED_ERRORPAGE , "The load caused an error page to be displayed.")
171171
XPC_MSG_DEF(NS_ERROR_BLOCKED_BY_POLICY , "The request was blocked by a policy set by the system administrator.")
172172

173-
XPC_MSG_DEF(NS_ERROR_FTP_LOGIN , "FTP error while logging in")
174-
XPC_MSG_DEF(NS_ERROR_FTP_CWD , "FTP error while changing directory")
175-
XPC_MSG_DEF(NS_ERROR_FTP_PASV , "FTP error while changing to passive mode")
176-
XPC_MSG_DEF(NS_ERROR_FTP_PWD , "FTP error while retrieving current directory")
177-
XPC_MSG_DEF(NS_ERROR_FTP_LIST , "FTP error while retrieving a directory listing")
178173
XPC_MSG_DEF(NS_ERROR_UNKNOWN_HOST , "The lookup of the hostname failed")
179174
XPC_MSG_DEF(NS_ERROR_DNS_LOOKUP_QUEUE_FULL , "The DNS lookup queue is full")
180175
XPC_MSG_DEF(NS_ERROR_UNKNOWN_PROXY_HOST , "The lookup of the proxy hostname failed")

xpcom/base/ErrorList.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -362,14 +362,6 @@ def SUCCESS(code):
362362
# probably in the process of being torn down.
363363
errors["NS_ERROR_DOCSHELL_DYING"] = FAILURE(78)
364364

365-
# FTP specific error codes:
366-
367-
errors["NS_ERROR_FTP_LOGIN"] = FAILURE(21)
368-
errors["NS_ERROR_FTP_CWD"] = FAILURE(22)
369-
errors["NS_ERROR_FTP_PASV"] = FAILURE(23)
370-
errors["NS_ERROR_FTP_PWD"] = FAILURE(24)
371-
errors["NS_ERROR_FTP_LIST"] = FAILURE(28)
372-
373365
# DNS specific error codes:
374366

375367
# The lookup of a hostname failed. This generally refers to the hostname
@@ -426,10 +418,6 @@ def SUCCESS(code):
426418
# should NOT free it.
427419
errors["NS_SUCCESS_ADOPTED_DATA"] = SUCCESS(90)
428420

429-
# FTP
430-
errors["NS_NET_STATUS_BEGIN_FTP_TRANSACTION"] = SUCCESS(27)
431-
errors["NS_NET_STATUS_END_FTP_TRANSACTION"] = SUCCESS(28)
432-
433421
# This success code may be returned by nsIAuthModule::getNextToken to
434422
# indicate that the authentication is finished and thus there's no need
435423
# to call getNextToken again.

0 commit comments

Comments
 (0)