Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: headless/test/data/page_one.html

Issue 2049363003: Adds support for headless chrome embedder mojo services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: headless/test/data/page_one.html
diff --git a/headless/test/data/page_one.html b/headless/test/data/page_one.html
new file mode 100644
index 0000000000000000000000000000000000000000..34ae684b79eb3d6483720b9c10f5149edda475a7
--- /dev/null
+++ b/headless/test/data/page_one.html
@@ -0,0 +1,12 @@
+<!doctype html>
+<head>
+<script>
+
+mojo.services.embedder_test.TestEmbedderService.then(function(service) {
+ service.returnTestResult("page one");
+ window.location.pathname = "/page_two.html";
Charlie Reis 2016/06/21 23:08:32 This probably won't exercise the bug, since it's n
alex clarke (OOO till 29th) 2016/06/22 10:04:00 No it didn't :) I've copied a trick used in one o
Charlie Reis 2016/06/22 19:30:59 Great-- that looks better.
+});
+
+</script>
+</head>
+<body><h1>Page one</h1></body>

Powered by Google App Engine
This is Rietveld 408576698