Primarily flow control improvements, and removing unused `nsresults`.
This was part of the HTML4 standard but only ever implemented by Mozilla and removed again in HTML5 due to lack of adoption. Retaining this could cause web compat issues and unspecified behavior in the layout engine.
It is more descriptive of what it actually does.