Browser & Web Performance · Junior · Question 51 of 75

What makes two URLs the same origin?

Explanation

https://a.com and http://a.com differ in scheme; https://a.com and https://api.a.com differ in host.

Further reading

Problem with a question

Browser & Web Performance · Junior · question 51

Test yourself

Take the Browser & Web Performance · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz