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
: WebKit
HTML DOM
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2012-05-20 15:04 PST by
Modified: 2012-05-21 18:33 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-05-20 15:04:39 PST
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 From 2012-05-21 18:13:33 PST -------
(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 From 2012-05-21 18:33:41 PST -------
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.