Index: trunk/phase3/tests/qunit/suites/resources/mediawiki.util/mediawiki.util.js |
— | — | @@ -50,7 +50,7 @@ |
51 | 51 | expect(3); |
52 | 52 | |
53 | 53 | var a = mw.util.addCSS( '#bodyContent { visibility: hidden; }' ); |
54 | | - ok( a instanceof CSSStyleSheet, 'Object is an instance of CSSStyleSheet' ); |
| 54 | + equal( typeof a, 'object', 'addCSS returned an object' ); |
55 | 55 | strictEqual( a.disabled, false, 'property "disabled" is available and set to false' ); |
56 | 56 | |
57 | 57 | var $b = $('#bodyContent'); |