Home | History | Annotate | Download | only in cctest

Lines Matching full:undetectable

4366   desc->InstanceTemplate()->MarkAsUndetectable();  // undetectable
4369 env->Global()->Set(v8_str("undetectable"), obj);
4371 ExpectString("undetectable.toString()", "[object Object]");
4372 ExpectString("typeof undetectable", "undefined");
4373 ExpectString("typeof(undetectable)", "undefined");
4374 ExpectBoolean("typeof undetectable == 'undefined'", true);
4375 ExpectBoolean("typeof undetectable == 'object'", false);
4376 ExpectBoolean("if (undetectable) { true; } else { false; }", false);
4377 ExpectBoolean("!undetectable", true);
4379 ExpectObject("true&&undetectable", obj);
4380 ExpectBoolean("false&&undetectable", false);
4381 ExpectBoolean("true||undetectable", true);
4382 ExpectObject("false||undetectable", obj);
4384 ExpectObject("undetectable&&true", obj);
4385 ExpectObject("undetectable&&false", obj);
4386 ExpectBoolean("undetectable||true", true);
4387 ExpectBoolean("undetectable||false", false);
4389 ExpectBoolean("undetectable==null", true);
4390 ExpectBoolean("null==undetectable", true);
4391 ExpectBoolean("undetectable==undefined", true);
4392 ExpectBoolean("undefined==undetectable", true);
4393 ExpectBoolean("undetectable==undetectable", true);
4396 ExpectBoolean("undetectable===null", false);
4397 ExpectBoolean("null===undetectable", false);
4398 ExpectBoolean("undetectable===undefined", false);
4399 ExpectBoolean("undefined===undetectable", false);
4400 ExpectBoolean("undetectable===undetectable", true);
4410 desc->InstanceTemplate()->MarkAsUndetectable(); // undetectable
4413 env->Global()->Set(v8_str("undetectable"), obj);
4416 ExpectBoolean("undetectable == void 0", true);
4419 ExpectBoolean("undetectable === void 0", false);
4423 ExpectBoolean("void 0 == undetectable", true);
4426 ExpectBoolean("void 0 === undetectable", false);
4454 desc->InstanceTemplate()->MarkAsUndetectable(); // undetectable
4457 env->Global()->Set(v8_str("undetectable"), obj);
4459 Local<String> source = v8_str("undetectable.x = 42;"
4460 "undetectable.x");
4466 ExpectBoolean("Object.isExtensible(undetectable)", true);
4468 source = v8_str("Object.preventExtensions(undetectable);");
4471 ExpectBoolean("Object.isExtensible(undetectable)", false);
4473 source = v8_str("undetectable.y = 2000;");
4476 ExpectBoolean("undetectable.y == undefined", true);
4486 env->Global()->Set(v8_str("undetectable"), obj);
4488 ExpectString("undetectable", "foo");
4489 ExpectString("typeof undetectable", "undefined");
4490 ExpectString("typeof(undetectable)", "undefined");
4491 ExpectBoolean("typeof undetectable == 'undefined'", true);
4492 ExpectBoolean("typeof undetectable == 'string'", false);
4493 ExpectBoolean("if (undetectable) { true; } else { false; }", false);
4494 ExpectBoolean("!undetectable", true);
4496 ExpectObject("true&&undetectable", obj);
4497 ExpectBoolean("false&&undetectable", false);
4498 ExpectBoolean("true||undetectable", true);
4499 ExpectObject("false||undetectable", obj);
4501 ExpectObject("undetectable&&true", obj);
4502 ExpectObject("undetectable&&false", obj);
4503 ExpectBoolean("undetectable||true", true);
4504 ExpectBoolean("undetectable||false", false);
4506 ExpectBoolean("undetectable==null", true);
4507 ExpectBoolean("null==undetectable", true);
4508 ExpectBoolean("undetectable==undefined", true);
4509 ExpectBoolean("undefined==undetectable", true);
4510 ExpectBoolean("undetectable==undetectable", true);
4513 ExpectBoolean("undetectable===null", false);
4514 ExpectBoolean("null===undetectable", false);
4515 ExpectBoolean("undetectable===undefined", false);
4516 ExpectBoolean("undefined===undetectable", false);
4517 ExpectBoolean("undetectable===undetectable", true);
4527 env->Global()->Set(v8_str("undetectable"), obj);
4532 " if (!%_IsUndetectableObject(undetectable)) throw 1;"
4536 " var b1 = !%_IsUndetectableObject(undetectable);"