Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

www.microsoft.com - see bug description #3300

Closed
kbrosnan opened this issue Sep 27, 2016 · 5 comments
Closed

www.microsoft.com - see bug description #3300

kbrosnan opened this issue Sep 27, 2016 · 5 comments
Milestone

Comments

@kbrosnan
Copy link

URL: https://www.microsoft.com/en-us/store/p/browserquest/9wzdncrfhvl1?reportthisapp=1#
Browser / Version: Firefox 52.0
Operating System: Windows 10
Problem type: Something else - I'll add details below

Steps to Reproduce

  1. Navigate to: https://www.microsoft.com/en-us/store/p/browserquest/9wzdncrfhvl1?reportthisapp=1#
  2. Log into your Microsoft/Outlook account
  3. Try to select a reason to report the app (you may need to select the report this app link again)

Expected Behavior: Able to select a reason to report the app

Actual Behavior: Unable to select a reason to report the app

From webcompat.com with ❤️

@karlcow
Copy link
Member

karlcow commented Sep 28, 2016

On Firefox Nightly 52.0a1 (2016-09-27) (64-bit), I get a drop down

Screenshot of the site issue

but then when I try to select one of the items it doesn't want to be selected.

Confirmed.

@karlcow
Copy link
Member

karlcow commented Sep 28, 2016

So it might select something and not update the UI. Let's see.

When we try to select one of the options we get in the console an error message:

ReferenceError: event is not defined[Learn More]  store.min.js:8:86529
    o/< https://assets.onestore.ms/cdnfiles/sfw-service-web-onestore-2016-9-26-9/store/generated/store.min.js:8:86529
    n.event.dispatch https://assets.onestore.ms/cdnfiles/external/ajax/bundle/onestore/bundle-1.0.0.min.js:3:8014
    n.event.add/r.handle https://assets.onestore.ms/cdnfiles/external/ajax/bundle/onestore/bundle-1.0.0.min.js:3:4750

Going step by step on a click:

It goes through

in https://assets.onestore.ms/cdnfiles/external/mwf/long/v1/v1.8/scripts/mwf-main-beta.amd.min.js

      function F(e) {
        return e || window.event
      }

but the error message is displayed when reaching

  this.onItemClick = function (e) {
    n.onItemSelected(s.getEventTargetOrSrcElement(e), !1, !0)
  },

the 3rd time it goes through this, the value is undefined.

Screenshot of the site issue

@karlcow
Copy link
Member

karlcow commented Sep 28, 2016

the 'e' = MouseEvent click, so it doesn't seem related to the window.event (which would be undefined).

but later on

      function W(e) {
        var t = '';
        if (e && e.className) {
          var n = (' ' + e.className).indexOf(' key-') + 1;
          if (n > 0) {
            var i = e.className.indexOf(' ', n);
            t = i > 0 ? e.className.substring(n + 3, i)  : e.className.substring(n + 3)
          }
        }
        return t
      }

t returned here is already undefined.

@denschub @miketaylr An idea?

@Eeems
Copy link

Eeems commented Oct 17, 2016

Seems to work on Nightly 52.0a1 (2016-10-17) (64-bit).

@miketaylr
Copy link
Member

Yep, thanks @Eeems, confirmed working here as well.

@karlcow karlcow added this to the fixed milestone Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants