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

Unified Diff: third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html

Issue 2777083002: Revert of Mojo JS bindings: support auto-loading mojom.js deps. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/mojo/module-loading.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html
diff --git a/third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html b/third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html
deleted file mode 100644
index 74dad2d2c4f43d7ad3e0bedd1148163ddfb6ef26..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<title>Mojo JavaScript bindings module loading tests (manual mojom deps loading)</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="file:///gen/mojo/public/js/mojo_bindings.js"></script>
-<script>
- mojoBindings.config.autoLoadMojomDeps = false;
-</script>
-<script src="file:///gen/mojo/public/interfaces/bindings/tests/echo.mojom.js"></script>
-<script src="file:///gen/mojo/public/interfaces/bindings/tests/echo_import.mojom.js"></script>
-<script>
-
-promise_test(async () => {
- function EchoImpl() {}
- EchoImpl.prototype.echoPoint = function(point) {
- return Promise.resolve({result: point});
- };
-
- var echoServicePtr = new test.echo.mojom.EchoPtr();
- var echoServiceBinding = new mojoBindings.Binding(
- test.echo.mojom.Echo,
- new EchoImpl(),
- mojoBindings.makeRequest(echoServicePtr));
- var result = (await echoServicePtr.echoPoint({x: 1, y: 2})).result;
- assert_equals(1, result.x);
- assert_equals(2, result.y);
-}, 'Basics');
-
-</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/mojo/module-loading.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698