summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests')
-rw-r--r--WebCore/manual-tests/qt/numpad-enter-key.html22
-rw-r--r--WebCore/manual-tests/selection-drag-crash.html14
-rw-r--r--[-rwxr-xr-x]WebCore/manual-tests/spatial-navigation/links.html0
-rw-r--r--[-rwxr-xr-x]WebCore/manual-tests/spatial-navigation/spatial-navigation-test-cases.html0
4 files changed, 36 insertions, 0 deletions
diff --git a/WebCore/manual-tests/qt/numpad-enter-key.html b/WebCore/manual-tests/qt/numpad-enter-key.html
new file mode 100644
index 0000000..ea9b800
--- /dev/null
+++ b/WebCore/manual-tests/qt/numpad-enter-key.html
@@ -0,0 +1,22 @@
+<html>
+<head>
+ <script type="text/javascript">
+ window.onload = function() {
+ document.getElementById('test').addEventListener('keypress', function(e) {
+ out = document.getElementById('out');
+ out.innerHTML = 'keyCode: ' + e.keyCode + ' (should be 13)';
+ if (e.keyCode == 13)
+ out.style.background = '#6f6';
+ else
+ out.style.background = '#f66';
+ }, false);
+ document.getElementById('test').focus()
+ };
+ </script>
+</head>
+<body>
+ <p>Press the numpad Enter key while the input box below is focused:</p>
+ <p><input type="text" id="test" /></p>
+ <p id="out"></p>
+</body>
+</html>
diff --git a/WebCore/manual-tests/selection-drag-crash.html b/WebCore/manual-tests/selection-drag-crash.html
new file mode 100644
index 0000000..42fd740
--- /dev/null
+++ b/WebCore/manual-tests/selection-drag-crash.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+<script>
+function selectText() {
+ window.getSelection().selectAllChildren(document.body);
+}
+</script>
+</head>
+<body onload="selectText()">
+<p>
+Drag the selected text. It shouldn't crash, though it used to on Chromium Mac since createDragImageForSelection() didn't properly use the return value from dissolveDragImageToFraction(), which resulted in a race condition for the drag image's refcount. This issue can't be tested in an automated manner, due to the fact that the race condition is hard to trigger deterministically and that test_shell/DRT simply don't use the (potentially invalid) image parameter.
+</p>
+</body>
+</html>
diff --git a/WebCore/manual-tests/spatial-navigation/links.html b/WebCore/manual-tests/spatial-navigation/links.html
index 18cfd62..18cfd62 100755..100644
--- a/WebCore/manual-tests/spatial-navigation/links.html
+++ b/WebCore/manual-tests/spatial-navigation/links.html
diff --git a/WebCore/manual-tests/spatial-navigation/spatial-navigation-test-cases.html b/WebCore/manual-tests/spatial-navigation/spatial-navigation-test-cases.html
index bf00c23..bf00c23 100755..100644
--- a/WebCore/manual-tests/spatial-navigation/spatial-navigation-test-cases.html
+++ b/WebCore/manual-tests/spatial-navigation/spatial-navigation-test-cases.html