Closed Bug 1823785 Opened 1 year ago Closed 1 year ago

elearning.dmv.ca.gov broken in Firefox

Categories

(Web Compatibility :: Site Reports, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bholley, Assigned: denschub)

References

Details

As part of renewing my California driver's license, I had to choose between (a) taking a 45-minute online training, (b) doing a proctored knowledge test with some nefarious Chrome extension, or (c) taking the knowledge test in-person at the office. I opted for (a), which took me to the DMV's "elearning" platform.

The landing screen immediately broke, with "n is not a function" in the console. I inspected the site and found the following gem:

prepare: function (t) {
  var e,
  1 = !0,
  n = u.browser. isFF ? 'window.setTimeout' : function (t) {
  return tO
};
this.playInaudibleBeep(),

Note that the use of setTimeout in the Firefox branch is in quotes, so it's a string not a function.

I spoofed the UA to chrome and completed the full training, and it worked fine. Given that the experience is completely broken and they obviously aren't doing any testing in Firefox, I think we should deploy a UA override and move on. I'm not sure of the preferred process for doing that so NI Honza to direct to the right person.

Flags: needinfo?(odvarko)

Thank you for the report, Bobby.

Ksenia, can you please look at this. Can we ship UA intervention to fix this?

Flags: needinfo?(odvarko) → needinfo?(kberezina)
Depends on: 1823966

Yeah, we can ship an override in the next version of the addon in bug1805410.

Just wanted to double check the url, since https://elearning.dmv.ca.gov/ doesn't open for me. When adding www to the address, https://www.elearning.dmv.ca.gov/, so presumably that's the right one?
(it redirects to https://www.dmv.ca.gov/isam/sps/auth?PartnerId=https%3A%2F%2Fwww.elearning.dmv.ca.gov%2Fauth%2Fsaml2%2Fsp%2Fmetadata.php)

Flags: needinfo?(kberezina) → needinfo?(bholley)

(In reply to Ksenia Berezina [:ksenia] from comment #2)

Yeah, we can ship an override in the next version of the addon in bug1805410.

Just wanted to double check the url, since https://elearning.dmv.ca.gov/ doesn't open for me. When adding www to the address, https://www.elearning.dmv.ca.gov/, so presumably that's the right one?

Yes, looks like it's www-prefixed. That said I think it would be safer to just do *.elearning.dmv.ca.gov, assuming we have that capability.

Flags: needinfo?(bholley)

Ok, thanks, I've updated bug1823966 with this url.

A simple UA override for *.elearning.dmv.ca.gov is now shipping in Firefox Nightly 114 as per bug 1805410. We will be uplifting this intervention into the 113 Beta as well, so that it'll be included in that release train.

I'll close this as fixed for now, even though I can't test anything behind the login screen. Bobby, I'd appreciate if you could give it a try in today's Nightly. If it still isn't working, please reopen and we'll dig deeper.

Assignee: nobody → dschubert
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

(In reply to Dennis Schubert [:denschub] from comment #5)

I'll close this as fixed for now, even though I can't test anything behind the login screen. Bobby, I'd appreciate if you could give it a try in today's Nightly. If it still isn't working, please reopen and we'll dig deeper.

Yep, seems to work now. Thanks!

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