Changeset 64125 in webkit


Ignore:
Timestamp:
Jul 27, 2010 6:55:51 AM (14 years ago)
Author:
steveblock@google.com
Message:

2010-07-27 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

LayoutTests/fast/dom/DeviceOrientation/window-property.html assumes use of V8
https://bugs.webkit.org/show_bug.cgi?id=43025

This change modifies window-property.html and its expected result to work with JSC.
A V8-specific expected result is added for Android.

  • fast/dom/DeviceOrientation/script-tests/window-property.js:
  • fast/dom/DeviceOrientation/window-property-expected.txt:
  • platform/android-v8: Added.
  • platform/android-v8/fast: Added.
  • platform/android-v8/fast/dom: Added.
  • platform/android-v8/fast/dom/DeviceOrientation: Added.
  • platform/android-v8/fast/dom/DeviceOrientation/window-property-expected.txt: Added.
Location:
trunk/LayoutTests
Files:
4 added
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r64121 r64125  
     12010-07-27  Steve Block  <steveblock@google.com>
     2
     3        Reviewed by Jeremy Orlow.
     4
     5        LayoutTests/fast/dom/DeviceOrientation/window-property.html assumes use of V8
     6        https://bugs.webkit.org/show_bug.cgi?id=43025
     7
     8        This change modifies window-property.html and its expected result to work with JSC.
     9        A V8-specific expected result is added for Android.
     10
     11        * fast/dom/DeviceOrientation/script-tests/window-property.js:
     12        * fast/dom/DeviceOrientation/window-property-expected.txt:
     13        * platform/android-v8: Added.
     14        * platform/android-v8/fast: Added.
     15        * platform/android-v8/fast/dom: Added.
     16        * platform/android-v8/fast/dom/DeviceOrientation: Added.
     17        * platform/android-v8/fast/dom/DeviceOrientation/window-property-expected.txt: Added.
     18
    1192010-07-27  Anton Muhin  <antonm@chromium.org>
    220
  • trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js

    r62653 r64125  
    1010}
    1111
    12 shouldBeTrue("typeof window.DeviceOrientationEvent == 'function'");
     12shouldBeTrue("typeof window.DeviceOrientationEvent == 'object'");
     13shouldBeFalse("typeof window.DeviceOrientationEvent == 'function'");
    1314shouldBeTrue("hasDeviceOrientationEventProperty()");
    1415shouldBeTrue("'DeviceOrientationEvent' in window");
     
    2728shouldBeTrue("hasOnDeviceOrientationProperty()");
    2829shouldBeTrue("'ondeviceorientation' in window");
    29 shouldBeFalse("window.hasOwnProperty('ondeviceorientation')");
     30shouldBeTrue("window.hasOwnProperty('ondeviceorientation')");
    3031
    3132window.successfullyParsed = true;
  • trunk/LayoutTests/fast/dom/DeviceOrientation/window-property-expected.txt

    r62653 r64125  
    44
    55
    6 PASS typeof window.DeviceOrientationEvent == 'function' is true
     6PASS typeof window.DeviceOrientationEvent == 'object' is true
     7PASS typeof window.DeviceOrientationEvent == 'function' is false
    78PASS hasDeviceOrientationEventProperty() is true
    89PASS 'DeviceOrientationEvent' in window is true
     
    1112PASS hasOnDeviceOrientationProperty() is true
    1213PASS 'ondeviceorientation' in window is true
    13 PASS window.hasOwnProperty('ondeviceorientation') is false
     14PASS window.hasOwnProperty('ondeviceorientation') is true
    1415PASS successfullyParsed is true
    1516
  • trunk/LayoutTests/platform/android-v8/fast/dom/DeviceOrientation/window-property-expected.txt

    r64123 r64125  
    44
    55
    6 PASS typeof window.DeviceOrientationEvent == 'function' is true
     6FAIL typeof window.DeviceOrientationEvent == 'object' should be true. Was false.
     7FAIL typeof window.DeviceOrientationEvent == 'function' should be false. Was true.
    78PASS hasDeviceOrientationEventProperty() is true
    89PASS 'DeviceOrientationEvent' in window is true
     
    1112PASS hasOnDeviceOrientationProperty() is true
    1213PASS 'ondeviceorientation' in window is true
    13 PASS window.hasOwnProperty('ondeviceorientation') is false
     14FAIL window.hasOwnProperty('ondeviceorientation') should be true. Was false.
    1415PASS successfullyParsed is true
    1516
Note: See TracChangeset for help on using the changeset viewer.