mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Issue #618 - Align error handling for module scripts with the spec - Debug follow up
MODULE_STATUS_ERRORED is no more. Replacing with newer API. Ref: BZ 1420420
This commit is contained in:
parent
f600824850
commit
f3d348ebd7
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ function ModuleGetExportedNames(exportStarSet = [])
|
|||
|
||||
function ModuleSetStatus(module, newStatus)
|
||||
{
|
||||
assert(newStatus >= MODULE_STATUS_ERRORED && newStatus <= MODULE_STATUS_EVALUATED,
|
||||
assert(newStatus >= MODULE_STATUS_UNINSTANTIATED &&
|
||||
newStatus <= MODULE_STATUS_EVALUATED_ERROR,
|
||||
"Bad new module status in ModuleSetStatus");
|
||||
|
||||
// Note that under OOM conditions we can fail the module instantiation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue