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

Side by Side Diff: third_party/WebKit/LayoutTests/harness-tests/resources/mojo-helpers-inner.html

Issue 2405093003: [WIP] Mojo native bindings interface.
Patch Set: fixes webui tests Created 3 years, 9 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/mojo-helpers.js"></script>
3 <script> 2 <script>
4 'use strict'; 3 'use strict';
5 loadMojoModules('module loading test').then(modules => { 4 if (window.opener)
6 if (window.opener) 5 window.opener.postMessage(!!window.Mojo, '*');
7 window.opener.postMessage(!!modules.core, '*'); 6 else
8 else 7 window.parent.postMessage(!!window.Mojo, '*');
9 window.parent.postMessage(!!modules.core, '*');
10 });
11 </script> 8 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698