You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Kurz (JIRA)" <de...@myfaces.apache.org> on 2011/09/23 11:02:26 UTC

[jira] [Created] (MYFACES-3320) Ajax problem with Webkit based browsers on MacOS

Ajax problem with Webkit based browsers on MacOS
------------------------------------------------

                 Key: MYFACES-3320
                 URL: https://issues.apache.org/jira/browse/MYFACES-3320
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.1.4-SNAPSHOT
         Environment: Safari 5.1 and Chrome 14.0.835.186 on MacOS 10.7.1
            Reporter: Michael Kurz
            Priority: Blocker


In 2.1.4-SNAPSHOT there seems to be a serious problem with Ajax on Webkit based browsers. I have a table that is updated via a ajax call that adds a row to this table. In Safari and Chrome (MacOS)  this works only once (then no further requests are issued).

This problem does not occur with Firefox. Neither do I have troubles like this with version 2.1.3 on any browser.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MYFACES-3320) jsf.js: Ajax problem with Webkit based browsers on MacOS

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114600#comment-13114600 ] 

Werner Punz commented on MYFACES-3320:
--------------------------------------

This seems to be causes by our introduction of xhr level2 wherever accessible, to get better performance. Webkit seems to not implement the w3c spec entirely correctly and does not call the ondone event handler. There is a bug entry regarding this filed in 2010. I will disable xhr level2 entirely for now until I have debugged this out properly. Xhr level1 seems to work.


> jsf.js: Ajax problem with Webkit based browsers on MacOS
> --------------------------------------------------------
>
>                 Key: MYFACES-3320
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3320
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.1.4-SNAPSHOT
>         Environment: Safari 5.1 and Chrome 14.0.835.186 on MacOS 10.7.1
>            Reporter: Michael Kurz
>            Assignee: Werner Punz
>            Priority: Blocker
>         Attachments: MYFACES-3320-testapp.zip
>
>
> In 2.1.4-SNAPSHOT there seems to be a serious problem with Ajax on Webkit based browsers. I have a table that is updated via a ajax call that adds a row to this table. In Safari and Chrome (MacOS)  this works only once (then no further requests are issued).
> This problem does not occur with Firefox. Neither do I have troubles like this with version 2.1.3 on any browser.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MYFACES-3320) Ajax problem with Webkit based browsers on MacOS

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113364#comment-13113364 ] 

Werner Punz commented on MYFACES-3320:
--------------------------------------

Hi there was a major refactoring of the ajax core recently, post 2.1.3, I probably have introduced a slight error somewhere. I will investigate the issue next week, when I have a few days for oss.
Thanks for reporting the bug. I did intensive testing before issuing the refactored code, but it seems that I have opened a new error nevertheless.


> Ajax problem with Webkit based browsers on MacOS
> ------------------------------------------------
>
>                 Key: MYFACES-3320
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3320
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.1.4-SNAPSHOT
>         Environment: Safari 5.1 and Chrome 14.0.835.186 on MacOS 10.7.1
>            Reporter: Michael Kurz
>            Priority: Blocker
>         Attachments: MYFACES-3320-testapp.zip
>
>
> In 2.1.4-SNAPSHOT there seems to be a serious problem with Ajax on Webkit based browsers. I have a table that is updated via a ajax call that adds a row to this table. In Safari and Chrome (MacOS)  this works only once (then no further requests are issued).
> This problem does not occur with Firefox. Neither do I have troubles like this with version 2.1.3 on any browser.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (MYFACES-3320) jsf.js: Ajax problem with Webkit based browsers on MacOS

Posted by "Werner Punz (Issue Comment Edited) (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114600#comment-13114600 ] 

Werner Punz edited comment on MYFACES-3320 at 3/20/12 6:51 AM:
---------------------------------------------------------------

This seems to be causes by our introduction of xhr level2 wherever accessible, to get better performance. Webkit seems to not implement the w3c spec entirely correctly and does not call the onloadend event handler. There is a bug entry regarding this filed in 2010. I will disable xhr level2 entirely for now until I have debugged this out properly. Xhr level1 seems to work.

                
      was (Author: werpu):
    This seems to be causes by our introduction of xhr level2 wherever accessible, to get better performance. Webkit seems to not implement the w3c spec entirely correctly and does not call the ondone event handler. There is a bug entry regarding this filed in 2010. I will disable xhr level2 entirely for now until I have debugged this out properly. Xhr level1 seems to work.

                  
> jsf.js: Ajax problem with Webkit based browsers on MacOS
> --------------------------------------------------------
>
>                 Key: MYFACES-3320
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3320
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.1.4-SNAPSHOT
>         Environment: Safari 5.1 and Chrome 14.0.835.186 on MacOS 10.7.1
>            Reporter: Michael Kurz
>            Assignee: Werner Punz
>            Priority: Blocker
>             Fix For: 2.0.10, 2.1.4
>
>         Attachments: MYFACES-3320-testapp.zip
>
>
> In 2.1.4-SNAPSHOT there seems to be a serious problem with Ajax on Webkit based browsers. I have a table that is updated via a ajax call that adds a row to this table. In Safari and Chrome (MacOS)  this works only once (then no further requests are issued).
> This problem does not occur with Firefox. Neither do I have troubles like this with version 2.1.3 on any browser.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MYFACES-3320) jsf.js: Ajax problem with Webkit based browsers on MacOS

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Punz resolved MYFACES-3320.
----------------------------------

    Resolution: Fixed

there is a bug in webkit regarding xhr level2, I now have turned off the xhr optimisations and am on pure xhr level1 


> jsf.js: Ajax problem with Webkit based browsers on MacOS
> --------------------------------------------------------
>
>                 Key: MYFACES-3320
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3320
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.1.4-SNAPSHOT
>         Environment: Safari 5.1 and Chrome 14.0.835.186 on MacOS 10.7.1
>            Reporter: Michael Kurz
>            Assignee: Werner Punz
>            Priority: Blocker
>         Attachments: MYFACES-3320-testapp.zip
>
>
> In 2.1.4-SNAPSHOT there seems to be a serious problem with Ajax on Webkit based browsers. I have a table that is updated via a ajax call that adds a row to this table. In Safari and Chrome (MacOS)  this works only once (then no further requests are issued).
> This problem does not occur with Firefox. Neither do I have troubles like this with version 2.1.3 on any browser.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MYFACES-3320) jsf.js: Ajax problem with Webkit based browsers on MacOS

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114612#comment-13114612 ] 

Werner Punz commented on MYFACES-3320:
--------------------------------------

Ok after dropping the testcase in my fixed code, the example now works, it was indeed the chrome xhr level2 problem. I will push the code for now to xhr level1 until the browsers have gotten their act together regarding the w3c specs.


> jsf.js: Ajax problem with Webkit based browsers on MacOS
> --------------------------------------------------------
>
>                 Key: MYFACES-3320
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3320
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.1.4-SNAPSHOT
>         Environment: Safari 5.1 and Chrome 14.0.835.186 on MacOS 10.7.1
>            Reporter: Michael Kurz
>            Assignee: Werner Punz
>            Priority: Blocker
>         Attachments: MYFACES-3320-testapp.zip
>
>
> In 2.1.4-SNAPSHOT there seems to be a serious problem with Ajax on Webkit based browsers. I have a table that is updated via a ajax call that adds a row to this table. In Safari and Chrome (MacOS)  this works only once (then no further requests are issued).
> This problem does not occur with Firefox. Neither do I have troubles like this with version 2.1.3 on any browser.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira