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 Specify the address

Correct Answer: Must have the same origin

If you specify an absolute URL, it must have the same origin (same protocol, host, and port) as that containing document. In Firefox, if you want to use workers in extensions and would like to have access to js-ctypes, you should use the ChromeWorker object instead.

Related Questions

Next steps