Closed mikewest closed 6 years ago
WDYT, @bzbarsky/@annevk?
LGTM!
This looks good. I did find #56 while looking at the overall algorithm again though. (Might not be a problem per se in implementations. Not sure if anyone supports nested workers yet.)
Also found #57.
Gecko supports nested workers. I'll follow up in #56 on what we implement.
The patch in 98f2c26 inadvertantly removed the check which ensured that nested browsing contexts would be treated as non-secure in cases where an ancestor was non-secure. This patch reintroduces that check by requiring 'contextual security' for any parent browsing context's active document.
Closes #54. Thanks to @bzbarsky for noticing the removal.
Preview | Diff