Closed Bug 1411710 Opened 8 years ago Closed 7 years ago

Unable to load Gmail after Nightly update with security.webauth.u2f = true

Categories

(Core :: DOM: Device Interfaces, defect, P2)

57 Branch
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox57 --- disabled
firefox58 --- disabled

People

(Reporter: Atoll, Unassigned)

References

Details

(Whiteboard: [u2f])

Attachments

(1 obsolete file)

I updated to 2017-10-25 Nightly, and Gmail doesn't load anymore. Freezes in the progress bar at about 85%. I was able to dig up from the POST to /jserror: script=https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.en.Kkobh6whZGg.O/m=pds,pdl,pdit,m_i,pdt,t,it/am=[redacted]/rt=h/d=1/rs=[redacted] error=u2f is not a function line=2861 txz=p Perhaps I need to (or already did) enable U2F support for testing? Perhaps Gmail is assuming U2F is available, without testing correctly? cc :ttaubert (u2f), :karlcow (webcompat)
security.webauth.u2f = true in my about:config. Resetting to false lets me login to Gmail again.
Hmm, I encountered the same problem this morning. I've had the pref enabled for a while, looks like that's a recent change in Gmail then?
Yes, I had this happen all-of-a-sudden last night, so there must have been a deploy at Gmail. Previous to yesterday the error we'd see was: > TypeError: setting getter-only property "u2f" [Learn More] from when Gmail would load this line: https://github.com/google/u2f-ref-code/blob/2efd344c23ac3ce57731ecd57ae57e8c26af6485/u2f-gae-demo/war/js/u2f-api.js#L17 Sadly, the U2F standard doesn't specify much of anything about how the `u2f` object works -- ours is not replaceable, being implemented in C++, while IIUC Google's is implemented by that u2f-api.js file. I'm too pre-coffee to formulate a response here.
Component: General → DOM: Device Interfaces
Product: Firefox → Core
Whiteboard: [u2f]
Version: Trunk → 57 Branch
(Note that for me, this occurred in 58.0a1, but I assume it's also breaking in 57 which I didn't personally test.)
Yes, this affects Firefox 57 for me, though the change to Gmail appears to be rolling out to a subset of profiles - my personal Gmail doesn't have the issue. Since U2F support is experimental and disabled by default, I'm changing the flags to "disabled" so as to not cause relman any undue concern. We might want to consider uplifting our fix here if it's simple, but it is getting pretty late in the game for 57.
Attachment #8922314 - Flags: review?(bugs)
Comment on attachment 8922314 [details] Bug 1411710 - Denote window.u2f as a replaceable attribute r=jcj,smaug J.C. Jones [:jcj] has approved the revision. https://phabricator.services.mozilla.com/D166#4008
Attachment #8922314 - Flags: review+
Comment on attachment 8922314 [details] Bug 1411710 - Denote window.u2f as a replaceable attribute r=jcj,smaug J.C. Jones [:jcj] has requested changes to the revision. https://phabricator.services.mozilla.com/D166#4011
Attachment #8922314 - Flags: review+
This appears to be fixed for me as of now; I checked yesterday and it was still broken. Presumably this would have been a fix at the Gmail side.
Not seeing this anymore either.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Attachment #8922314 - Attachment is obsolete: true
Hmmm, this seems to be back. It's again "u2f is not a function" that's sent to gmail.com/jserror.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Priority: -- → P2
confirming that this is a problem with current nightly on windows and linux and that disabling u2f resolves it.
Same problem with release version (57.0). Confirming that disabling u2f solve this.
See Also: → webauthn
For triage purposes, this issue only occurs when a default-off preference is manually enabled, and will not affect the vast majority of users unless that preference is switched to default-on while this issue remains extant.
Summary: Unable to load Gmail after Nightly update → Unable to load Gmail after Nightly update with security.webauth.u2f = true
As an update: I've spoken with the Identity and Security PM at Google about this issue and they're working on it on their side. Tim and I have been also talking about whether there's something we could do with a WebExtension to blacklist Gmail temporarily.
Seems to work again for me. Can anyone confirm?
Yes, it also works for me.
(Per comment 8 and 10, I’ll wait a couple days before re-checking to ensure it’s not a temporary thing.)
Confirming that it works again.
I have the same issue on this page: https://www.myetherwallet.com/ If I set security.webauth.u2f = true it doesn't load. Here's the console error: TypeError: setting getter-only property "u2f" Error: [$injector:modulerr] Failed to instantiate module mewApp due to: [$injector:nomod] Module 'mewApp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. http://errors.angularjs.org/1.6.5/$injector/nomod?p0=mewApp FirefoxNightly 59.0a1 (2017-12-12) (64-bit)

My original issue was resolved later on and I no longer have the problem reported at Gmail. Feel free to reopen if there's further actionable desires here.

Status: REOPENED → RESOLVED
Closed: 8 years ago7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: