5 shouldBeTrue("(new Audio()) instanceof Audio");
6 shouldBeFalse("(new Array()) instanceof Audio");
8 shouldBeTrue("(new Image()) instanceof Image");
9 shouldBeFalse("(new Array()) instanceof Image");
11 // MessageChannel is not available yet.
12 //shouldBeTrue("(new MessageChannel()) instanceof MessageChannel");
13 //shouldBeFalse("(new Array()) instanceof MessageChannel");
15 shouldBeTrue("(new Option()) instanceof Option");
16 shouldBeFalse("(new Array()) instanceof Option");
18 shouldBeTrue("(new WebKitCSSMatrix()) instanceof WebKitCSSMatrix");
19 shouldBeFalse("(new Array()) instanceof WebKitCSSMatrix");
21 shouldBeTrue("(new Worker('instanceof-operator-dummy-worker.js')) instanceof Worker");
22 shouldBeFalse("(new Array()) instanceof Worker");
24 shouldBeTrue("(new XSLTProcessor()) instanceof XSLTProcessor");
25 shouldBeFalse("(new Array()) instanceof XSLTProcessor");