whatwg / html

HTML Standard
https://html.spec.whatwg.org/multipage/
Other
8.07k stars 2.65k forks source link

Variable `sandboxFlags` appears out of nowhere in `process a navigate fetch` #8301

Closed awesomekling closed 2 years ago

awesomekling commented 2 years ago

https://html.spec.whatwg.org/multipage/browsing-the-web.html#process-a-navigate-fetch

In step 14.5.6.3, the variable sandboxFlags appears for the first time. It's used again in step 17. It was never declared or initialized.

Presumably this is a typo of finalSandboxFlags.

Kaiido commented 2 years ago

It's actually one of the arguments of the main algorithm you linked to:

, a sandboxing flag set sandboxFlags,

awesomekling commented 2 years ago

It's actually one of the arguments of the main algorithm you linked to:

, a sandboxing flag set sandboxFlags,

D'oh! 🤦🏻‍♂️ You're absolutely right, thanks. Closing, sorry for the noise.