/external/webkit/LayoutTests/fast/js/resources/ |
select-options-remove.js | 8 shouldBe("select1.options.remove(value)", "undefined"); 9 shouldBe("select1.options.length", "0"); 10 shouldBe("select1.selectedIndex", "-1"); 15 shouldBe("select1.options.remove(value)", "undefined"); 16 shouldBe("select1.options.length", "0"); 17 shouldBe("select1.selectedIndex", "-1"); 22 shouldBe("select1.options.remove(value)", "undefined"); 23 shouldBe("select1.options.length", "0"); 24 shouldBe("select1.selectedIndex", "-1"); 29 shouldBe("select1.options.remove(value)", "undefined") [all...] |
const.js | 10 shouldBe("x", '"RIGHT"'); 14 shouldBe("y", '"RIGHT"'); 22 shouldBe("a", "1"); 23 shouldBe("one", "1"); 27 shouldBe("a", "1"); 28 shouldBe("one", "1"); 32 shouldBe("a", "2"); 33 shouldBe("one", "1"); 37 shouldBe("a", "0"); 38 shouldBe("one", "1") [all...] |
codegen-temporaries-multiple-global-blocks-2.js | 7 shouldBe("v1", "2"); 12 shouldBe("o2.a", "2"); 17 shouldBe("o3.a", "2"); 21 shouldBe("r4", "1"); 26 shouldBe("o5.a", "2"); 31 shouldBe("o6.a", "2"); 36 shouldBe("o7.a", "2"); 41 shouldBe("o8.a", "2");
|
/external/webkit/JavaScriptCore/API/tests/ |
testapi.js | 42 function shouldBe(a, b) 75 shouldBe("globalStaticValue", 3); 76 shouldBe("globalStaticFunction()", 4); 78 shouldBe("typeof MyObject", "function"); // our object implements 'call' 80 shouldBe("MyObject.cantFind", undefined); 82 shouldBe("MyObject.regularType", 1); 84 shouldBe("MyObject.alwaysOne", 1); 87 shouldBe("MyObject.cantDelete", 1); 88 shouldBe("delete MyObject.throwOnDelete", "an exception"); 90 shouldBe("MyObject.cantSet", undefined) [all...] |
/external/webkit/LayoutTests/fast/events/touch/script-tests/ |
document-create-touch.js | 14 shouldBe("touch.target", "box"); 15 shouldBe("touch.identifier", "1"); 16 shouldBe("touch.pageX", "100"); 17 shouldBe("touch.pageY", "101"); 18 shouldBe("touch.screenX", "102"); 19 shouldBe("touch.screenY", "103"); 24 shouldBe("emptyTouch.identifier", "0"); 25 shouldBe("emptyTouch.pageX", "0"); 26 shouldBe("emptyTouch.pageY", "0"); 27 shouldBe("emptyTouch.screenX", "0") [all...] |
/external/webkit/LayoutTests/storage/domstorage/script-tests/ |
clear.js | 14 shouldBe("storage.length", "0"); 18 shouldBe("storage.length", "2"); 23 shouldBe("storage.length", "0"); 24 shouldBe("storage['FOO']", "undefined"); // FIXME: Wait...shouldn't this be null? 25 shouldBe("storage['BAR']", "undefined"); // ditto
|
complex-keys.js | 14 shouldBe("storage.length", "0"); 19 shouldBe("storage.length", "1"); 38 shouldBe("storage.length", "2"); 47 shouldBe("storage.length", "3"); 55 shouldBe("storage.length", "3"); 64 shouldBe("storage.length", "4"); 72 shouldBe("storage.length", "4"); 81 shouldBe("storage.length", "5"); 89 shouldBe("storage.length", "5"); 97 shouldBe("storage.length", "6") [all...] |
/external/webkit/LayoutTests/fast/dom/Geolocation/resources/ |
error.js | 15 shouldBe('error.code', 'mockCode'); 16 shouldBe('error.message', 'mockMessage'); 17 shouldBe('error.UNKNOWN_ERROR', 'undefined'); 18 shouldBe('error.PERMISSION_DENIED', '1'); 19 shouldBe('error.POSITION_UNAVAILABLE', '2'); 20 shouldBe('error.TIMEOUT', '3');
|
position-string.js | 14 // shouldBe can't use local variables yet. 16 shouldBe('position.coords.latitude', 'mockLatitude'); 17 shouldBe('position.coords.longitude', 'mockLongitude'); 18 shouldBe('position.coords.accuracy', 'mockAccuracy'); 19 shouldBe('position.toString()', '"[object Geoposition]"'); 20 shouldBe('position.coords.toString()', '"[object Coordinates]"');
|
success.js | 15 shouldBe('position.coords.latitude', 'mockLatitude'); 16 shouldBe('position.coords.longitude', 'mockLongitude'); 17 shouldBe('position.coords.accuracy', 'mockAccuracy');
|
reentrant-error.js | 21 shouldBe('error.code', 'mockCode'); 22 shouldBe('error.message', 'mockMessage'); 38 shouldBe('error.code', 'mockCode'); 39 shouldBe('error.message', 'mockMessage');
|
reentrant-success.js | 22 shouldBe('position.coords.latitude', 'mockLatitude'); 23 shouldBe('position.coords.longitude', 'mockLongitude'); 24 shouldBe('position.coords.accuracy', 'mockAccuracy'); 39 shouldBe('position.coords.latitude', 'mockLatitude'); 40 shouldBe('position.coords.longitude', 'mockLongitude'); 41 shouldBe('position.coords.accuracy', 'mockAccuracy');
|
watch.js | 15 shouldBe('position.coords.latitude', 'mockLatitude'); 16 shouldBe('position.coords.longitude', 'mockLongitude'); 17 shouldBe('position.coords.accuracy', 'mockAccuracy'); 23 shouldBe('error.code', 'mockCode'); 24 shouldBe('error.message', 'mockMessage');
|
timeout.js | 15 shouldBe('position.coords.latitude', 'mockLatitude'); 16 shouldBe('position.coords.longitude', 'mockLongitude'); 17 shouldBe('position.coords.accuracy', 'mockAccuracy');
|
permission-denied.js | 12 shouldBe('error.code', 'error.PERMISSION_DENIED'); 13 shouldBe('error.message', '"User denied Geolocation"');
|
timeout-zero.js | 11 shouldBe('error.code', 'error.TIMEOUT'); 12 shouldBe('error.message', '"Timeout expired"');
|
permission-denied-already-clear-watch.js | 13 shouldBe('error.code', 'error.PERMISSION_DENIED'); 14 shouldBe('error.message', '"User denied Geolocation"'); 27 shouldBe('error.code', 'error.PERMISSION_DENIED'); 28 shouldBe('error.message', '"User denied Geolocation"');
|
permission-denied-already-error.js | 13 shouldBe('error.code', 'error.PERMISSION_DENIED'); 14 shouldBe('error.message', '"User denied Geolocation"'); 29 shouldBe('error.code', 'error.PERMISSION_DENIED'); 30 shouldBe('error.message', '"User denied Geolocation"');
|
/external/webkit/LayoutTests/http/tests/appcache/ |
dynamic-entries-no-cache.html-disabled | 30 function shouldBe(_a, _b) 33 log("WARN: shouldBe() expects string arguments"); 54 shouldBe("applicationCache.items.length", "0"); 55 shouldBe("applicationCache.items.item(0)", "null"); 56 shouldBe("applicationCache.items.item(1)", "null"); 57 shouldBe("applicationCache.items.item(0xffffffff)", "null"); 58 shouldBe("applicationCache.items.item(0xfffffffe)", "null"); 59 shouldBe("applicationCache.items.item(-1)", "null"); 60 shouldBe("applicationCache.items.item(-2)", "null"); 62 shouldBe("applicationCache.items[0xfffffffe]", "undefined") [all...] |
/external/webkit/WebCore/manual-tests/ |
window-sizing.html | 20 shouldBe("w.innerHeight", 200); 21 shouldBe("w.innerWidth", 200); 22 shouldBe("w.outerWidth", 200); 23 shouldBe("w.screenLeft", 0); 24 shouldBe("w.screenTop", 22); // empirical result of low dpi testing 25 shouldBe("w.outerHeight", 223); // empirical result of low dpi testing 35 shouldBe("w.innerHeight", 200); 36 shouldBe("w.innerWidth", 200); 37 shouldBe("w.outerWidth", 200); 38 shouldBe("w.screenLeft", 0) [all...] |
/external/webkit/LayoutTests/storage/domstorage/events/script-tests/ |
case-sensitive.js | 15 shouldBe("storage.length", "0"); 35 shouldBe("storageEventList.length", "0"); 43 shouldBe("storageEventList.length", "1");
|
documentURI.js | 15 shouldBe("storage.length", "0"); 31 shouldBe("storageEventList.length", "1"); 44 shouldBe("storageEventList.length", "2");
|
basic-body-attribute.js | 15 shouldBe("storage.length", "0"); 32 shouldBe("storageEventList.length", "1"); 46 shouldBe("storageEventList.length", "5"); 66 shouldBe("storageEventList.length", "6"); 77 shouldBe("storageEventList.length", "7"); 88 shouldBe("storageEventList.length", "8");
|
basic-setattribute.js | 15 shouldBe("storage.length", "0"); 32 shouldBe("storageEventList.length", "1"); 46 shouldBe("storageEventList.length", "5"); 66 shouldBe("storageEventList.length", "6"); 77 shouldBe("storageEventList.length", "7"); 88 shouldBe("storageEventList.length", "8");
|
basic.js | 15 shouldBe("storage.length", "0"); 31 shouldBe("storageEventList.length", "1"); 45 shouldBe("storageEventList.length", "5"); 65 shouldBe("storageEventList.length", "6"); 76 shouldBe("storageEventList.length", "7"); 87 shouldBe("storageEventList.length", "8");
|