OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:object3
(Results
1 - 2
of
2
) sorted by null
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/
tst_qscriptvalue.cpp
494
QScriptValue
object3
= eng.newObject();
local
495
object3
.setProperty("foo", num);
496
QCOMPARE(
object3
.property("foo").strictlyEquals(num), true);
497
object3
.setProperty("bar", str);
498
QCOMPARE(
object3
.property("bar").strictlyEquals(str), true);
499
object3
.setProperty("foo", QScriptValue());
500
QCOMPARE(
object3
.property("foo").isValid(), false);
501
QCOMPARE(
object3
.property("bar").strictlyEquals(str), true);
502
object3
.setProperty("foo", num);
503
QCOMPARE(
object3
.property("foo").strictlyEquals(num), true)
808
QScriptValue
object3
= otherEngine.evaluate("new Object()");
local
[
all
...]
/external/webkit/Source/JavaScriptCore/API/tests/
testapi.c
789
JSObjectRef
object3
= JSObjectMake(context, /* jsClass */ 0, /* data */ 0);
local
804
// object1 -> object2 ->
object3
-> object1
805
JSObjectSetPrototype(context, object2,
object3
);
806
ASSERT(JSValueIsStrictEqual(context, JSObjectGetPrototype(context, object2),
object3
));
809
JSObjectSetPrototype(context,
object3
, object1);
810
result &= assertTrue(!JSValueIsStrictEqual(context, JSObjectGetPrototype(context,
object3
), object1), "It is possible to close a prototype chain cycle");
[
all
...]
Completed in 200 milliseconds