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 5d4a216 commit e5f0620Copy full SHA for e5f0620
app/src/main/res/raw/webviewcompat_test_script.js
@@ -8,9 +8,13 @@ const webViewCompatPingMessage = 'Ping:' + window.location.href + ' ' + delay +
8
9
10
if (postInitialPing) {
11
- setTimeout(() => {
+ if (delay > 0) {
12
+ setTimeout(() => {
13
+ webViewCompatTestObj.postMessage(webViewCompatPingMessage)
14
+ }, delay)
15
+ } else {
16
webViewCompatTestObj.postMessage(webViewCompatPingMessage)
- }, delay)
17
+ }
18
}
19
20
0 commit comments