According to HTML's navigate algorithm, requests to javascript:
URLs should inherit the cross-origin opener policy of the active document. To
observe this, each subtest uses the following procedure.
parentCOOP)javascript: URL (the new document is
expected to inherit the parentCOOP)childCOOP)Both popup windows inspect state and report back to the test.
.---- test ----.
| open(https:) |
| parentCOOP | .----- subject -------.
| '---------> | --------. |
| | | v |
| | | assign(javascript:) |
| | | (COOP under test) |
| | | | |
| | | open(https:) |
| | | childCOOP | .- child -.
| | | '--------------> | |
| | '---------------------' '---------'
| | | |
| validate | <--status---+---------------------'
'--------------'