Messaging in HTML5

Messaging API of...
View Complete Description
×

Topic Summary

Messaging API of HTML5 Cross-Window Messaging Cross-Domain Messaging
Topic Questions:
12
MCQs T/F FiB SQ
5 2 3 2
Question Type Legends

Easy

Medium

Difficult

Multiple Choice Questions for Messaging in HTML5

  • 1 In postMessage() event which of the following attribute contains a reference to the originating document?s window?
    1. origin
    2. source
    3. data
    4. ports

  • 2 The ability to send a text messages from page A to page B and make use of this message in page B. That?s
    1. cross-domain messaging
    2. cross-page messaging
    3. cross-window messaging
    4. None

  • 3 Which event occurs when a message is received in cross-window or cross-domain messaging of HTML5.
    1. onMessage
    2. postMessage
    3. recieveMessage
    4. getMessage

  • 4 The function postMessage is implemented in which object of the browser?
    1. document
    2. window
    3. page
    4. None

  • 5 The core function in HTML5 to send message is ______, in which you also specify the target.
    1. postMessage()
    2. sendMessage()
    3. getMessage()
    4. None

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert