[ 
https://issues.jboss.org/browse/RF-13208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934416#comment-12934416
 ] 

Lukáš Fryč commented on RF-13208:
---------------------------------

Since the response headers don't specify any particular type, we should be okay 
with transporting basically anything,

but it seems that Firefox expects XML (that's probably because the response is 
padded with HTML comments (<!-- ... -->) by Atmosphere.

I'm okay with expanding {{"<message>"}} format to e.g 
{{"<update>message</update>"}}.
                
> Push: error "not well-formed" appears in browser console in Firefox
> -------------------------------------------------------------------
>
>                 Key: RF-13208
>                 URL: https://issues.jboss.org/browse/RF-13208
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.3.4
>         Environment: RichFaces 4.3.4.Final
> Metamer 4.3.4.20130919-Final
> Mojarra 2.1.19
> EAP 6.1.1
> OpenJDK Runtime Environment 1.7.0_40-mockbuild_2013_09_19_20_10-b00 @ Linux
> Firefox 24.0 @ Linux x86_64
>            Reporter: Pavol Pitonak
>            Assignee: Lukáš Fryč
>             Fix For: 4.3.5, 5.0.0.Alpha3
>
>         Attachments: firefox_console.png
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> # deploy Metamer and open 
> http://127.0.0.1:8080/metamer/faces/components/a4jPush/twoPush.xhtml
> # open browser console
> # click "Push 2!" button
> result:
> * browser console contains "not well-formed" JavaScript error (see screenshot)
> * when you click on the error, you can see something like this:
> {quote}
> <"topic":"jmsSampleAddress2","data":"day: 23, month: 9, time: 
> 11:01:12.829","number":0>
> {quote}
> * component seems to work fine despite this error
> * I couldn't see this error in Chrome 29

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to