Home | History | Annotate | Download | only in cctest

Lines Matching full:undetectable

6815   desc->InstanceTemplate()->MarkAsUndetectable();  // undetectable
6822 env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust());
6824 ExpectString("undetectable.toString()", "[object Object]");
6825 ExpectString("typeof undetectable", "undefined");
6826 ExpectString("typeof(undetectable)", "undefined");
6827 ExpectBoolean("typeof undetectable == 'undefined'", true);
6828 ExpectBoolean("typeof undetectable == 'object'", false);
6829 ExpectBoolean("if (undetectable) { true; } else { false; }", false);
6830 ExpectBoolean("!undetectable", true);
6832 ExpectObject("true&&undetectable", obj);
6833 ExpectBoolean("false&&undetectable", false);
6834 ExpectBoolean("true||undetectable", true);
6835 ExpectObject("false||undetectable", obj);
6837 ExpectObject("undetectable&&true", obj);
6838 ExpectObject("undetectable&&false", obj);
6839 ExpectBoolean("undetectable||true", true);
6840 ExpectBoolean("undetectable||false", false);
6842 ExpectBoolean("undetectable==null", true);
6843 undetectable", true);
6844 ExpectBoolean("undetectable==undefined", true);
6845 ExpectBoolean("undefined==undetectable", true);
6846 ExpectBoolean("undetectable==undetectable", true);
6849 ExpectBoolean("undetectable===null", false);
6850 ExpectBoolean("null===undetectable", false);
6851 ExpectBoolean("undetectable===undefined", false);
6852 ExpectBoolean("undefined===undetectable", false);
6853 ExpectBoolean("undetectable===undetectable", true);
6863 desc->InstanceTemplate()->MarkAsUndetectable(); // undetectable
6870 env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust());
6873 ExpectBoolean("undetectable == void 0", true);
6876 ExpectBoolean("undetectable === void 0", false);
6880 ExpectBoolean("void 0 == undetectable", true);
6883 ExpectBoolean("void 0 === undetectable", false);
6913 desc->InstanceTemplate()->MarkAsUndetectable(); // undetectable
6920 env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust());
6923 "undetectable.x = 42;"
6924 "undetectable.x");
6932 ExpectBoolean("Object.isExtensible(undetectable)", true);
6934 source = v8_str("Object.preventExtensions(undetectable);");
6937 ExpectBoolean("Object.isExtensible(undetectable)", false);
6939 source = v8_str("undetectable.y = 2000;");
6942 ExpectBoolean("undetectable.y == undefined", true);
11763 desc->InstanceTemplate()->MarkAsUndetectable(); // undetectable
11771 env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust());
11773 ExpectString("undetectable.toString()", "[object Object]");
11774 ExpectString("typeof undetectable", "undefined");
11775 ExpectString("typeof(undetectable)", "undefined");
11776 ExpectBoolean("typeof undetectable == 'undefined'", true);
11777 ExpectBoolean("typeof undetectable == 'object'", false);
11778 ExpectBoolean("if (undetectable) { true; } else { false; }", false);
11779 ExpectBoolean("!undetectable", true);
11781 ExpectObject("true&&undetectable", obj);
11782 ExpectBoolean("false&&undetectable", false);
11783 ExpectBoolean("true||undetectable", true);
11784 ExpectObject("false||undetectable", obj);
11786 ExpectObject("undetectable&&true", obj);
11787 ExpectObject("undetectable&&false", obj);
11788 ExpectBoolean("undetectable||true", true);
11789 ExpectBoolean("undetectable||false", false);
11791 ExpectBoolean("undetectable==null", true);
11792 ExpectBoolean("null==undetectable", true);
11793 ExpectBoolean("undetectable==undefined", true);
11794 ExpectBoolean("undefined==undetectable", true);
11795 ExpectBoolean("undetectable==undetectable", true);
11797 ExpectBoolean("undetectable===null", false);
11798 ExpectBoolean("null===undetectable", false);
11799 ExpectBoolean("undetectable===undefined", false);
11800 ExpectBoolean("undefined===undetectable", false);
11801 ExpectBoolean("undetectable===undetectable", true);