[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da

chang.shu at nokia.com chang.shu at nokia.com
Wed Dec 22 17:46:22 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit db9fb69485be5170fe5bead8789f3c6b7fa84d98
Author: chang.shu at nokia.com <chang.shu at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Nov 30 04:29:27 2010 +0000

    2010-11-29  Chang Shu  <chang.shu at nokia.com>
    
            Reviewed by Laszlo Gombos.
    
            Fix the typo in the test case to make it work when ORIENTATION_EVENTS is enabled.
            https://bugs.webkit.org/show_bug.cgi?id=50171
    
            * fast/dom/DeviceOrientation/create-event-onorientationchange-expected.txt: Removed.
            * fast/dom/DeviceOrientation/create-event-onorientationchange.html: Removed.
            * fast/dom/DeviceOrientation/create-event-orientationchange-expected.txt: Copied from LayoutTests/fast/dom/DeviceOrientation/create-event-onorientationchange-expected.txt.
            * fast/dom/DeviceOrientation/create-event-orientationchange.html: Copied from LayoutTests/fast/dom/DeviceOrientation/create-event-onorientationchange.html.
            * fast/dom/DeviceOrientation/script-tests/create-event-onorientationchange.js: Removed.
            * fast/dom/DeviceOrientation/script-tests/create-event-orientationchange.js: Copied from LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event-onorientationchange.js.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72873 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 9e5bcd7..032f445 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,17 @@
+2010-11-29  Chang Shu  <chang.shu at nokia.com>
+
+        Reviewed by Laszlo Gombos.
+
+        Fix the typo in the test case to make it work when ORIENTATION_EVENTS is enabled.
+        https://bugs.webkit.org/show_bug.cgi?id=50171
+
+        * fast/dom/DeviceOrientation/create-event-onorientationchange-expected.txt: Removed.
+        * fast/dom/DeviceOrientation/create-event-onorientationchange.html: Removed.
+        * fast/dom/DeviceOrientation/create-event-orientationchange-expected.txt: Copied from LayoutTests/fast/dom/DeviceOrientation/create-event-onorientationchange-expected.txt.
+        * fast/dom/DeviceOrientation/create-event-orientationchange.html: Copied from LayoutTests/fast/dom/DeviceOrientation/create-event-onorientationchange.html.
+        * fast/dom/DeviceOrientation/script-tests/create-event-onorientationchange.js: Removed.
+        * fast/dom/DeviceOrientation/script-tests/create-event-orientationchange.js: Copied from LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event-onorientationchange.js.
+
 2010-11-29  Xiaomei Ji  <xji at chromium.org>
 
         Unreviewed fix typo.
diff --git a/LayoutTests/fast/dom/DeviceOrientation/create-event-onorientationchange.html b/LayoutTests/fast/dom/DeviceOrientation/create-event-onorientationchange.html
deleted file mode 100644
index 7a033e0..0000000
--- a/LayoutTests/fast/dom/DeviceOrientation/create-event-onorientationchange.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../js/resources/js-test-style.css">
-<script src="../../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></p>
-<div id="result"></div>
-<script src="script-tests/create-event-onorientationchange.js"></script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/dom/DeviceOrientation/create-event-onorientationchange-expected.txt b/LayoutTests/fast/dom/DeviceOrientation/create-event-orientationchange-expected.txt
similarity index 100%
rename from LayoutTests/fast/dom/DeviceOrientation/create-event-onorientationchange-expected.txt
rename to LayoutTests/fast/dom/DeviceOrientation/create-event-orientationchange-expected.txt
diff --git a/LayoutTests/fast/dom/DeviceOrientation/create-event-orientationchange.html b/LayoutTests/fast/dom/DeviceOrientation/create-event-orientationchange.html
new file mode 100644
index 0000000..942eeb2
--- /dev/null
+++ b/LayoutTests/fast/dom/DeviceOrientation/create-event-orientationchange.html
@@ -0,0 +1,13 @@
+<html>
+<head>
+<link rel="stylesheet" href="../../js/resources/js-test-style.css">
+<script src="../../js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></p>
+<div id="result"></div>
+<script src="script-tests/create-event-orientationchange.js"></script>
+<script src="../../js/resources/js-test-post.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event-onorientationchange.js b/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event-onorientationchange.js
deleted file mode 100644
index a63685b..0000000
--- a/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event-onorientationchange.js
+++ /dev/null
@@ -1,18 +0,0 @@
-description('Tests that document.createEvent() works with orientationChange')
-
-function handleOrientationChange()
-{
-    document.getElementById('result').innerHTML = "PASS";
-}
-
-window.addEventListener('onorientationchange', handleOrientationChange, false);
-
-try {
-    var event = document.createEvent("OrientationEvent");
-    event.initEvent("orientationchange", false, false);
-    window.dispatchEvent(event);
-} catch(e) {
-    document.getElementById('result').innerHTML = "FAIL... orientationChange event doesn't appear to be enabled or implemented.";
-}
-
-window.successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event-orientationchange.js b/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event-orientationchange.js
new file mode 100644
index 0000000..d11d546
--- /dev/null
+++ b/LayoutTests/fast/dom/DeviceOrientation/script-tests/create-event-orientationchange.js
@@ -0,0 +1,18 @@
+description('Tests that document.createEvent() works with orientationChange')
+
+function handleOrientationChange()
+{
+    document.getElementById('result').innerHTML = "PASS";
+}
+
+window.addEventListener('orientationchange', handleOrientationChange, false);
+
+try {
+    var event = document.createEvent("OrientationEvent");
+    event.initEvent("orientationchange", false, false);
+    window.dispatchEvent(event);
+} catch(e) {
+    document.getElementById('result').innerHTML = "FAIL... orientationChange event doesn't appear to be enabled or implemented.";
+}
+
+window.successfullyParsed = true;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list