Bug 1457689 - Remove NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN; r=bz

After fixing the document.domain exceptions to conform to the html
spec, NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN is no longer used, and can be
removed.

MozReview-Commit-ID: 9CwrUSGy2K3

--HG--
extra : rebase_source : 6c624e407fd714f8c61e1e43d44089c0c1e64558
This commit is contained in:
Kyle Machulis 2018-06-08 15:52:53 -07:00
Родитель a50b3fa9e5
Коммит 3de9c518aa
2 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -93,7 +93,6 @@ DOM_MSG_DEF(NS_ERROR_DOM_NOT_NUMBER_ERR, "Parameter is not a number")
DOM_MSG_DEF(NS_ERROR_DOM_NOT_BOOLEAN_ERR, "Parameter is not a boolean") DOM_MSG_DEF(NS_ERROR_DOM_NOT_BOOLEAN_ERR, "Parameter is not a boolean")
DOM_MSG_DEF(NS_ERROR_DOM_NOT_FUNCTION_ERR, "Parameter is not a Function") DOM_MSG_DEF(NS_ERROR_DOM_NOT_FUNCTION_ERR, "Parameter is not a Function")
DOM_MSG_DEF(NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR, "Too few parameters to method") DOM_MSG_DEF(NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR, "Too few parameters to method")
DOM_MSG_DEF(NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN, "Illegal document.domain value")
DOM_MSG_DEF(NS_ERROR_DOM_PROP_ACCESS_DENIED, "Access to property denied") DOM_MSG_DEF(NS_ERROR_DOM_PROP_ACCESS_DENIED, "Access to property denied")
DOM_MSG_DEF(NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED, "Access to XPConnect service denied") DOM_MSG_DEF(NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED, "Access to XPConnect service denied")
DOM_MSG_DEF(NS_ERROR_DOM_BAD_URI, "Access to restricted URI denied") DOM_MSG_DEF(NS_ERROR_DOM_BAD_URI, "Access to restricted URI denied")

Просмотреть файл

@ -635,7 +635,6 @@ with modules["DOM"]:
errors["NS_ERROR_DOM_NOT_BOOLEAN_ERR"] = FAILURE(1006) errors["NS_ERROR_DOM_NOT_BOOLEAN_ERR"] = FAILURE(1006)
errors["NS_ERROR_DOM_NOT_FUNCTION_ERR"] = FAILURE(1007) errors["NS_ERROR_DOM_NOT_FUNCTION_ERR"] = FAILURE(1007)
errors["NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR"] = FAILURE(1008) errors["NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR"] = FAILURE(1008)
errors["NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN"] = FAILURE(1009)
errors["NS_ERROR_DOM_PROP_ACCESS_DENIED"] = FAILURE(1010) errors["NS_ERROR_DOM_PROP_ACCESS_DENIED"] = FAILURE(1010)
errors["NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED"] = FAILURE(1011) errors["NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED"] = FAILURE(1011)
errors["NS_ERROR_DOM_BAD_URI"] = FAILURE(1012) errors["NS_ERROR_DOM_BAD_URI"] = FAILURE(1012)