adplus-dvertising
frame-decoration

Question

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

Posted under JavaScript

Answer: (b).Must have the same origin

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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