Volodymyr Siedlecki created MYFACES-4464:
--------------------------------------------

             Summary: JavaScript WebSocket Error: "Uncaught TypeError: M is 
undefined"
                 Key: MYFACES-4464
                 URL: https://issues.apache.org/jira/browse/MYFACES-4464
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 4.0.0-RC1
            Reporter: Volodymyr Siedlecki


"Uncaught TypeError: M is undefined"


The JS is minified, so the snippet is here: 

else\{setTimeout(N.open,H*R++);}};};{*}M.onerror{*}=function(T){var 
U=F[P];for(var S=U.length-1;S>=0;S--){var V=U[S];G[V]["onerror"]

I compared the code and found it matches this section: 

[https://github.com/apache/myfaces/commit/712b6c9ddddd3425ad2b58ae3aeaf0277755ecc5#diff-1922615a79308869d0efa08412e8e9bbd804958f62de191eaa9b576aa993b5d6R339]

 So I think socket.onerror is in the wrong block?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to