Changeset 151317 in webkit
- Timestamp:
- Jun 7, 2013 7:40:53 AM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r151315 r151317 1 2013-06-07 Kihong Kwon <kihong.kwon@samsung.com> 2 3 REGRESSION: r149001 made proximity test fail. 4 https://bugs.webkit.org/show_bug.cgi?id=117343 5 6 Reviewed by Christophe Dumez. 7 8 Update window-property.html test cases for Device Proximity Event. 9 The global constructors are no longer enumerable after r149001. 10 11 * proximity/window-property-expected.txt: 12 * proximity/window-property.html: 13 1 14 2013-06-07 Gabor Abraham <abrhm@inf.u-szeged.hu> 2 15 -
trunk/LayoutTests/proximity/window-property-expected.txt
r139050 r151317 6 6 PASS typeof window.DeviceProximityEvent == 'object' is true 7 7 PASS typeof window.DeviceProximityEvent == 'function' is false 8 PASS hasDeviceProximityEventProperty() is true8 PASS window.propertyIsEnumerable('DeviceProximityEvent') is false 9 9 PASS 'DeviceProximityEvent' in window is true 10 10 PASS window.hasOwnProperty('DeviceProximityEvent') is true -
trunk/LayoutTests/proximity/window-property.html
r139050 r151317 7 7 description('Tests that the window.DeviceProximityEvent and window.onwebkitdeviceproximity properties are present.'); 8 8 9 function hasDeviceProximityEventProperty()10 {11 for (var property in window) {12 if (property == 'DeviceProximityEvent')13 return true;14 }15 return false;16 }17 18 9 shouldBeTrue("typeof window.DeviceProximityEvent == 'object'"); 19 10 shouldBeFalse("typeof window.DeviceProximityEvent == 'function'"); 20 shouldBe True("hasDeviceProximityEventProperty()");11 shouldBeFalse("window.propertyIsEnumerable('DeviceProximityEvent')"); 21 12 shouldBeTrue("'DeviceProximityEvent' in window"); 22 13 shouldBeTrue("window.hasOwnProperty('DeviceProximityEvent')");
Note: See TracChangeset
for help on using the changeset viewer.