diff --git a/content/base/public/nsContentErrors.h b/content/base/public/nsContentErrors.h index 44fbc9880fe..8cf49e774d0 100644 --- a/content/base/public/nsContentErrors.h +++ b/content/base/public/nsContentErrors.h @@ -72,4 +72,11 @@ #define NS_CONTENT_SCRIPT_IS_EVENTHANDLER \ NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_CONTENT, 7) +/** Error codes for image loading */ +#define NS_ERROR_IMAGE_SRC_CHANGED \ + NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_CONTENT, 8) + +#define NS_ERROR_IMAGE_BLOCKED \ + NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_CONTENT, 9) + #endif // nsContentErrors_h___