We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ba090 commit 1078f2dCopy full SHA for 1078f2d
app/src/main/res/raw/webviewcompat_test_script.js
@@ -1,15 +1,15 @@
1
-let supportedMessages = ["ContextMenuOpened", "PageStarted"];
+const supportedMessages = ["ContextMenuOpened", "PageStarted"];
2
3
const delay = $DELAY$;
4
const postInitialPing = $POST_INITIAL_PING$;
5
const replyToNativeMessages = $REPLY_TO_NATIVE_MESSAGES$;
6
7
- const pingMessage = 'Ping:' + window.location.href + ' ' + delay + 'ms'
+const webViewCompatPingMessage = 'Ping:' + window.location.href + ' ' + delay + 'ms'
8
9
10
if (postInitialPing) {
11
setTimeout(() => {
12
- webViewCompatTestObj.postMessage(pingMessage)
+ webViewCompatTestObj.postMessage(webViewCompatPingMessage)
13
}, delay)
14
}
15
0 commit comments