Closed arv closed 9 years ago
Similarely, we have steps like:
1. If _entry_.[[State]] is greater than "link", return a new error promise.
and
1. If _pair_.[[value]].[[State]] is less than "link", then throw a new TypeError.
Solved by https://github.com/whatwg/loader/pull/65
Closing this now that we have all abstract operations in place.
There are a few alg steps like these:
Set _entry_.[[State]] to the max of _entry_.[[State]] and "translate".
We need to specify what this means.
How about:
GetStateValue(state)
"fetch"
return 0."translate"
return 1."instantiate"
return 2."link"
return 3."ready"
return 4.SetStateToMax(entry, newState)