summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test')
-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>