зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1718353: Remove InvalidPointerId from DOM4ErrorTypeCodeMap r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D130951
This commit is contained in:
Родитель
56d64a1e93
Коммит
afa48437f9
|
@ -49,13 +49,8 @@ enum DOM4ErrorTypeCodeMap {
|
|||
TimeoutError = DOMException_Binding::TIMEOUT_ERR,
|
||||
InvalidNodeTypeError = DOMException_Binding::INVALID_NODE_TYPE_ERR,
|
||||
DataCloneError = DOMException_Binding::DATA_CLONE_ERR,
|
||||
InvalidPointerId = 0,
|
||||
EncodingError = 0,
|
||||
|
||||
/* XXX Should be JavaScript native errors */
|
||||
TypeError = 0,
|
||||
RangeError = 0,
|
||||
|
||||
/* IndexedDB errors
|
||||
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#exceptions */
|
||||
UnknownError = 0,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
// XXXbz This list sort of duplicates the DOM4_MSG_DEF bits of domerr.msg,
|
||||
// except that has various extra errors that are not in specs
|
||||
// (e.g. InvalidPointerId) and has multiple definitions for the same error
|
||||
// (e.g. EncodingError) and has multiple definitions for the same error
|
||||
// name using different messages, which we don't need because we get the
|
||||
// message passed in. We should try to convert all consumers of the "extra"
|
||||
// error codes in there to these APIs, remove the extra bits, and just
|
||||
|
|
Загрузка…
Ссылка в новой задаче