Jacek Caban (@jacek) commented about dlls/mshtml/tests/documentmode.js:
window.toString.call(null); ok(false, "expected exception calling window.toString with null context"); }catch(ex) {}
ok(!Object.hasOwnProperty.call(f, "arguments"), "arguments is a prop of createElement");
ok(!Object.hasOwnProperty.call(f, "caller"), "caller is a prop of createElement");
ok(!Object.hasOwnProperty.call(f, "length"), "length is a prop of createElement");
We already test "arguments" and "length" a few lines above using "in" expression. For the negative tests like this, "in" expressions are stronger tests.