Bug 86972

Summary: [EFL] Network Information bandwidth interface always returns 10, but spec says to return Infinity when bandwidth is unknown
Product: WebKit Reporter: Maciej Stachowiak <mjs>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: abarth, ap, gyuyoung.kim, mcatanzaro
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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.
Comment 3 Michael Catanzaro 2017-03-11 10:41:19 PST
Closing this bug because the EFL port has been removed from trunk.

If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.