summaryrefslogtreecommitdiffstats
path: root/components/proximity_auth/webui/resources/cryptauth_interface.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/proximity_auth/webui/resources/cryptauth_interface.js')
-rw-r--r--components/proximity_auth/webui/resources/cryptauth_interface.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/proximity_auth/webui/resources/cryptauth_interface.js b/components/proximity_auth/webui/resources/cryptauth_interface.js
index 4e22c38..a7dbdb7 100644
--- a/components/proximity_auth/webui/resources/cryptauth_interface.js
+++ b/components/proximity_auth/webui/resources/cryptauth_interface.js
@@ -98,3 +98,8 @@ CryptAuthInterface = {
});
},
};
+
+// This message tells the native WebUI handler that the WebContents backing the
+// WebUI has been iniitalized. This signal allows the native handler to execute
+// JavaScript inside the page.
+chrome.send('onWebContentsInitialized');