cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@google.com>
Subject WKWebView fly-by code review comment
Date Mon, 01 Dec 2014 18:13:22 GMT
When working on CB-8002, noticed this code:

    commandQueue.push(JSON.stringify(command));

    if (bridgeMode === jsToNativeModes.WK_WEBVIEW_BINDING) {
        window.webkit.messageHandlers.cordova.postMessage(command);


Wondering if maybe when in WK_WEBVIEW mode, if commands are being added to
commandQueue and never dequeued. Maybe fix is to never add them to the
queue?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message