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

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

Issue 2779493002: 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
Index: third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html
diff --git a/third_party/WebKit/LayoutTests/mojo/module-loading.html b/third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html
similarity index 84%
copy from third_party/WebKit/LayoutTests/mojo/module-loading.html
copy to third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html
index 6ebd60e46b9fd2af059e0835f4ce0ee1235a2363..9cea6be2410e78db0ebdfdd5a7dcd319723904ad 100644
--- a/third_party/WebKit/LayoutTests/mojo/module-loading.html
+++ b/third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<title>Mojo JavaScript bindings module loading tests</title>
+<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 src="file:///gen/mojo/public/interfaces/bindings/tests/echo_import.mojom.js"></script>
+<script>
+ mojoBindings.config.auto_load_mojom_deps = 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 () => {

Powered by Google App Engine
This is Rietveld 408576698