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
πŸ’¬ Discuss
βœ… Correct Answer: (B) Must have the same origin
Explanation: If you specify an absolute URL, it must have the same origin (same protocol, host, and port) as that containing document.
Explanation by: Mr. Dubey
If you specify an absolute URL, it must have the same origin (same protocol, host, and port) as that containing document.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
135
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate