Examveda
Examveda

What will happen if you specify an absolute URL in the Worker constructor?

A. Resolves itself

B. Must have the same origin

C. Must not have the same origin

D. None of the mentioned

Answer: Option B

Solution(By Examveda Team)

If you specify an absolute URL, it must have the same origin (same protocol, host, and port) as that containing document.

This Question Belongs to Javascript >> Caching And Debugging

Join The Discussion

Related Questions on Caching and Debugging