Closed Bug 1764041 Opened 3 years ago Closed 2 years ago

Video does not play at video.gazetta.it with ETP set to STRICT

Categories

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

Firefox 101
Other
Android
defect

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox101 --- wontfix
firefox102 --- wontfix
firefox103 --- fixed

People

(Reporter: rbucata, Assigned: twisniewski)

References

(Blocks 1 open bug, )

Details

Attachments

(2 files)

Attached image Screenshot_4.png (deleted) —

Environment:
Operating system: Android 11/ Android 12
Firefox version: Firefox Nightly 101.0a1 (2015874027 -🦎101.0a1-20220409092224🦎)
Preconditions:
ETP set to STRICT
Clean profile

Steps to reproduce:

  1. Navigate to: https://video.gazzetta.it/inter-barella-brozovic-feeling-campo-fuori/b85b466e-b809-11ec-8226-da2e2705e783.
  2. Accept the ""Cookie Policy"" pop-up.
  3. Tap on the play button from the top video placeholder.
  4. Observe the result.

Expected Behavior:
Ads are starting and the video can be viewed.

Actual Behavior:
Nothing happens.

Notes:

  • Not reproducible with ETP set to STANDARD.
  • Works as expected using Chrome.
  • Screenshot attached.
Severity: -- → S3

I see this in the web console: Uncaught (in promise) TypeError: can't access property "queue", window.__iasPET is undefined

But I don't see iasPET being shimmed, probably because they're accessing https://static.adsafeprotected.com/iasPET.1.js, and we only shim iasPET if the URL matches *://cdn.adsafeprotected.com/iasPET.1.js

Indeed, updating the shim to match both variants helps here.

But that's not enough to get the video to play, so further investigations will be needed here.

The fix proposed in bug 1709612 also seems to help here, but not fully fix the problem (I can see a video loading in the devtools, but the player interface doesn't properly display, it just flashes a loading indicator momentarily and goes away).

Funny enough, the issue is that our Amazon prebidding shim is too quick for the site to be able to add its listeners. We need to delay calling the callback to fetchBids a little (in a requestAnimationFrame seems to do the trick). I will update the shim to do this ASAP.

Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8ab0d8a38dd3 delay calling the fetchBids callback in our SmartBlock Amazon apstag shim to prevent script race conditions on some sites; r=ksenia,webcompat-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.

The patch landed in nightly and beta is affected.
:twisniewski, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(twisniewski)

I think it's best to let the fix ride the release trains, so I'm setting WONTFIX on 102/beta.

Flags: needinfo?(twisniewski)
Blocks: 1773100
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: