Home
last modified time | relevance | path

Searched refs:shouldBeTrue (Results 1 – 24 of 24) sorted by relevance

/external/webkit/LayoutTests/fast/dom/DeviceMotion/script-tests/
Doptional-event-properties.js17 shouldBeTrue("event.acceleration == null");
18 shouldBeTrue("event.accelerationIncludingGravity == null");
19 shouldBeTrue("event.rotationRate == null");
20 shouldBeTrue("event.interval == null");
23 shouldBeTrue("event.acceleration.x == 0");
24 shouldBeTrue("event.acceleration.y == 1");
25 shouldBeTrue("event.acceleration.z == 2");
26 shouldBeTrue("event.accelerationIncludingGravity.x == 3");
27 shouldBeTrue("event.accelerationIncludingGravity.y == 4");
28 shouldBeTrue("event.accelerationIncludingGravity.z == 5");
[all …]
Dcreate-event.js5 shouldBeTrue("typeof event == 'object'");
7 shouldBeTrue("'type' in event");
8 shouldBeTrue("'bubbles' in event");
9 shouldBeTrue("'cancelable' in event");
10 shouldBeTrue("'acceleration' in event");
11 shouldBeTrue("'accelerationIncludingGravity' in event");
12 shouldBeTrue("'rotationRate' in event");
13 shouldBeTrue("'interval' in event");
15 shouldBeTrue("typeof event.type == 'string'");
16 shouldBeTrue("typeof event.bubbles == 'boolean'");
[all …]
Dwindow-property.js12 shouldBeTrue("typeof window.DeviceMotionEvent == 'object'");
14 shouldBeTrue("hasDeviceMotionEventProperty()");
15 shouldBeTrue("'DeviceMotionEvent' in window");
16 shouldBeTrue("window.hasOwnProperty('DeviceMotionEvent')");
27 shouldBeTrue("typeof window.ondevicemotion == 'object'");
28 shouldBeTrue("hasOnDeviceMotionProperty()");
29 shouldBeTrue("'ondevicemotion' in window");
30 shouldBeTrue("window.hasOwnProperty('ondevicemotion')");
/external/webkit/LayoutTests/fast/dom/DeviceOrientation/script-tests/
Doptional-event-properties.js6 shouldBeTrue("event.alpha == null");
7 shouldBeTrue("event.beta == null");
8 shouldBeTrue("event.gamma == null");
11 shouldBeTrue("event.alpha == 0");
12 shouldBeTrue("event.beta == 1");
13 shouldBeTrue("event.gamma == 2");
16 shouldBeTrue("event.alpha == null");
17 shouldBeTrue("event.beta == null");
18 shouldBeTrue("event.gamma == null");
21 shouldBeTrue("event.alpha == 0");
[all …]
Dcreate-event.js5 shouldBeTrue("typeof event == 'object'");
7 shouldBeTrue("'type' in event");
8 shouldBeTrue("'bubbles' in event");
9 shouldBeTrue("'cancelable' in event");
10 shouldBeTrue("'alpha' in event");
11 shouldBeTrue("'beta' in event");
12 shouldBeTrue("'gamma' in event");
14 shouldBeTrue("typeof event.type == 'string'");
15 shouldBeTrue("typeof event.bubbles == 'boolean'");
16 shouldBeTrue("typeof event.cancelable == 'boolean'");
[all …]
Dwindow-property.js12 shouldBeTrue("typeof window.DeviceOrientationEvent == 'object'");
14 shouldBeTrue("hasDeviceOrientationEventProperty()");
15 shouldBeTrue("'DeviceOrientationEvent' in window");
16 shouldBeTrue("window.hasOwnProperty('DeviceOrientationEvent')");
27 shouldBeTrue("typeof window.ondeviceorientation == 'object'");
28 shouldBeTrue("hasOnDeviceOrientationProperty()");
29 shouldBeTrue("'ondeviceorientation' in window");
30 shouldBeTrue("window.hasOwnProperty('ondeviceorientation')");
Dno-synchronous-events.js10 shouldBeTrue('hasAddEventListenerReturned');
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
Dtimestamp.js13 shouldBeTrue('now != 0');
21 shouldBeTrue('t != 0');
22 shouldBeTrue('then != 0');
23 shouldBeTrue('now - 1 <= t'); // Avoid rounding errors
28 shouldBeTrue('t <= then + 1'); // Avoid rounding errors
Denabled.js12 shouldBeTrue("typeof navigator.geolocation == 'object'");
13 shouldBeTrue("hasGeolocationProperty()");
14 shouldBeTrue("'geolocation' in navigator");
15 shouldBeTrue("navigator.hasOwnProperty('geolocation')");
/external/webkit/LayoutTests/fast/js/resources/
Djs-constructors-use-correct-global.js7shouldBeTrue("new otherGlobal." + constructors[i] + "() instanceof otherGlobal." + constructors[i]…
10shouldBeTrue("otherGlobal." + constructors[i] + "() instanceof otherGlobal." + constructors[i]);
Djs-test-pre.js120 function shouldBeTrue(_a) { shouldBe(_a, "true"); } function
151 shouldBeTrue(actual + " == '" + expected + "'");
157 shouldBeTrue(actual);
164 shouldBeTrue(actual, "'" +expected.toString() + "'");
309 shouldBeTrue("successfullyParsed");
Dstandalone-post.js1 shouldBeTrue("successfullyParsed");
Djs-test-post-function.js3 shouldBeTrue("successfullyParsed");
Djs-test-post-async.js1 shouldBeTrue("successfullyParsed");
Dbom-in-file-retains-correct-offset.js2 function g(){function f(){successfullyReparsed=true;shouldBeTrue('successfullyReparsed');succe…
Dconst.js119 shouldBeTrue("ranConstInitialiser");
Dstandalone-pre.js90 function shouldBeTrue(_a) { shouldBe(_a, "true"); } function
/external/webkit/LayoutTests/http/tests/cookies/resources/
Dcookies-test-post.js1 shouldBeTrue("successfullyParsed");
Dcookies-test-pre.js98 function shouldBeTrue(_a) { shouldBe(_a, "true"); } function
/external/webkit/LayoutTests/fast/dom/Node/script-tests/
DisEqualNode.js9 shouldBeTrue("docTypeAllSet.isEqualNode(docTypeAllSet2)");
/external/webkit/LayoutTests/storage/domstorage/events/script-tests/
DdocumentURI.js45 shouldBeTrue(String(window.lastURL == storageEventList[1].url));
/external/webkit/LayoutTests/fast/encoding/resources/
Dinvalid-xml.js9 shouldBeTrue("iframe.contentDocument.documentElement.getElementsByTagName('test').length < 1");
/external/webkit/LayoutTests/fast/events/touch/script-tests/
Ddocument-create-touch.js3 shouldBeTrue('"createTouch" in document');
Ddocument-create-touch-list.js3 shouldBeTrue('"createTouchList" in document');