Closed Bug 1921732 Opened 1 year ago Closed 7 months ago

rishi-tea.com - "CART" button does not work with Strict ETP

Categories

(Web Compatibility :: Privacy: Site Reports, defect, P3)

Firefox 132
Desktop
Windows 10

Tracking

(firefox132 affected)

VERIFIED FIXED
Tracking Status
firefox132 --- affected

People

(Reporter: ctanase, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: priv-webcompat, webcompat:site-report, webcompat:tracker-blocking, Whiteboard: [webcompat-source:product])

Attachments

(1 file)

Attached image image.png

Environment:
Operating system: Windows 11/10
Firefox version: Firefox 130.0.1 (release)/132

Preconditions:

  • ETP set to STRICT
  • Clean profile

Steps to reproduce:

  1. Navigate to: https://rishi-tea.com/products/jasmine-purple-buds?variant=44621625852154
  2. Click on the "CART" button located in the header.

Expected Behavior:
The cart opens.

Actual Behavior:
Nothing happens.

Notes:

  • Not reproducible with ETP STANDARD/turned OFF (both Normal and Private Browsing)
  • Reproducible on the latest Nightly

Created from webcompat-user-report:535413e0-e2ba-49cc-a515-1a1efa6fcf1c

It's because we block rebuyengine.com as a tracker.

Severity: -- → S3
Keywords: priv-webcompat
Priority: -- → P3

The site now has a banner up, suggesting to disable ETP or switch browsers. @tim, do you think we can unblock this page? I'm happy to reach out to them afterwards.

If you’re using Firefox with Enhanced Tracking Protection, certain features may be blocked. Please disable strict tracking settings or switch browsers for the best experience.

Flags: needinfo?(tihuang)

There is nothing we can unblock. I tested the site with ETP disabled, and the banner is still displayed. I think the website detects Firefox user agents and shows the banner. The website loads fine even in ETP strict mode if I spoof the user agent to Chrome.

We might be able to deploy a Webcompat intervention to spoof the user agent string for this site.

Tom, is this possible?

Flags: needinfo?(tihuang) → needinfo?(twisniewski)

Yeah, their script seems broken in strict ETP mode (I can't click on the cart icon at all), while in standard mode it doesn't appear to have any problems. But their intent is pretty clear:

      // Function to detect Firefox browser
    function isFirefox() {
      return navigator.userAgent.toLowerCase().includes('firefox');
    }

    // Run only in Firefox
      if (isFirefox()) 
        const fireboxPolicySection = document.querySelector('.firebox-policy');

We might as well do a UA override here. I'll see what I can cook up.

Flags: needinfo?(twisniewski)

Actually, upon closer investigation I can't make heads or tails of what's going on here. I never get any message about ETP/Firefox from the site, and while I was able to reproduce a problem where clicking the cart button did nothing, I can't reproduce that now. It looks like maybe the site is not actually running the related code now?

This seems to be fixed with global baseline exception of rebuyengine (see https://etp-exceptions.mozilla.org/). @calin can you please verify whether this is also fixed for you? Thanks!

Status: NEW → RESOLVED
Closed: 7 months ago
Flags: needinfo?(ctanase)
Resolution: --- → FIXED

No longer reproduces.

Flags: needinfo?(ctanase)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: