WICG / web-otp

phone number verification
https://wicg.github.io/web-otp/
Other
94 stars 36 forks source link

Editorial: returning already terminates this algorithm #30

Open domenic opened 4 years ago

domenic commented 4 years ago

E.g.

If effective domain is not a valid domain, then return a DOMException whose name is "SecurityError" and terminate this algorithm.

can just be

If effective domain is not a valid domain, then return a DOMException whose name is "SecurityError".

See https://infra.spec.whatwg.org/#algorithm-control-flow