diff options
author | Brian Smith <brian@dbsoft.org> | 2023-04-20 07:38:48 -0500 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2023-04-27 13:34:41 -0500 |
commit | 8431e52405bf4cd9d34eae9940cb665c7faa2c7e (patch) | |
tree | 526ba2500a3655ee2ac8ffbc22d96a97c412b970 /xpcom | |
parent | 3a59f91dee1135c25333bc27527508bb00827000 (diff) | |
download | uxp-8431e52405bf4cd9d34eae9940cb665c7faa2c7e.tar.gz |
Issue #1691 - Part 7e: Dependencies for required to finish part 7d.
https://bugzilla.mozilla.org/show_bug.cgi?id=1331662
Reimplement EvaluateString using the ExecutionContext class.
https://bugzilla.mozilla.org/show_bug.cgi?id=1316078
Extract redudant code into StartOffThreadParseTask.
Use an ExclusiveContext instead of a JSContext in XDR functions.
Add a script decoder as a valid off-main-thread parse-task.
https://bugzilla.mozilla.org/show_bug.cgi?id=900784
Add nsJSUtils functions for encoding and decoding the bytecode.
https://bugzilla.mozilla.org/show_bug.cgi?id=1316081
Add XDRIncrementalEncoder to replace delazified LazyScript in the encoded XDR buffer.
Add an XDRIncrementalEncoder instance on the ScriptSource.
Expose a new JSAPI to incrementally encode bytecode when it is generated.
https://bugzilla.mozilla.org/show_bug.cgi?id=1334091
XDR function use the sourceObject instead of the enclosingScript as argument.
(cherry picked from commit d6de9a669f4b2f5115670bd771cd53d7cfb3956a)
Diffstat (limited to 'xpcom')
-rw-r--r-- | xpcom/base/ErrorList.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xpcom/base/ErrorList.h b/xpcom/base/ErrorList.h index a99d0e83fc..c39ea68d07 100644 --- a/xpcom/base/ErrorList.h +++ b/xpcom/base/ErrorList.h @@ -568,6 +568,13 @@ ERROR(NS_ERROR_DOM_INVALID_STATE_XHR_CHUNKED_RESPONSETYPES_UNSUPPORTED_FOR_SYNC, FAILURE(1027)), ERROR(NS_ERROR_DOM_INVALID_ACCESS_XHR_TIMEOUT_AND_RESPONSETYPE_UNSUPPORTED_FOR_SYNC, FAILURE(1028)), + + /* When manipulating the bytecode cache with the JS API, some transcoding + * errors, such as a different bytecode format can cause failures of the + * decoding process. + */ + ERROR(NS_ERROR_DOM_JS_DECODING_ERROR, FAILURE(1030)), + /* May be used to indicate when e.g. setting a property value didn't * actually change the value, like for obj.foo = "bar"; obj.foo = "bar"; * the second assignment throws NS_SUCCESS_DOM_NO_OPERATION. |