summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js')
-rw-r--r--LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js b/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js
index 8e65059..885932b 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js
+++ b/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js
@@ -1,9 +1,9 @@
-description("Tests that the window.DeviceOrientationEvent and window.ondeviceorientation properties are present.");
+description('Tests that the window.DeviceOrientationEvent and window.ondeviceorientation properties are present.');
function hasDeviceOrientationEventProperty()
{
for (var property in window) {
- if (property == "DeviceOrientationEvent")
+ if (property == 'DeviceOrientationEvent')
return true;
}
return false;
@@ -18,7 +18,7 @@ shouldBeTrue("window.hasOwnProperty('DeviceOrientationEvent')");
function hasOnDeviceOrientationProperty()
{
for (var property in window) {
- if (property == "ondeviceorientation")
+ if (property == 'ondeviceorientation')
return true;
}
return false;