1. Cross-Document Messaging API
  2. Web application API
  3. Both Cross-Document Messaging API & Web application API
  4. None of the mentioned
4 views

1 Answers

Answer: Option 1

The Cross-Document Messaging API allows scripts in a document from one server to exchange messages with scripts in a document from another server. This works around the limitations of the same-origin policy in a secure way. Each message that is sent triggers a message event on the Window of the receiving document.

4 views

Related Questions