blob: f04c472b5e42cece33b185dcf646b627686a2a1f [file] [log] [blame]
Tests that MessageEvent.data returns the value it was initialized to.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
* JS Object
Using constructor
PASS messageEvent.data === expectedData is true
PASS messageEvent.data === messageEvent.data is true
Using deprecated initMessageEvent()
PASS messageEvent.data === expectedData is true
PASS messageEvent.data === messageEvent.data is true
* String
Using constructor
PASS messageEvent.data === expectedData is true
PASS messageEvent.data === messageEvent.data is true
Using deprecated initMessageEvent()
PASS messageEvent.data === expectedData is true
PASS messageEvent.data === messageEvent.data is true
* Blob
Using constructor
PASS messageEvent.data === expectedData is true
PASS messageEvent.data === messageEvent.data is true
Using deprecated initMessageEvent()
PASS messageEvent.data === expectedData is true
PASS messageEvent.data === messageEvent.data is true
* ArrayBuffer
Using constructor
PASS messageEvent.data === expectedData is true
PASS messageEvent.data === messageEvent.data is true
Using deprecated initMessageEvent()
PASS messageEvent.data === expectedData is true
PASS messageEvent.data === messageEvent.data is true
PASS successfullyParsed is true
TEST COMPLETE