Bug 1712930 - Part 5: Get rid of NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_LOADING_OR_DONE_RESPONSE_TYPE; r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D116079
This commit is contained in:
Edgar Chen
2021-05-31 12:57:17 +00:00
parent 59ba242999
commit 45dff173d1
6 changed files with 7 additions and 12 deletions

View File

@@ -716,11 +716,6 @@ with modules["DOM"]:
errors["NS_ERROR_DOM_INVALID_STATE_XHR_HAS_INVALID_CONTEXT"] = FAILURE(1018)
errors["NS_ERROR_DOM_INVALID_STATE_XHR_MUST_BE_OPENED"] = FAILURE(1019)
errors["NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_SENDING"] = FAILURE(1020)
errors[
"NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_LOADING_OR_DONE_RESPONSE_TYPE"
] = FAILURE(
1021
) # NOQA: E501
# When manipulating the bytecode cache with the JS API, some transcoding
# errors, such as a different bytecode format can cause failures of the