Bug 1857841 - pt 3. Add a new page kind named "fresh" r=glandium
[gecko.git] / tools / @types / lib.gecko.nsresult.d.ts
blobe4acb48a4bbbeb85614172780aa0943b7f236638
1 /**
2  * NOTE: Do not modify this file by hand.
3  * Content was generated from xpc.msg and error_list.json.
4  */
6 interface nsIXPCComponents_Results {
8   // Error Message definitions.
10   // xpconnect specific codes (from nsIXPConnect.h)
12   /** Not enough arguments */
13   NS_ERROR_XPC_NOT_ENOUGH_ARGS: 0x80570001;
15   /** 'Out' argument must be an object */
16   NS_ERROR_XPC_NEED_OUT_OBJECT: 0x80570002;
18   /** Cannot set 'value' property of 'out' argument */
19   NS_ERROR_XPC_CANT_SET_OUT_VAL: 0x80570003;
21   /** Component returned failure code: */
22   NS_ERROR_XPC_NATIVE_RETURNED_FAILURE: 0x80570004;
24   /** Cannot find interface information */
25   NS_ERROR_XPC_CANT_GET_INTERFACE_INFO: 0x80570005;
27   /** Cannot find interface information for parameter */
28   NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO: 0x80570006;
30   /** Cannot find method information */
31   NS_ERROR_XPC_CANT_GET_METHOD_INFO: 0x80570007;
33   /** Unexpected error in XPConnect */
34   NS_ERROR_XPC_UNEXPECTED: 0x80570008;
36   /** Could not convert JavaScript argument */
37   NS_ERROR_XPC_BAD_CONVERT_JS: 0x80570009;
39   /** Could not convert Native argument */
40   NS_ERROR_XPC_BAD_CONVERT_NATIVE: 0x8057000a;
42   /** Could not convert JavaScript argument (NULL value cannot be used for a C++ reference type) */
43   NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF: 0x8057000b;
45   /** Illegal operation on WrappedNative prototype object */
46   NS_ERROR_XPC_BAD_OP_ON_WN_PROTO: 0x8057000c;
48   /** Cannot convert WrappedNative to function */
49   NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN: 0x8057000d;
51   /** Cannot define new property in a WrappedNative */
52   NS_ERROR_XPC_CANT_DEFINE_PROP_ON_WN: 0x8057000e;
54   /** Cannot place watchpoints on WrappedNative object static properties */
55   NS_ERROR_XPC_CANT_WATCH_WN_STATIC: 0x8057000f;
57   /** Cannot export a WrappedNative object's static properties */
58   NS_ERROR_XPC_CANT_EXPORT_WN_STATIC: 0x80570010;
60   /** nsIXPCScriptable::Call failed */
61   NS_ERROR_XPC_SCRIPTABLE_CALL_FAILED: 0x80570011;
63   /** nsIXPCScriptable::Construct failed */
64   NS_ERROR_XPC_SCRIPTABLE_CTOR_FAILED: 0x80570012;
66   /** Cannot use wrapper as function unless it implements nsIXPCScriptable */
67   NS_ERROR_XPC_CANT_CALL_WO_SCRIPTABLE: 0x80570013;
69   /** Cannot use wrapper as constructor unless it implements nsIXPCScriptable */
70   NS_ERROR_XPC_CANT_CTOR_WO_SCRIPTABLE: 0x80570014;
72   /** ComponentManager::CreateInstance returned failure code: */
73   NS_ERROR_XPC_CI_RETURNED_FAILURE: 0x80570015;
75   /** ServiceManager::GetService returned failure code: */
76   NS_ERROR_XPC_GS_RETURNED_FAILURE: 0x80570016;
78   /** Invalid ClassID or ContractID */
79   NS_ERROR_XPC_BAD_CID: 0x80570017;
81   /** Invalid InterfaceID */
82   NS_ERROR_XPC_BAD_IID: 0x80570018;
84   /** Cannot create wrapper around native interface */
85   NS_ERROR_XPC_CANT_CREATE_WN: 0x80570019;
87   /** JavaScript component threw exception */
88   NS_ERROR_XPC_JS_THREW_EXCEPTION: 0x8057001a;
90   /** JavaScript component threw a native object that is not an exception */
91   NS_ERROR_XPC_JS_THREW_NATIVE_OBJECT: 0x8057001b;
93   /** JavaScript component threw a JavaScript object */
94   NS_ERROR_XPC_JS_THREW_JS_OBJECT: 0x8057001c;
96   /** JavaScript component threw a null value as an exception */
97   NS_ERROR_XPC_JS_THREW_NULL: 0x8057001d;
99   /** JavaScript component threw a string as an exception */
100   NS_ERROR_XPC_JS_THREW_STRING: 0x8057001e;
102   /** JavaScript component threw a number as an exception */
103   NS_ERROR_XPC_JS_THREW_NUMBER: 0x8057001f;
105   /** JavaScript component caused a JavaScript error */
106   NS_ERROR_XPC_JAVASCRIPT_ERROR: 0x80570020;
108   /** JavaScript component caused a JavaScript error (detailed report attached) */
109   NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: 0x80570021;
111   /** Cannot convert primitive JavaScript value into an array */
112   NS_ERROR_XPC_CANT_CONVERT_PRIMITIVE_TO_ARRAY: 0x80570022;
114   /** Cannot convert JavaScript object into an array */
115   NS_ERROR_XPC_CANT_CONVERT_OBJECT_TO_ARRAY: 0x80570023;
117   /** JavaScript Array does not have as many elements as indicated by size argument */
118   NS_ERROR_XPC_NOT_ENOUGH_ELEMENTS_IN_ARRAY: 0x80570024;
120   /** Cannot find array information */
121   NS_ERROR_XPC_CANT_GET_ARRAY_INFO: 0x80570025;
123   /** JavaScript String does not have as many characters as indicated by size argument */
124   NS_ERROR_XPC_NOT_ENOUGH_CHARS_IN_STRING: 0x80570026;
126   /** Security Manager vetoed action */
127   NS_ERROR_XPC_SECURITY_MANAGER_VETO: 0x80570027;
129   /** Failed to build a wrapper because the interface that was not declared [scriptable] */
130   NS_ERROR_XPC_INTERFACE_NOT_SCRIPTABLE: 0x80570028;
132   /** Failed to build a wrapper because the interface does not inherit from nsISupports */
133   NS_ERROR_XPC_INTERFACE_NOT_FROM_NSISUPPORTS: 0x80570029;
135   /** Property is a constant and cannot be changed */
136   NS_ERROR_XPC_CANT_SET_READ_ONLY_CONSTANT: 0x8057002b;
138   /** Property is a read only attribute and cannot be changed */
139   NS_ERROR_XPC_CANT_SET_READ_ONLY_ATTRIBUTE: 0x8057002c;
141   /** Property is an interface method and cannot be changed */
142   NS_ERROR_XPC_CANT_SET_READ_ONLY_METHOD: 0x8057002d;
144   /** Cannot add property to WrappedNative object */
145   NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE: 0x8057002e;
147   /** Call to nsIXPCScriptable interface for WrappedNative failed unexpecedly */
148   NS_ERROR_XPC_CALL_TO_SCRIPTABLE_FAILED: 0x8057002f;
150   /** JavaScript component does not have a method named: */
151   NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED: 0x80570030;
153   /** Bad ID string */
154   NS_ERROR_XPC_BAD_ID_STRING: 0x80570031;
156   /** Bad initializer name in Constructor - Component has no method with that name */
157   NS_ERROR_XPC_BAD_INITIALIZER_NAME: 0x80570032;
159   /** Operation failed because the XPConnect subsystem has been shutdown */
160   NS_ERROR_XPC_HAS_BEEN_SHUTDOWN: 0x80570033;
162   /** Cannot modify properties of a WrappedNative */
163   NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: 0x80570034;
165   /** Could not convert JavaScript argument - 0 was passed, expected object. Did you mean null? */
166   NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL: 0x80570035;
168   // common global codes (from nsError.h)
170   /** Success */
171   NS_OK: 0x0;
173   /** Component not initialized */
174   NS_ERROR_NOT_INITIALIZED: 0xc1f30001;
176   /** Component already initialized */
177   NS_ERROR_ALREADY_INITIALIZED: 0xc1f30002;
179   /** Method not implemented */
180   NS_ERROR_NOT_IMPLEMENTED: 0x80004001;
182   /** Component does not have requested interface */
183   NS_NOINTERFACE: 0x80004002;
185   /** Component does not have requested interface */
186   NS_ERROR_NO_INTERFACE: 0x80004002;
188   /** Illegal value */
189   NS_ERROR_ILLEGAL_VALUE: 0x80070057;
191   /** Invalid pointer */
192   NS_ERROR_INVALID_POINTER: 0x80070057;
194   /** Null pointer */
195   NS_ERROR_NULL_POINTER: 0x80070057;
197   /** Abort */
198   NS_ERROR_ABORT: 0x80004004;
200   /** Failure */
201   NS_ERROR_FAILURE: 0x80004005;
203   /** Unexpected error */
204   NS_ERROR_UNEXPECTED: 0x8000ffff;
206   /** Out of Memory */
207   NS_ERROR_OUT_OF_MEMORY: 0x8007000e;
209   /** Invalid argument */
210   NS_ERROR_INVALID_ARG: 0x80070057;
212   /** Component is not available */
213   NS_ERROR_NOT_AVAILABLE: 0x80040111;
215   /** Factory not registered */
216   NS_ERROR_FACTORY_NOT_REGISTERED: 0x80040154;
218   /** Factory not registered (may be tried again) */
219   NS_ERROR_FACTORY_REGISTER_AGAIN: 0x80040155;
221   /** Factory not loaded */
222   NS_ERROR_FACTORY_NOT_LOADED: 0x800401f8;
224   /** Factory does not support signatures */
225   NS_ERROR_FACTORY_NO_SIGNATURE_SUPPORT: 0xc1f30101;
227   /** Factory already exists */
228   NS_ERROR_FACTORY_EXISTS: 0xc1f30100;
230   // added from nsError.h on Feb 28 2001...
232   /** Stream closed */
233   NS_BASE_STREAM_CLOSED: 0x80470002;
235   /** Error from the operating system */
236   NS_BASE_STREAM_OSERROR: 0x80470003;
238   /** Illegal arguments */
239   NS_BASE_STREAM_ILLEGAL_ARGS: 0x80470004;
241   /** No converter for unichar streams */
242   NS_BASE_STREAM_NO_CONVERTER: 0x80470005;
244   /** Bad converter for unichar streams */
245   NS_BASE_STREAM_BAD_CONVERSION: 0x80470006;
247   /** Stream would block */
248   NS_BASE_STREAM_WOULD_BLOCK: 0x80470007;
250   /** File error: Unrecognized path */
251   NS_ERROR_FILE_UNRECOGNIZED_PATH: 0x80520001;
253   /** File error: Unresolvable symlink */
254   NS_ERROR_FILE_UNRESOLVABLE_SYMLINK: 0x80520002;
256   /** File error: Execution failed */
257   NS_ERROR_FILE_EXECUTION_FAILED: 0x80520003;
259   /** File error: Unknown type */
260   NS_ERROR_FILE_UNKNOWN_TYPE: 0x80520004;
262   /** File error: Destination not dir */
263   NS_ERROR_FILE_DESTINATION_NOT_DIR: 0x80520005;
265   /** File error: Copy or move failed */
266   NS_ERROR_FILE_COPY_OR_MOVE_FAILED: 0x80520007;
268   /** File error: Already exists */
269   NS_ERROR_FILE_ALREADY_EXISTS: 0x80520008;
271   /** File error: Invalid path */
272   NS_ERROR_FILE_INVALID_PATH: 0x80520009;
274   /** File error: Corrupted */
275   NS_ERROR_FILE_CORRUPTED: 0x8052000b;
277   /** File error: Not directory */
278   NS_ERROR_FILE_NOT_DIRECTORY: 0x8052000c;
280   /** File error: Is directory */
281   NS_ERROR_FILE_IS_DIRECTORY: 0x8052000d;
283   /** File error: Is locked */
284   NS_ERROR_FILE_IS_LOCKED: 0x8052000e;
286   /** File error: Too big */
287   NS_ERROR_FILE_TOO_BIG: 0x8052000f;
289   /** File error: No device space */
290   NS_ERROR_FILE_NO_DEVICE_SPACE: 0x80520010;
292   /** File error: Name too long */
293   NS_ERROR_FILE_NAME_TOO_LONG: 0x80520011;
295   /** File error: Not found */
296   NS_ERROR_FILE_NOT_FOUND: 0x80520012;
298   /** File error: Read only */
299   NS_ERROR_FILE_READ_ONLY: 0x80520013;
301   /** File error: Dir not empty */
302   NS_ERROR_FILE_DIR_NOT_EMPTY: 0x80520014;
304   /** File error: Access denied */
305   NS_ERROR_FILE_ACCESS_DENIED: 0x80520015;
307   // added from nsError.h on Sept 6 2001...
309   /** Data conversion error */
310   NS_ERROR_CANNOT_CONVERT_DATA: 0x80460001;
312   /** Can not modify immutable data container */
313   NS_ERROR_OBJECT_IS_IMMUTABLE: 0x80460002;
315   /** Data conversion failed because significant data would be lost */
316   NS_ERROR_LOSS_OF_SIGNIFICANT_DATA: 0x80460003;
318   /** Data conversion succeeded but data was rounded to fit */
319   NS_SUCCESS_LOSS_OF_INSIGNIFICANT_DATA: 0x460001;
321   // network related codes (from nsNetError.h)
323   /** The async request failed for some unknown reason */
324   NS_BINDING_FAILED: 0x804b0001;
326   /** The async request failed because it was aborted by some user action */
327   NS_BINDING_ABORTED: 0x804b0002;
329   /** The async request has been redirected to a different async request */
330   NS_BINDING_REDIRECTED: 0x804b0003;
332   /** The async request has been retargeted to a different handler */
333   NS_BINDING_RETARGETED: 0x804b0004;
335   /** The URI is malformed */
336   NS_ERROR_MALFORMED_URI: 0x804b000a;
338   /** The URI scheme corresponds to an unknown protocol handler */
339   NS_ERROR_UNKNOWN_PROTOCOL: 0x804b0012;
341   /** Channel opened successfully but no data will be returned */
342   NS_ERROR_NO_CONTENT: 0x804b0011;
344   /** The requested action could not be completed while the object is busy */
345   NS_ERROR_IN_PROGRESS: 0x804b000f;
347   /** Channel is already open */
348   NS_ERROR_ALREADY_OPENED: 0x804b0049;
350   /** The content encoding of the source document is incorrect */
351   NS_ERROR_INVALID_CONTENT_ENCODING: 0x804b001b;
353   /** Corrupted content received from server (potentially MIME type mismatch because of 'X-Content-Type-Options: nosniff') */
354   NS_ERROR_CORRUPTED_CONTENT: 0x804b001d;
356   /** Couldn't extract first component from potentially corrupted header field */
357   NS_ERROR_FIRST_HEADER_FIELD_COMPONENT_EMPTY: 0x804b0022;
359   /** The connection is already established */
360   NS_ERROR_ALREADY_CONNECTED: 0x804b000b;
362   /** The connection does not exist */
363   NS_ERROR_NOT_CONNECTED: 0x804b000c;
365   /** The connection was refused */
366   NS_ERROR_CONNECTION_REFUSED: 0x804b000d;
368   /** User refused navigation to potentially unsafe URL with embedded credentials/superfluos authentication */
369   NS_ERROR_SUPERFLUOS_AUTH: 0x804b005b;
371   // Error codes return from the proxy
373   /** The connection to the proxy server was refused */
374   NS_ERROR_PROXY_CONNECTION_REFUSED: 0x804b0048;
376   /** The proxy requires authentication */
377   NS_ERROR_PROXY_AUTHENTICATION_FAILED: 0x804b057f;
379   /** The request failed on the proxy */
380   NS_ERROR_PROXY_BAD_GATEWAY: 0x804b05de;
382   /** The request timed out on the proxy */
383   NS_ERROR_PROXY_GATEWAY_TIMEOUT: 0x804b05e0;
385   /** Sending too many requests to a proxy */
386   NS_ERROR_PROXY_TOO_MANY_REQUESTS: 0x804b0595;
388   /** The proxy does not support the version of the HTTP request */
389   NS_ERROR_PROXY_VERSION_NOT_SUPPORTED: 0x804b05e1;
391   /** The user is banned from the proxy */
392   NS_ERROR_PROXY_FORBIDDEN: 0x804b057b;
394   /** The proxy is not available */
395   NS_ERROR_PROXY_SERVICE_UNAVAILABLE: 0x804b05df;
397   /** The desired destination is unavailable for legal reasons */
398   NS_ERROR_PROXY_UNAVAILABLE_FOR_LEGAL_REASONS: 0x804b05ab;
400   /** The connection has timed out */
401   NS_ERROR_NET_TIMEOUT: 0x804b000e;
403   /** The request has been cancelled because of a timeout */
404   NS_ERROR_NET_TIMEOUT_EXTERNAL: 0x804b0055;
406   /** The requested action could not be completed in the offline state */
407   NS_ERROR_OFFLINE: 0x804b0010;
409   /** Establishing a connection to an unsafe or otherwise banned port was prohibited */
410   NS_ERROR_PORT_ACCESS_NOT_ALLOWED: 0x804b0013;
412   /** The connection was established, but no data was ever received */
413   NS_ERROR_NET_RESET: 0x804b0014;
415   /** The connection was established, but the data transfer was interrupted */
416   NS_ERROR_NET_INTERRUPT: 0x804b0047;
418   /** A transfer was only partially done when it completed */
419   NS_ERROR_NET_PARTIAL_TRANSFER: 0x804b004c;
421   /** There has been a http3 protocol error */
422   NS_ERROR_NET_HTTP3_PROTOCOL_ERROR: 0x804b0054;
424   /** This request is not resumable, but it was tried to resume it, or to request resume-specific data */
425   NS_ERROR_NOT_RESUMABLE: 0x804b0019;
427   /** It was attempted to resume the request, but the entity has changed in the meantime */
428   NS_ERROR_ENTITY_CHANGED: 0x804b0020;
430   /** The request failed as a result of a detected redirection loop */
431   NS_ERROR_REDIRECT_LOOP: 0x804b001f;
433   /** The request failed because the content type returned by the server was not a type expected by the channel */
434   NS_ERROR_UNSAFE_CONTENT_TYPE: 0x804b004a;
436   /** The load caused an error page to be displayed. */
437   NS_ERROR_LOAD_SHOWED_ERRORPAGE: 0x804b004d;
439   /** The request was blocked by a policy set by the system administrator. */
440   NS_ERROR_BLOCKED_BY_POLICY: 0x80780003;
442   /** The lookup of the hostname failed */
443   NS_ERROR_UNKNOWN_HOST: 0x804b001e;
445   /** The DNS lookup queue is full */
446   NS_ERROR_DNS_LOOKUP_QUEUE_FULL: 0x804b0021;
448   /** The lookup of the proxy hostname failed */
449   NS_ERROR_UNKNOWN_PROXY_HOST: 0x804b002a;
451   /** The specified socket type does not exist */
452   NS_ERROR_UNKNOWN_SOCKET_TYPE: 0x804b0033;
454   /** The specified socket type could not be created */
455   NS_ERROR_SOCKET_CREATE_FAILED: 0x804b0034;
457   /** The specified socket address type is not supported */
458   NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED: 0x804b0035;
460   /** Some other socket is already using the specified address. */
461   NS_ERROR_SOCKET_ADDRESS_IN_USE: 0x804b0036;
463   /** Cache key could not be found */
464   NS_ERROR_CACHE_KEY_NOT_FOUND: 0x804b003d;
466   /** Cache data is a stream */
467   NS_ERROR_CACHE_DATA_IS_STREAM: 0x804b003e;
469   /** Cache data is not a stream */
470   NS_ERROR_CACHE_DATA_IS_NOT_STREAM: 0x804b003f;
472   /** Cache entry exists but needs to be validated first */
473   NS_ERROR_CACHE_WAIT_FOR_VALIDATION: 0x804b0040;
475   /** Cache entry has been  doomed */
476   NS_ERROR_CACHE_ENTRY_DOOMED: 0x804b0041;
478   /** Read access to cache denied */
479   NS_ERROR_CACHE_READ_ACCESS_DENIED: 0x804b0042;
481   /** Write access to cache denied */
482   NS_ERROR_CACHE_WRITE_ACCESS_DENIED: 0x804b0043;
484   /** Cache is currently in use */
485   NS_ERROR_CACHE_IN_USE: 0x804b0044;
487   /** Document does not exist in cache */
488   NS_ERROR_DOCUMENT_NOT_CACHED: 0x804b0046;
490   /** The requested number of domain levels exceeds those present in the host string */
491   NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS: 0x804b0050;
493   /** The host string is an IP address */
494   NS_ERROR_HOST_IS_IP_ADDRESS: 0x804b0051;
496   /** Can't access a wrapped JS object from a different thread */
497   NS_ERROR_NOT_SAME_THREAD: 0x80460004;
499   // storage related codes (from mozStorage.h)
501   /** SQLite database connection is busy */
502   NS_ERROR_STORAGE_BUSY: 0x80630001;
504   /** SQLite encountered an IO error */
505   NS_ERROR_STORAGE_IOERR: 0x80630002;
507   /** SQLite database operation failed because a constraint was violated */
508   NS_ERROR_STORAGE_CONSTRAINT: 0x80630003;
510   // plugin related codes (from nsPluginError.h)
512   /** Clearing site data by time range not supported by plugin */
513   NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED: 0x804c03eb;
515   // character converter related codes
517   /** The input characters have illegal sequences */
518   NS_ERROR_ILLEGAL_INPUT: 0x8050000e;
520   // Codes related to signd jars
522   /** The JAR is not signed. */
523   NS_ERROR_SIGNED_JAR_NOT_SIGNED: 0x80680001;
525   /** An entry in the JAR has been modified after the JAR was signed. */
526   NS_ERROR_SIGNED_JAR_MODIFIED_ENTRY: 0x80680002;
528   /** An entry in the JAR has not been signed. */
529   NS_ERROR_SIGNED_JAR_UNSIGNED_ENTRY: 0x80680003;
531   /** An entry is missing from the JAR file. */
532   NS_ERROR_SIGNED_JAR_ENTRY_MISSING: 0x80680004;
534   /** The JAR's signature is wrong. */
535   NS_ERROR_SIGNED_JAR_WRONG_SIGNATURE: 0x80680005;
537   /** An entry in the JAR is too large. */
538   NS_ERROR_SIGNED_JAR_ENTRY_TOO_LARGE: 0x80680006;
540   /** An entry in the JAR is invalid. */
541   NS_ERROR_SIGNED_JAR_ENTRY_INVALID: 0x80680007;
543   /** The JAR's manifest or signature file is invalid. */
544   NS_ERROR_SIGNED_JAR_MANIFEST_INVALID: 0x80680008;
546   /** The PKCS#7 signature is malformed or invalid. */
547   NS_ERROR_CMS_VERIFY_NO_CONTENT_INFO: 0x805a0401;
549   /** The PKCS#7 information is not signed. */
550   NS_ERROR_CMS_VERIFY_NOT_SIGNED: 0x805a0400;
552   // Codes related to signed manifests
554   /** The signed app manifest or signature file is invalid. */
555   NS_ERROR_SIGNED_APP_MANIFEST_INVALID: 0x806b0001;
557   // Codes for printing-related errors.
559   /** No printers available. */
560   NS_ERROR_GFX_PRINTER_NO_PRINTER_AVAILABLE: 0x80480001;
562   /** The selected printer could not be found. */
563   NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND: 0x80480002;
565   /** Failed to open output file for print to file. */
566   NS_ERROR_GFX_PRINTER_COULD_NOT_OPEN_FILE: 0x80480003;
568   /** Printing failed while starting the print job. */
569   NS_ERROR_GFX_PRINTER_STARTDOC: 0x80480004;
571   /** Printing failed while completing the print job. */
572   NS_ERROR_GFX_PRINTER_ENDDOC: 0x80480005;
574   /** Printing failed while starting a new page. */
575   NS_ERROR_GFX_PRINTER_STARTPAGE: 0x80480006;
577   /** Cannot print this document yet, it is still being loaded. */
578   NS_ERROR_GFX_PRINTER_DOC_IS_BUSY: 0x80480007;
580   // Codes related to content
582   /** The process that hosted this content has crashed. */
583   NS_ERROR_CONTENT_CRASHED: 0x805e0010;
585   /** The process that hosted this frame has crashed. */
586   NS_ERROR_FRAME_CRASHED: 0x805e000e;
588   /** The process that hosted this content did not have the same buildID as the parent. */
589   NS_ERROR_BUILDID_MISMATCH: 0x805e0011;
591   /** The load for this content was blocked. */
592   NS_ERROR_CONTENT_BLOCKED: 0x805e0006;
594   // Codes for the JS-implemented Push DOM API. These can be removed as part of bug 1252660.
596   /** Invalid raw ECDSA P-256 public key. */
597   NS_ERROR_DOM_PUSH_INVALID_KEY_ERR: 0x806d0005;
599   /** A subscription with a different application server key already exists. */
600   NS_ERROR_DOM_PUSH_MISMATCHED_KEY_ERR: 0x806d0006;
602   // Codes defined in WebIDL https://heycam.github.io/webidl/#idl-DOMException-error-names
604   /** The object can not be found here. */
605   NS_ERROR_DOM_NOT_FOUND_ERR: 0x80530008;
607   /** The request is not allowed. */
608   NS_ERROR_DOM_NOT_ALLOWED_ERR: 0x80530021;
610   // Codes related to the URIClassifier service
612   /** The URI is malware */
613   NS_ERROR_MALWARE_URI: 0x805d001e;
615   /** The URI is phishing */
616   NS_ERROR_PHISHING_URI: 0x805d001f;
618   /** The URI is tracking */
619   NS_ERROR_TRACKING_URI: 0x805d0022;
621   /** The URI is unwanted */
622   NS_ERROR_UNWANTED_URI: 0x805d0023;
624   /** The URI is blocked */
625   NS_ERROR_BLOCKED_URI: 0x805d0025;
627   /** The URI is harmful */
628   NS_ERROR_HARMFUL_URI: 0x805d0026;
630   /** The URI is fingerprinting */
631   NS_ERROR_FINGERPRINTING_URI: 0x805d0029;
633   /** The URI is cryptomining */
634   NS_ERROR_CRYPTOMINING_URI: 0x805d002a;
636   /** The URI is social tracking */
637   NS_ERROR_SOCIALTRACKING_URI: 0x805d002b;
639   /** The URI is email tracking */
640   NS_ERROR_EMAILTRACKING_URI: 0x805d002c;
642   // Profile manager error codes
644   /** Flushing the profiles to disk would have overwritten changes made elsewhere. */
645   NS_ERROR_DATABASE_CHANGED: 0x805800ca;
647   // Codes related to URILoader
649   /** The data from a channel has already been parsed and cached so it doesn't need to be reparsed from the original source. */
650   NS_ERROR_PARSED_DATA_CACHED: 0x805d0021;
652   /** The async request has been cancelled by another async request */
653   NS_BINDING_CANCELLED_OLD_LOAD: 0x805d0027;
655   /** The ProgID classes had not been registered. */
656   NS_ERROR_WDBA_NO_PROGID: 0x80720001;
658   /** The existing UserChoice Hash could not be verified. */
659   NS_ERROR_WDBA_HASH_CHECK: 0x80720002;
661   /** UserChoice was set, but checking the default did not return our ProgID. */
662   NS_ERROR_WDBA_REJECTED: 0x80720003;
664   /** The existing UserChoice Hash was verified, but we're on an older, unsupported Windows build, so do not attempt to update the UserChoice hash. */
665   NS_ERROR_WDBA_BUILD: 0x80720004;