Changeset 151317 in webkit


Ignore:
Timestamp:
Jun 7, 2013 7:40:53 AM (11 years ago)
Author:
kihong.kwon@samsung.com
Message:

REGRESSION: r149001 made proximity test fail.
https://bugs.webkit.org/show_bug.cgi?id=117343

Reviewed by Christophe Dumez.

Update window-property.html test cases for Device Proximity Event.
The global constructors are no longer enumerable after r149001.

  • proximity/window-property-expected.txt:
  • proximity/window-property.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r151315 r151317  
     12013-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
    1142013-06-07  Gabor Abraham  <abrhm@inf.u-szeged.hu>
    215
  • trunk/LayoutTests/proximity/window-property-expected.txt

    r139050 r151317  
    66PASS typeof window.DeviceProximityEvent == 'object' is true
    77PASS typeof window.DeviceProximityEvent == 'function' is false
    8 PASS hasDeviceProximityEventProperty() is true
     8PASS window.propertyIsEnumerable('DeviceProximityEvent') is false
    99PASS 'DeviceProximityEvent' in window is true
    1010PASS window.hasOwnProperty('DeviceProximityEvent') is true
  • trunk/LayoutTests/proximity/window-property.html

    r139050 r151317  
    77description('Tests that the window.DeviceProximityEvent and window.onwebkitdeviceproximity properties are present.');
    88
    9 function hasDeviceProximityEventProperty()
    10 {
    11     for (var property in window) {
    12         if (property == 'DeviceProximityEvent')
    13             return true;
    14     }
    15     return false;
    16 }
    17 
    189shouldBeTrue("typeof window.DeviceProximityEvent == 'object'");
    1910shouldBeFalse("typeof window.DeviceProximityEvent == 'function'");
    20 shouldBeTrue("hasDeviceProximityEventProperty()");
     11shouldBeFalse("window.propertyIsEnumerable('DeviceProximityEvent')");
    2112shouldBeTrue("'DeviceProximityEvent' in window");
    2213shouldBeTrue("window.hasOwnProperty('DeviceProximityEvent')");
Note: See TracChangeset for help on using the changeset viewer.