Jakub Łopuszański created CB-8851:
-------------------------------------

             Summary: ApplicationCache is a native class
                 Key: CB-8851
                 URL: https://issues.apache.org/jira/browse/CB-8851
             Project: Apache Cordova
          Issue Type: Bug
          Components: weinre
         Environment: Chrome
            Reporter: Jakub Łopuszański
            Assignee: Patrick Mueller
            Priority: Blocker


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
{code}
      if (window[intfName]) {
        throw new Ex(arguments, "backend interface '" + intfName + "' already 
created");
      }
{code}

[1]
{code}
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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to