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

Unified Diff: headless/test/data/mojo_test.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/mojo_test.html
diff --git a/headless/test/data/mojo_test.html b/headless/test/data/mojo_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..9c0bb06333d8ca5110e2de86041c1a9a4cfe483e
--- /dev/null
+++ b/headless/test/data/mojo_test.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<head>
+<script>
+
+mojo.services.embedder_test.TestEmbedderService.then(function(service) {
+ service.returnTestResult("hello world");
+});
+
+</script>
+</head>
+<body><h1>Mojo Test</h1></body>

Powered by Google App Engine
This is Rietveld 408576698