what is top-level document ? ( sharedArrayBuffer is not defined )

141 Views Asked by At

I was going to use sharedArrayBuffer. and I found that if cross-isolation was not established, it could not be used.

in document, both Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp should be set up in the top documents, but I don't know what the top-level documents are and how to set it up.

What should I do?

0

There are 0 best solutions below