/external/v8/test/mjsunit/ |
array-elements-from-array-prototype-chain.js | 52 assertFalse(a.hasOwnProperty(3)) 55 assertFalse(a.hasOwnProperty(7)) 62 assertTrue(a.hasOwnProperty(2)) 64 assertFalse(a.hasOwnProperty(3)) 67 assertTrue(a.hasOwnProperty(6)) 69 assertFalse(a.hasOwnProperty(7)) 76 assertFalse(a.hasOwnProperty(3)) 78 assertTrue(a.hasOwnProperty(4)) 80 assertTrue(a.hasOwnProperty(5)) 83 assertFalse(a.hasOwnProperty(6) [all...] |
array-elements-from-array-prototype.js | 52 assertFalse(a.hasOwnProperty(3)) 55 assertFalse(a.hasOwnProperty(7)) 62 assertTrue(a.hasOwnProperty(2)) 64 assertFalse(a.hasOwnProperty(3)) 67 assertTrue(a.hasOwnProperty(6)) 69 assertFalse(a.hasOwnProperty(7)) 76 assertFalse(a.hasOwnProperty(3)) 78 assertTrue(a.hasOwnProperty(4)) 80 assertTrue(a.hasOwnProperty(5)) 83 assertFalse(a.hasOwnProperty(6) [all...] |
array-elements-from-object-prototype.js | 52 assertFalse(a.hasOwnProperty(3)) 55 assertFalse(a.hasOwnProperty(7)) 62 assertTrue(a.hasOwnProperty(2)) 64 assertFalse(a.hasOwnProperty(3)) 67 assertTrue(a.hasOwnProperty(6)) 69 assertFalse(a.hasOwnProperty(7)) 76 assertFalse(a.hasOwnProperty(3)) 78 assertTrue(a.hasOwnProperty(4)) 80 assertTrue(a.hasOwnProperty(5)) 83 assertFalse(a.hasOwnProperty(6) [all...] |
array-splice.js | 271 // and now check hasOwnProperty 272 assertFalse(array.hasOwnProperty(0), "array.hasOwnProperty(0)"); 273 assertFalse(array.hasOwnProperty(1), "array.hasOwnProperty(1)"); 274 assertTrue(array.hasOwnProperty(2)); 275 assertTrue(array.hasOwnProperty(3)); 276 assertTrue(array.hasOwnProperty(4)); 277 assertFalse(array.hasOwnProperty(5), "array.hasOwnProperty(5)") [all...] |
string-index.js | 96 assertEquals(true, S.hasOwnProperty(0), "0 hasOwnProperty"); 97 assertEquals(false, S.hasOwnProperty(-1), "-1 hasOwnProperty"); 98 assertEquals(true, S.hasOwnProperty(2), "2 hasOwnProperty"); 99 assertEquals(true, S.hasOwnProperty(3), "3 hasOwnProperty"); 100 assertEquals(false, S.hasOwnProperty(4), "3 hasOwnProperty"); [all...] |
array-shift.js | 52 assertTrue(array.hasOwnProperty(2)); 55 assertTrue(array.hasOwnProperty(6)); 60 assertFalse(array.hasOwnProperty(5)); 63 assertFalse(array.hasOwnProperty(3)); 66 assertFalse(array.hasOwnProperty(7)); 93 assertTrue(array.hasOwnProperty(2)); 96 assertTrue(array.hasOwnProperty(6)); 101 assertFalse(array.hasOwnProperty(5)); 104 assertFalse(array.hasOwnProperty(3)); 107 assertFalse(array.hasOwnProperty(7)) [all...] |
array-unshift.js | 54 assertFalse(array.hasOwnProperty(0)); 55 assertFalse(array.hasOwnProperty(1)); 56 assertFalse(array.hasOwnProperty(2)); 69 assertTrue(array.hasOwnProperty(0)); 70 assertFalse(array.hasOwnProperty(1)); 71 assertTrue(array.hasOwnProperty(2)); 97 assertTrue(array.hasOwnProperty(4)); 100 assertTrue(array.hasOwnProperty(8)); 105 assertFalse(array.hasOwnProperty(5)); 108 assertFalse(array.hasOwnProperty(3)) [all...] |
error-constructors.js | 29 assertFalse(e.hasOwnProperty('message')); 43 assertTrue(e1.hasOwnProperty('message')); 44 assertTrue(e0.hasOwnProperty('stack')); 45 assertTrue(e1.hasOwnProperty('stack')); 46 assertTrue(e0.hasOwnProperty('type')); 47 assertTrue(e1.hasOwnProperty('type')); 48 assertTrue(e0.hasOwnProperty('arguments')); 49 assertTrue(e1.hasOwnProperty('arguments'));
|
array-sort.js | 260 assertTrue(obj.hasOwnProperty(i), name + "hasvalue" + i); 265 assertTrue(obj.hasOwnProperty(i), name + "hasundefined" + i); 267 assertTrue(!obj.hasOwnProperty(depth * 2 + 2), name + "hashole"); 291 assertTrue(y.hasOwnProperty(i), name + "hasvalue" + i); 295 assertEquals(x.hasOwnProperty(i), y.hasOwnProperty(i), 298 if (x.hasOwnProperty(i)) { 343 assertTrue(x.hasOwnProperty(i), name + "has" + i) 346 assertFalse(x.hasOwnProperty(sorted.length), name + "haspost"); 348 assertTrue(x.hasOwnProperty(10), name + "hasundefined10") [all...] |
array-pop.js | 74 var own = a.hasOwnProperty(j); 75 var inherited = Array.prototype.hasOwnProperty(j); 78 assertFalse(a.hasOwnProperty(j), "inherit-deleted-own-" + j); 79 assertEquals(inherited, Array.prototype.hasOwnProperty(j), 100 var own = a.hasOwnProperty(j); 101 var inherited = array_proto.hasOwnProperty(j); 104 assertFalse(a.hasOwnProperty(j), "array_proto-inherit-deleted-own-" + j); 105 assertEquals(inherited, array_proto.hasOwnProperty(j),
|
array-slice.js | 159 assertFalse(array.hasOwnProperty(3)); 161 assertTrue(sliced.hasOwnProperty(3)); 164 assertFalse(array.hasOwnProperty(7)); 166 assertTrue(sliced.hasOwnProperty(7)); 171 assertFalse(array.hasOwnProperty(5)); 202 assertFalse(array.hasOwnProperty(3)); 204 assertTrue(sliced.hasOwnProperty(3)); 207 assertFalse(array.hasOwnProperty(7)); 209 assertTrue(sliced.hasOwnProperty(7)); 214 assertFalse(array.hasOwnProperty(5)) [all...] |
undeletable-functions.js | 84 "toString", "toLocaleString", "valueOf", "hasOwnProperty", 145 var hasOwnProperty = Object.prototype.hasOwnProperty; 147 assertTrue(type.hasOwnProperty(prop), "inherited: " + prop); 150 assertFalse(hasOwnProperty.call(type, prop), "still there after delete: " + prop); 160 assertTrue(type.hasOwnProperty(prop), "inherited: " + prop); 163 assertTrue(type.hasOwnProperty(prop), "not there after delete: " + prop); 175 assertTrue(type.hasOwnProperty(prop), "inherited: " + prop); 178 assertTrue(type.hasOwnProperty(prop), "not there after delete: " + prop); 187 assertTrue(type.hasOwnProperty(prop), "inherited: " + prop) [all...] |
delete-global-properties.js | 42 assertTrue(this.hasOwnProperty('x')); 45 assertFalse(this.hasOwnProperty('x')); 48 assertTrue(this.hasOwnProperty('x'));
|
/external/webkit/LayoutTests/fast/dom/DeviceMotion/script-tests/ |
window-property.js | 16 shouldBeTrue("window.hasOwnProperty('DeviceMotionEvent')"); 30 shouldBeTrue("window.hasOwnProperty('ondevicemotion')");
|
/external/webkit/LayoutTests/fast/dom/DeviceOrientation/script-tests/ |
window-property.js | 16 shouldBeTrue("window.hasOwnProperty('DeviceOrientationEvent')"); 30 shouldBeTrue("window.hasOwnProperty('ondeviceorientation')");
|
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
enabled.js | 15 shouldBeTrue("navigator.hasOwnProperty('geolocation')");
|
/external/v8/test/mjsunit/regress/ |
regress-1170.js | 33 assertFalse(hasOwnProperty("a")); 37 assertFalse(hasOwnProperty("a")); 42 assertTrue(hasOwnProperty("a")); 64 assertFalse(hasOwnProperty("c"));
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Object/ |
regress-90596-001.js | 53 obj = {hasOwnProperty:"Hi"}; 55 expect = '({hasOwnProperty:"Hi"})'; 59 obj = {toString:9, hasOwnProperty:"Hi"}; 61 expect = '({toString:9, hasOwnProperty:"Hi"})'; 65 obj = {prop1:1, toString:9, hasOwnProperty:"Hi"}; 67 expect = '({prop1:1, toString:9, hasOwnProperty:"Hi"})'; 82 s = 'obj = {hasOwnProperty:"Hi"}'; 85 expect = '({hasOwnProperty:"Hi"})'; 89 s = 'obj = {toString:9, hasOwnProperty:"Hi"}'; 92 expect = '({toString:9, hasOwnProperty:"Hi"})' [all...] |
regress-90596-002.js | 53 obj = {hasOwnProperty:"Hi"}; 55 expect = '({hasOwnProperty:"Hi"})'; 59 obj = {toString:9, hasOwnProperty:"Hi"}; 61 expect = '({toString:9, hasOwnProperty:"Hi"})'; 65 obj = {prop1:1, toString:9, hasOwnProperty:"Hi"}; 67 expect = '({prop1:1, toString:9, hasOwnProperty:"Hi"})'; 82 s = 'obj = {hasOwnProperty:"Hi"}'; 85 expect = '({hasOwnProperty:"Hi"})'; 89 s = 'obj = {toString:9, hasOwnProperty:"Hi"}'; 92 expect = '({toString:9, hasOwnProperty:"Hi"})' [all...] |
regress-90596-003.js | 59 obj = {hasOwnProperty:"Hi"}; 61 expect = '{hasOwnProperty:"Hi"}'; 65 obj = {toString:9, hasOwnProperty:"Hi"}; 67 expect = '{toString:9, hasOwnProperty:"Hi"}'; 71 obj = {prop1:1, toString:9, hasOwnProperty:"Hi"}; 73 expect = '{prop1:1, toString:9, hasOwnProperty:"Hi"}'; 88 s = 'obj = {hasOwnProperty:"Hi"}'; 91 expect = '{hasOwnProperty:"Hi"}'; 95 s = 'obj = {toString:9, hasOwnProperty:"Hi"}'; 98 expect = '{toString:9, hasOwnProperty:"Hi"}' [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Function/ |
scope-001.js | 189 actual = String([obj.hasOwnProperty('f'), self.hasOwnProperty('f')]);
|
scope-002.js | 167 actual = String([obj.hasOwnProperty('f'), self.hasOwnProperty('f')]);
|
/external/chromium/chrome/browser/resources/shared/js/ |
parse_html_subset.js | 51 if (!allowedAttributes.hasOwnProperty(n) || !allowedAttributes[n](node, v))
|
/external/chromium/chrome/common/extensions/docs/examples/howto/contentscript_xhr/ |
contentscript.js | 17 if (data.trends.hasOwnProperty(date)) {
|
/external/webkit/Source/JavaScriptCore/runtime/ |
CommonIdentifiers.h | 48 macro(hasOwnProperty) \
|