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

Side by Side Diff: headless/test/data/late_nonexistent_mojo_binding.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <head>
3 <script>
4
5 window.onload = function() {
6 mojo.services.embedder_test.TestEmbedderService.then(
7 function(service) {
8 mojo.services.nonExistent.MojoService.then(function() {
9 service.returnTestResult("Fail - promise not rejected");
10 }).catch(function() {
11 service.returnTestResult("Pass - promise rejected");
12 });
13 });
14 };
15
16 </script>
17 </head>
18 <body><h1>Mojo Test</h1></body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698