[Bug 51600] New: Can't log in to Simplicity Studio (window.Node is undefined)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Aug 12 18:31:04 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51600

            Bug ID: 51600
           Summary: Can't log in to Simplicity Studio (window.Node is
                    undefined)
           Product: Wine
           Version: 6.14
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mshtml
          Assignee: wine-bugs at winehq.org
          Reporter: alexhenrie24 at gmail.com
      Distribution: ---

Long way to reproduce:

1. Create an account at https://community.silabs.com/

2. Download SimplicityStudio-5.iso from
https://www.silabs.com/developers/simplicity-studio and mount it

3. Run `wine z.exe` to install Simplicity Studio

4. Run `wine 'C:\SiliconLabs\SimplicityStudio\v5\studio.exe'` to start
Simplicity Studio

5. Accept the license agreement

6. Enter your email address and password and click "Log in"

7. Instead of logging in, the page just refreshes, clearing the email address
and password that you entered.

Short way to reproduce:

1. Run `wine iexplore https://siliconlabs.force.com/SL_CommunitiesLogin`

2. Leave the email and password fields blank and click "Log in"

3. The error message "Your email address was not found" should appear, but it
does not.

Super short way to reproduce:

1. Run `wine iexplore`

2. Type javascript:alert(window.Node) into the address bar and press Enter

3. The dialog that appears says "undefined".

The problem appears to be some JavaScript on the login page that sets
window.Node to a dictionary if it is not already defined. However, that
dictionary does not have a prototype property, so when the script later
attempts to call Node.prototype.hasOwnProperty, it crashes.

Since window.Node and window.Node.prototype are defined in Internet Explorer,
they should be defined in Wine's iexplore implementation as well.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list