πŸ“Š Machine Learning
Q. Which API allows scripts in a document from one server to exchange messages with scripts?
  • (A) Cross-Document Messaging API
  • (B) Web application API
  • (C) Both Cross-Document Messaging API & Web application API
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) Cross-Document Messaging API

Explanation: 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.

Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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