blob: d5a653b732b1434629effbfcc79b92aa19705956 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Checks that an exception is thrown when a dictionary value cannot be converted to a String
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS new MessageEvent('message', {origin: 'test'}).origin is "test"
PASS new MessageEvent('message', {origin: 2}).origin is "2"
PASS new MessageEvent('message', {origin: nonConvertibleToString}) threw exception Exception in toString().
PASS successfullyParsed is true
TEST COMPLETE
|