Move pointer lock test resources to http/tests/resources in preparation for adding new tests to http.
https://bugs.webkit.org/show_bug.cgi?id=91882
Reviewed by Adrienne Walker.
* http/tests/resources/pointer-lock/pointer-lock-test-harness.js: Renamed from LayoutTests/pointer-lock/resources/pointer-lock-test-harness.js.
* pointer-lock/bug90391-move-then-window-open-crash.html:
* pointer-lock/lock-already-locked.html:
* pointer-lock/lock-element-not-in-dom.html:
* pointer-lock/lock-fail-responses.html:
* pointer-lock/locked-element-iframe-removed-from-dom.html:
* pointer-lock/locked-element-removed-from-dom.html:
* pointer-lock/mouse-event-api.html:
* pointer-lock/mouse-event-delivery.html:
* pointer-lock/pointer-lock-api.html:
* pointer-lock/pointerlockchange-pointerlockerror-events.html:
* pointer-lock/pointerlocklost-event.html:
git-svn-id: svn://svn.chromium.org/blink/trunk@123247 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/third_party/WebKit/LayoutTests/ChangeLog b/third_party/WebKit/LayoutTests/ChangeLog
index eb643195..a1101533 100644
--- a/third_party/WebKit/LayoutTests/ChangeLog
+++ b/third_party/WebKit/LayoutTests/ChangeLog
@@ -1,3 +1,23 @@
+2012-07-20 Vincent Scheib <[email protected]>
+
+ Move pointer lock test resources to http/tests/resources in preparation for adding new tests to http.
+ https://bugs.webkit.org/show_bug.cgi?id=91882
+
+ Reviewed by Adrienne Walker.
+
+ * http/tests/resources/pointer-lock/pointer-lock-test-harness.js: Renamed from LayoutTests/pointer-lock/resources/pointer-lock-test-harness.js.
+ * pointer-lock/bug90391-move-then-window-open-crash.html:
+ * pointer-lock/lock-already-locked.html:
+ * pointer-lock/lock-element-not-in-dom.html:
+ * pointer-lock/lock-fail-responses.html:
+ * pointer-lock/locked-element-iframe-removed-from-dom.html:
+ * pointer-lock/locked-element-removed-from-dom.html:
+ * pointer-lock/mouse-event-api.html:
+ * pointer-lock/mouse-event-delivery.html:
+ * pointer-lock/pointer-lock-api.html:
+ * pointer-lock/pointerlockchange-pointerlockerror-events.html:
+ * pointer-lock/pointerlocklost-event.html:
+
2012-07-20 Zan Dobersek <[email protected]>
Unreviewed GTK gardening, adding platform-specific baseline for
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/resources/pointer-lock-test-harness.js b/third_party/WebKit/LayoutTests/http/tests/resources/pointer-lock/pointer-lock-test-harness.js
similarity index 100%
rename from third_party/WebKit/LayoutTests/pointer-lock/resources/pointer-lock-test-harness.js
rename to third_party/WebKit/LayoutTests/http/tests/resources/pointer-lock/pointer-lock-test-harness.js
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html b/third_party/WebKit/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html
index 5fbf5b3d..767b6e9 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<div>
@@ -49,6 +49,6 @@
];
doNextStepWithUserGesture();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/lock-already-locked.html b/third_party/WebKit/LayoutTests/pointer-lock/lock-already-locked.html
index 9f4d574..2a3440e1 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/lock-already-locked.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/lock-already-locked.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<div>
@@ -102,6 +102,6 @@
];
doNextStepWithUserGesture();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/lock-element-not-in-dom.html b/third_party/WebKit/LayoutTests/pointer-lock/lock-element-not-in-dom.html
index 97a99a8e..acb7358f 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/lock-element-not-in-dom.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/lock-element-not-in-dom.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<div>
@@ -26,6 +26,6 @@
];
doNextStepWithUserGesture();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/lock-fail-responses.html b/third_party/WebKit/LayoutTests/pointer-lock/lock-fail-responses.html
index d8c2977..b8821330 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/lock-fail-responses.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/lock-fail-responses.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<script>
@@ -38,6 +38,6 @@
];
doNextStepWithUserGesture();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom.html b/third_party/WebKit/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom.html
index 32f68d8..92732e0 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<div>
@@ -44,6 +44,6 @@
];
doNextStep();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/locked-element-removed-from-dom.html b/third_party/WebKit/LayoutTests/pointer-lock/locked-element-removed-from-dom.html
index 8fda65ff..9963d53c 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/locked-element-removed-from-dom.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/locked-element-removed-from-dom.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<div>
@@ -48,6 +48,6 @@
];
doNextStep();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/mouse-event-api.html b/third_party/WebKit/LayoutTests/pointer-lock/mouse-event-api.html
index 2feef3a..798394d 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/mouse-event-api.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/mouse-event-api.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -9,6 +9,6 @@
shouldBeDefined("mouseEvent.webkitMovementX");
shouldBeDefined("mouseEvent.webkitMovementY");
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/mouse-event-delivery.html b/third_party/WebKit/LayoutTests/pointer-lock/mouse-event-delivery.html
index e2f0410..e1033078 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/mouse-event-delivery.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/mouse-event-delivery.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body id="body">
<div>
@@ -98,6 +98,6 @@
];
doNextStepWithUserGesture();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/pointer-lock-api.html b/third_party/WebKit/LayoutTests/pointer-lock/pointer-lock-api.html
index ce12db4d..7075f4ed 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/pointer-lock-api.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/pointer-lock-api.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<script>
@@ -35,6 +35,6 @@
];
doNextStepWithUserGesture();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html b/third_party/WebKit/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html
index 9a101c4..f795559f 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<div>
@@ -92,6 +92,6 @@
];
doNextStep();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/pointer-lock/pointerlocklost-event.html b/third_party/WebKit/LayoutTests/pointer-lock/pointerlocklost-event.html
index 3bc316f..f047088b 100644
--- a/third_party/WebKit/LayoutTests/pointer-lock/pointerlocklost-event.html
+++ b/third_party/WebKit/LayoutTests/pointer-lock/pointerlocklost-event.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-<script src="resources/pointer-lock-test-harness.js"></script>
+<script src="../http/tests/resources/js-test-pre.js"></script>
+<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<div>
@@ -100,7 +100,7 @@
];
doNextStepWithUserGesture();
</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
+<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>