Closed Bug 1760279 Opened 2 years ago Closed 2 years ago

Credentials can not be introduced at account.formula1.com with ETP set to STRICT

Categories

(Core :: Privacy: Anti-Tracking, defect, P3)

Firefox 100
Desktop
Windows 10
defect

Tracking

()

VERIFIED FIXED
104 Branch
Tracking Status
firefox100 --- wontfix
firefox104 --- verified

People

(Reporter: rbucata, Assigned: twisniewski)

References

(Blocks 1 open bug, )

Details

Attachments

(3 files)

Attached image Screenshot_13.png

Environment:
Operating System: Windows 10 PRO x64
Firefox version:Firefox Nightly 100.0a1 (2022-03-17) (64-bit)

Preconditions:
ETP set to STRICT
Clean profile

Steps to reproduce:

  1. Navigate to: https://account.formula1.com/#/en/login?lead_source=web_fantasy&redirect=https%3A%2F%2Ffantasy.formula1.com%2Fapp%2F%23%2F
  2. Click on the "Email address" input field.
  3. Observe the result.

Expected Behavior:
The text cursor is active and details can be introduced.

Actual Behavior:
Nothing happens.

Notes:

  • Not reproducible with ETP set to STANDARD.
  • Works as expected using Chrome.
  • Screenshot attached.

This is easier to reproduce in private browsing mode, as it's caused by their cookie-consent banner not going away properly. There is an invisible element overlaid on the rest of the content, div#consent_blackbar left behind, which can be manually hidden or goes away after 60 seconds. It's unclear why this is the case, but it seems logical it would be something that SmartBlock's shims aren't handling as the site's banner code expects.

Severity: -- → S3

I took a second quick look at this one, and it appears that in Chrome, when the "Accept all cookies" button is clicked, the page seems to reload, and never bring up that #consent_blackbar element. But this reload doesn't happen in Firefox in strict mode, and the page doesn't even seem to try to clear the transparent overlay. The question is why this reload isn't happening.

@Raul, this appears to be fixed for me now on the latest nightly builds of desktop Firefox. Could you confirm if it's working for you on such a build as well?

Flags: needinfo?(raul.bucata)
Attached image UnableToType.gif

The issue is still reproducible both in normal mode and private mode when accessing the page for the first time and after accepting cookies.

Note:

  1. Reloading the page, typing becomes possible.
  2. Clearing cookies and performing the steps again, the issue can be reproduced.

Tested with:
Browser / Version: Firefox Nightly 104.0a1 (2022-07-13)
Operating System: Windows 10 Pro

I get the same result. No fields can be activated, hyperlinks are not working and buttons are not responding. Reloading the page seems to fix the issue.

Tested with:

Browser / Version: Firefox Release 102.0.1 (64-bit)/ Firefox Nightly 104.0a1 (2022-07-14) (64-bit)
Operating System: Windows 10 PRO x64

Flags: needinfo?(raul.bucata)

Ok, so I diagnosed this by using the console to add a beforeunload listener which called debugger, then clicked on Accept All to see the stack trace. Basically, once you click, their function updateGTM is called, which pushes a new command to the window dataLayer, {event: cookie_prefs_set}. Normally this ends up calling their custom tag in Publisher Tags, but our Google Analytics shim doesn't actually pass that event along, so the reload never happens.

Luckily we can just call the push method as expected if it exists, making sure to still run the eventCallbacks if not. That should cover our bases for why we override the datalayer's push command (asynchide causing page-load delays when GPT is blocked, etc).

Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by twisniewski@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d06c90a3129f
have our Google Analytics/Tag Manager shim call the original dataLayer's push method if it has successfully loaded, so page's custom JS stored in GTM can run; r=ksenia,webcompat-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Flags: qe-verify+

I managed to reproduce this issue on Firefox 103.0(build ID: 20220718155818) on Windows 10 64-bits. Verified as fixed on Firefox 104.0b7(build ID: 20220807190148) and Nightly 105.0a1(build ID: 20220807214336) on Windows 10 64-bits, Ubuntu 22.04, macOS 12.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: