chromium/android_webview/test/shell/assets/page_with_module.html

<!DOCTYPE html>
<html>
    <body>
        <script type='module'>
            import("./mod.m.js").then(({ callMe }) => {
                if (callMe()) {
                    injectedObject.success();
                } else {
                    injectedObject.error();
                }
            }).catch((error) => injectedObject.error());
        </script>
    </body>
</html>