summaryrefslogtreecommitdiffstats
path: root/LayoutTests/platform
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-07-27 11:05:56 +0100
committerSteve Block <steveblock@google.com>2010-07-27 12:13:46 +0100
commit4e1f8b9c727ac820b633f6de547dc9afcd8da485 (patch)
tree4dbd88aadcfe6771fb23252d6f685c775183bc91 /LayoutTests/platform
parente144fb5dabc267b7a51835ab9a1904d81279a087 (diff)
downloadexternal_webkit-4e1f8b9c727ac820b633f6de547dc9afcd8da485.zip
external_webkit-4e1f8b9c727ac820b633f6de547dc9afcd8da485.tar.gz
external_webkit-4e1f8b9c727ac820b633f6de547dc9afcd8da485.tar.bz2
Add DeviceOrientation LayoutTests at r63859 and enable the feature
All tests pass. Note that the JSC-specific expected result for window-property.html is a placeholder until https://bugs.webkit.org/show_bug.cgi?id=43025 is fixed. Change-Id: I60a978231a10f0a57b3dc654876b181dc47eb455
Diffstat (limited to 'LayoutTests/platform')
-rw-r--r--LayoutTests/platform/android-jsc/fast/dom/DeviceOrientation/window-property-expected.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/LayoutTests/platform/android-jsc/fast/dom/DeviceOrientation/window-property-expected.txt b/LayoutTests/platform/android-jsc/fast/dom/DeviceOrientation/window-property-expected.txt
new file mode 100644
index 0000000..6288f30
--- /dev/null
+++ b/LayoutTests/platform/android-jsc/fast/dom/DeviceOrientation/window-property-expected.txt
@@ -0,0 +1,17 @@
+Tests that the window.DeviceOrientationEvent and window.ondeviceorientation properties are present.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+FAIL typeof window.DeviceOrientationEvent == 'function' should be true. Was false.
+PASS hasDeviceOrientationEventProperty() is true
+PASS 'DeviceOrientationEvent' in window is true
+PASS window.hasOwnProperty('DeviceOrientationEvent') is true
+PASS typeof window.ondeviceorientation == 'object' is true
+PASS hasOnDeviceOrientationProperty() is true
+PASS 'ondeviceorientation' in window is true
+FAIL window.hasOwnProperty('ondeviceorientation') should be false. Was true.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+