You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com. You make use of CSS3 and HTML5 for development purposes.
You are in the process of creating a new web application for ABC.com. The application will be
configured to make use of web workers to process illustrations obtained from an HTML5 CANVAS
object on a web page.
You also have to make sure that two-way communication exists between the web workers and the
main page.
Which of the following actions should you take? (Choose all that apply.)
A.
You should consider writing code that makes use of a Window object.
B.
You should consider writing code that makes use of a Child object.
C.
You should consider writing code that allows both the main page and the worker thread to listen
for the onmessage event.
D.
You should consider writing code that allows only the worker thread to listen for the onmessage
event.
Explanation: