[Bug 23348] New: The loaded property doesn't make sense when the body is compressed

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

            Bug ID: 23348
           Summary: The loaded property doesn't make sense when the body
                    is compressed
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Progress Events
          Assignee: annevk@annevk.nl
          Reporter: mvolmaro@hotmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

As far as I understand from the current Draft, when the body (defined as
entity_body) is sent in compressed form, the "loaded" property will return
values way bigger than the value you can actually read from the "total"
property.

That doesn't makes any sense, as it makes the event information unusable. Right
now, most browsers agreed on returning values as stated above, so for example,
I get "loaded:16845, total: 2324" on one of the test cases.

I believe that instead of entity_body, a new entity should be defined that it
is the actual transferred body, without any decoding. Or, the Progress Event
specification needs to be adjusted so instead of the entity_body, another
definition is used that resembles the actual transferred body instead of the
decoded body.

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

Received on Wednesday, 25 September 2013 01:22:50 UTC