Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8851

ApplicationCache is a native class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Chrome

    Description

      When opening /client/#anonymous in lastest Chrome the page does not load correctly, and the JS console shows several errors [1].
      The root cause seems to be in InspectorBackendImpl.setupProxies function which tries to create ApplicationCache module, but fails, because window.ApplicationCache is already defined in Chrome as a native class.
      This leads to

            if (window[intfName]) {
              throw new Ex(arguments, "backend interface '" + intfName + "' already created");
            }
      

      [1]

      Uncaught #<Ex>InspectorBackendImpl.amd.js:27 module.exports.InspectorBackendImpl.setupProxiesClient.amd.js:40 module.exports.Client.initializeClient.amd.js:119 module.exports.Client.main(index):191 (anonymous function)
      WebSocketXhr.amd.js:229 GET http://vanisoft.pl:8080/ws/client/c-4 404 (Not Found)WebSocketXhr.amd.js:229 (anonymous function)HookLib.amd.js:26 module.exports.HookLib.ignoreHooksWebSocketXhr.amd.js:228 module.exports.WebSocketXhr._xhrWebSocketXhr.amd.js:92 module.exports.WebSocketXhr._readLoopWebSocketXhr.amd.js:82 module.exports.WebSocketXhr._handleXhrResponseGetChannelWebSocketXhr.amd.js:243 _xhrEventHandler
      NetworkManager.js:36 Uncaught TypeError: undefined is not a functionNetworkManager.js:36 WebInspector.NetworkManagerinspector.js:475 WebInspector.doLoadedDoneinspector.js:448 WebInspector.loadedutilities.js:38 bound
      Client.amd.js:97 Uncaught TypeError: Cannot read property 'registerClient' of undefinedClient.amd.js:97 module.exports.Client.onLoadedBinding.amd.js:19 (anonymous function)
      

      Attachments

        Activity

          People

            pmuellr Patrick Mueller
            qbolec Jakub Łopuszański
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: