A

Admin • 833K Points
Coach

Q. 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
  • Correct Answer - Option(B)
  • Views: 23
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.