Changeset 149171 in webkit
- Timestamp:
- Apr 26, 2013 2:16:34 AM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r149168 r149171 1 2013-04-26 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 3 [Qt] REGRESSION(r149001): It made two fast/dom/DeviceMotion tests fail. 4 https://bugs.webkit.org/show_bug.cgi?id=115235 5 6 Reviewed by Kentaro Hara. 7 8 Update window-property.html test cases for DeviceMotion and DeviceOrientation. 9 The global constructors are no longer enumerable after r149001. 10 11 * fast/dom/DeviceMotion/script-tests/window-property.js: 12 * fast/dom/DeviceMotion/window-property-expected.txt: 13 * fast/dom/DeviceOrientation/script-tests/window-property.js: 14 * fast/dom/DeviceOrientation/window-property-expected.txt: 15 1 16 2013-04-25 Mihnea Ovidenie <mihnea@adobe.com> 2 17 -
trunk/LayoutTests/fast/dom/DeviceMotion/script-tests/window-property.js
r98407 r149171 1 1 description("Tests that the window.DeviceMotionEvent and window.ondevicemotion properties are present."); 2 3 function hasDeviceMotionEventProperty()4 {5 for (var property in window) {6 if (property == "DeviceMotionEvent")7 return true;8 }9 return false;10 }11 2 12 3 shouldBeTrue("typeof window.DeviceMotionEvent == 'object'"); 13 4 shouldBeFalse("typeof window.DeviceMotionEvent == 'function'"); 14 shouldBe True("hasDeviceMotionEventProperty()");5 shouldBeFalse("window.propertyIsEnumerable('DeviceMotionEvent')"); 15 6 shouldBeTrue("'DeviceMotionEvent' in window"); 16 7 shouldBeTrue("window.hasOwnProperty('DeviceMotionEvent')"); -
trunk/LayoutTests/fast/dom/DeviceMotion/window-property-expected.txt
r65066 r149171 6 6 PASS typeof window.DeviceMotionEvent == 'object' is true 7 7 PASS typeof window.DeviceMotionEvent == 'function' is false 8 PASS hasDeviceMotionEventProperty() is true8 PASS window.propertyIsEnumerable('DeviceMotionEvent') is false 9 9 PASS 'DeviceMotionEvent' in window is true 10 10 PASS window.hasOwnProperty('DeviceMotionEvent') is true -
trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js
r98407 r149171 1 1 description('Tests that the window.DeviceOrientationEvent and window.ondeviceorientation properties are present.'); 2 3 function hasDeviceOrientationEventProperty()4 {5 for (var property in window) {6 if (property == 'DeviceOrientationEvent')7 return true;8 }9 return false;10 }11 2 12 3 shouldBeTrue("typeof window.DeviceOrientationEvent == 'object'"); 13 4 shouldBeFalse("typeof window.DeviceOrientationEvent == 'function'"); 14 shouldBe True("hasDeviceOrientationEventProperty()");5 shouldBeFalse("window.propertyIsEnumerable('DeviceOrientationEvent')"); 15 6 shouldBeTrue("'DeviceOrientationEvent' in window"); 16 7 shouldBeTrue("window.hasOwnProperty('DeviceOrientationEvent')"); -
trunk/LayoutTests/fast/dom/DeviceOrientation/window-property-expected.txt
r64125 r149171 6 6 PASS typeof window.DeviceOrientationEvent == 'object' is true 7 7 PASS typeof window.DeviceOrientationEvent == 'function' is false 8 PASS hasDeviceOrientationEventProperty() is true8 PASS window.propertyIsEnumerable('DeviceOrientationEvent') is false 9 9 PASS 'DeviceOrientationEvent' in window is true 10 10 PASS window.hasOwnProperty('DeviceOrientationEvent') is true
Note: See TracChangeset
for help on using the changeset viewer.