Bug 86972 - [EFL] Network Information bandwidth interface always returns 10, but spec says to return Infinity when bandwidth is unknown
: [EFL] Network Information bandwidth interface always returns 10, but spec say...
Status: NEW
Product: WebKit
Classification: Unclassified
Component: HTML DOM
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-20 15:04 PDT by Maciej Stachowiak
Modified: 2012-05-21 18:33 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Stachowiak 2012-05-20 15:04:39 PDT
From NetworkInfoClientEfl:

unsigned int NetworkInfoClientEfl::bandwidth() const
{
    notImplemented();
    return 10; // MB/s                                                                                                                                   
}

But the spec says to return Infinity if the bandwidth is unknown:

http://dvcs.w3.org/hg/dap/raw-file/tip/network-api/index.html#widl-Connection-bandwidth
Comment 1 Gyuyoung Kim 2012-05-21 18:13:33 PDT
(In reply to comment #0)
> From NetworkInfoClientEfl:
> 
> unsigned int NetworkInfoClientEfl::bandwidth() const
> {
>     notImplemented();
>     return 10; // MB/s                                                                                                                                   
> }
> 
> But the spec says to return Infinity if the bandwidth is unknown:
> 
> http://dvcs.w3.org/hg/dap/raw-file/tip/network-api/index.html#widl-Connection-bandwidth

Existing implementation is dummy. I'm preparing concrete implementation based on efl. However, there was some crash issue my patch. So I'm solving it with efl guys. This bug will be fixed when I submit concrete patch.
Comment 2 Gyuyoung Kim 2012-05-21 18:33:41 PDT
Hello Maciej,

I just file Bug 87067 in order to submit concrete implementation for EFL port. This bug will be fixed together with Bug 87067.