Bug 1710840 - Part 1: Get rid of NS_ERROR_DOM_SVG_MATRIX_NOT_INVERTABLE; r=smaug;

Differential Revision: https://phabricator.services.mozilla.com/D114964
This commit is contained in:
Edgar Chen 2021-05-12 23:32:37 +00:00
Родитель 3b01fc4248
Коммит c681831600
3 изменённых файлов: 0 добавлений и 4 удалений

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

@ -465,7 +465,6 @@ const ErrorCodes = {
NS_ERROR_BRIDGE_OPEN_PARENT: 0x80610003,
NS_ERROR_BRIDGE_OPEN_CHILD: 0x80610004,
NS_ERROR_DOM_SVG_WRONG_TYPE_ERR: 0x80620000,
NS_ERROR_DOM_SVG_MATRIX_NOT_INVERTABLE: 0x80620002,
NS_ERROR_STORAGE_BUSY: 0x80630001,
NS_ERROR_STORAGE_IOERR: 0x80630002,
NS_ERROR_STORAGE_CONSTRAINT: 0x80630003,

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

@ -43,7 +43,6 @@ DOM4_MSG_DEF(OperationError, "The operation failed for an operation-specific rea
/* SVG DOM errors from http://www.w3.org/TR/SVG11/svgdom.html */
DOM4_MSG_DEF(TypeError, "Unknown or invalid type", NS_ERROR_DOM_SVG_WRONG_TYPE_ERR)
DOM4_MSG_DEF(InvalidStateError, "The matrix could not be computed", NS_ERROR_DOM_SVG_MATRIX_NOT_INVERTABLE)
/* XPath errors from http://www.w3.org/TR/DOM-Level-3-XPath/ */

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

@ -1052,8 +1052,6 @@ with modules["IPC"]:
with modules["SVG"]:
# SVG DOM error codes from http://www.w3.org/TR/SVG11/svgdom.html
errors["NS_ERROR_DOM_SVG_WRONG_TYPE_ERR"] = FAILURE(0)
# Yes, the spec says "INVERTABLE", not "INVERTIBLE"
errors["NS_ERROR_DOM_SVG_MATRIX_NOT_INVERTABLE"] = FAILURE(2)
# =======================================================================