[Webkit-unassigned] [Bug 52491] New: Ability to detect if the Safari browser is online or not broken when VMware Fusion is installed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 14 15:38:26 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52491

           Summary: Ability to detect if the Safari browser is online or
                    not broken when VMware Fusion is installed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://apollo.mikeroysoft.com/wktest.html
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mroy at vmware.com


Hi there,

I'm a support engineer at VMware and this was reported to us recently.

When addEventListener is listening for "online" or "offline" and Fusion is installed, the function returns True even when it should be False.

http://apollo.mikeroysoft.com/wktest.html  demonstrates the issue pretty clearly.

Script in full:
    <script type="text/javascript" charset="utf-8"> 
        window.addEventListener("online",function() {
            alert("Online");
        },false);

        window.addEventListener("offline",function() {
            alert("Offline");
        },false);
    </script> 

When Fusion is not installed, it behaves as expected.  When you turn Airport off, or unplug ethernet, an alert is raised, and when you re-connect it, a new alert is raised.
When Fusion is installed, nothing happens.

We believe it is detecting our vmnet interfaces and returning a false-positive.  

If you run from Terminal: 

sudo ./boot.sh --stop  

the issue disappears and things behave as expected.  This command shuts down all the Virtual Network interfaces.
(First, cd to: /Library/Application Support/VMware Fusion/)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list