Closed Bug 1801277 Opened 2 years ago Closed 2 years ago

Virtual assistant window stuck in a loading loop on microsoft.com with ETP set to Standard

Categories

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

Firefox 109
Other
Android
defect

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox109 --- wontfix
firefox110 --- fixed

People

(Reporter: ctanase, Assigned: timhuang)

References

(Blocks 1 open bug, )

Details

Attachments

(2 files)

Attached video chat microsoft.mp4

Environment:
Operating system: OnePlus 6 A6000 (Android 11)
Firefox version: Nightly 109.0a1-20221117093901

Preconditions:
• ETP set to Standard
• Clean profile

Steps to reproduce:

  1. Go to https://www.microsoft.com/en-us/store/configure/Surface-Pro-9/93VKD8NP4FVK
  2. Tap on the "Questions? Talk to an expert" button.
  3. Observe the behaviour

Expected Behaviour:
Virtual assistant window loads.

Actual Behaviour:
Virtual assistant window is stuck in a loading loop.

Notes:

  1. Video provided
  2. Reproducible with both Standard and Strict ETP
  3. Not reproducible with ETP off
  4. Same behaviour in Private

It's because we partition cookies for liveperson.net under microsoft.com. I think we can resolve this issue by introducing a shim that calls storage access API for liveperson.net when clicking the Questions? Talk to an expert button. Note that the button is not in a liveperson.net iframe but in microsoft.com.

Assignee: nobody → tihuang
Status: NEW → ASSIGNED
Blocks: 1803437

The patch adds a shim for fixing the microsoft virtual assistant. The
iframe of the virtual assistant will fail when accessing the indexedDB
because the domain of the virutal assistant is categoried as a tracker.
Accessing the indexedDB in this case will throw a security error which
leads to the site breakage.

The shim replaces the indexedDB with a fake interface that won't throw
an error when accessing it to fix the problem.

The root cause of the site issue is that the site doesn't handle the security error thrown when accessing the indexedDB in the liveperson.net iframe. The liveperson.net is categorized as a tracker, so accessing the indexedDB in a third-party context will throw an error.

Pushed by tihuang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7285da60030b
Add a shim for microsoft virtual assistant. r=twisniewski,webcompat-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: