Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(993)

Side by Side Diff: LayoutTests/fast/js/script-tests/instanceof-test.js

Issue 848173003: Dropping [NoInterfaceObject] from XMLHttpRequestEventTarget (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 description( 1 description(
2 "instanceof XMLHttpRequest test" 2 "instanceof test"
3 ); 3 );
4 4
5 shouldBeTrue("(new Audio()) instanceof Audio"); 5 shouldBeTrue("(new Audio()) instanceof Audio");
6 shouldBeFalse("(new Array()) instanceof Audio"); 6 shouldBeFalse("(new Array()) instanceof Audio");
7 7
8 shouldBeTrue("(new Image()) instanceof Image"); 8 shouldBeTrue("(new Image()) instanceof Image");
9 shouldBeFalse("(new Array()) instanceof Image"); 9 shouldBeFalse("(new Array()) instanceof Image");
10 10
11 // MessageChannel is not available yet. 11 // MessageChannel is not available yet.
12 //shouldBeTrue("(new MessageChannel()) instanceof MessageChannel"); 12 //shouldBeTrue("(new MessageChannel()) instanceof MessageChannel");
13 //shouldBeFalse("(new Array()) instanceof MessageChannel"); 13 //shouldBeFalse("(new Array()) instanceof MessageChannel");
14 14
15 shouldBeTrue("(new Option()) instanceof Option"); 15 shouldBeTrue("(new Option()) instanceof Option");
16 shouldBeFalse("(new Array()) instanceof Option"); 16 shouldBeFalse("(new Array()) instanceof Option");
17 17
18 shouldBeTrue("(new WebKitCSSMatrix()) instanceof WebKitCSSMatrix"); 18 shouldBeTrue("(new WebKitCSSMatrix()) instanceof WebKitCSSMatrix");
19 shouldBeFalse("(new Array()) instanceof WebKitCSSMatrix"); 19 shouldBeFalse("(new Array()) instanceof WebKitCSSMatrix");
20 20
21 shouldBeTrue("(new Worker('instanceof-operator-dummy-worker.js')) instanceof Wor ker"); 21 shouldBeTrue("(new Worker('instanceof-operator-dummy-worker.js')) instanceof Wor ker");
22 shouldBeFalse("(new Array()) instanceof Worker"); 22 shouldBeFalse("(new Array()) instanceof Worker");
23 23
24 shouldBeTrue("(new XMLHttpRequest()) instanceof XMLHttpRequest")
25 shouldBeFalse("(new Array()) instanceof XMLHttpRequest")
26
27 shouldBeTrue("(new XSLTProcessor()) instanceof XSLTProcessor"); 24 shouldBeTrue("(new XSLTProcessor()) instanceof XSLTProcessor");
28 shouldBeFalse("(new Array()) instanceof XSLTProcessor"); 25 shouldBeFalse("(new Array()) instanceof XSLTProcessor");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698