summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/workers
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-19 20:25:57 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-19 20:25:57 +0000
commit537500939e38473456b5faac5fbe29add9300d8a (patch)
tree68d29754339d9545238db764817ed07d143e1889 /chrome/test/data/workers
parente81dba3039c19788d9fb58038816430078db7fd9 (diff)
downloadchromium_src-537500939e38473456b5faac5fbe29add9300d8a.zip
chromium_src-537500939e38473456b5faac5fbe29add9300d8a.tar.gz
chromium_src-537500939e38473456b5faac5fbe29add9300d8a.tar.bz2
Support running worker's fast layout tests in UI test framework.
BUG=none TEST=This is a UI test. Review URL: http://codereview.chromium.org/131012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/workers')
-rw-r--r--chrome/test/data/workers/layout_test_controller.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/test/data/workers/layout_test_controller.html b/chrome/test/data/workers/layout_test_controller.html
new file mode 100644
index 0000000..380005e
--- /dev/null
+++ b/chrome/test/data/workers/layout_test_controller.html
@@ -0,0 +1,12 @@
+<script>
+function LayoutTestController() {
+ this.dumpAsText = function () { };
+ this.waitUntilDone = function () { };
+ this.notifyDone = function () {
+ var cookie = "%COOKIE%=" + escape(document.firstChild.innerText);
+ document.cookie = cookie;
+ };
+}
+var layoutTestController = new LayoutTestController();
+window.layoutTestController = layoutTestController;
+</script>