https://www.w3.org/Bugs/Public/show_bug.cgi?id=22997

            Bug ID: 22997
           Summary: Better to have a clear statement if Event streams
                    doesn't encode as UTF-8 format.
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Server-Sent Events (editor: Ian Hickson)
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

Steps to reproduce:
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/28.0.1500.95 Safari/537.36

At present, the implementaion on Chrome and Opera browser is if event streams
doesn't encode as UTF-8, the test case jumps to onerror(). But on Firefox, it
only assert unreached instead of firing error.
Better to add a statement to let audience know whether firing error is the
expected behavior.

- Test suite: https://github.com/w3c/web-platform-tests/tree/master/eventsource
- Test case:
https://github.com/w3c/web-platform-tests/blob/master/eventsource/format-utf-8.htm

Spec Info: Server-Sent Events Candidate Recommendation 11 December 2012 
(http://www.w3.org/TR/2012/CR-eventsource-20121211/ ).
Spec Description:
"Event streams in this format must always be encoded as UTF-8."

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to