Closed Bug 1525645 Opened 7 years ago Closed 6 years ago

Video on raptor-tp6-youtube-firefox does not play

Categories

(Testing :: Raptor, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: acreskey, Unassigned)

Details

Attachments

(2 files)

When running raptor-tp6-youtube-firefox the video does not begin playback.

From the taskcluster artifacts, the captured screenshots do not show the video element being rendered:
https://taskcluster-artifacts.net/Y3imMuw8T-618xqbb7PGcQ/0/public/test_info/screenshots.html

However when running the test locally (OSX), I do see the video element (all black), but the video does not play.

I was investigating this, and it appears that the problem here is that we are not injecting any deterministic JS when recording. Here is what I see when I playback using mitmproxy 4.0.4 on today's youtube site:

server_playback: killed non-replay request https://pubads.g.doubleclick.net/gampad/ads?sz=850x250&gdfp_req=1&ad_rule=0&iu=/4061/com.ythome&impl=ifr&loeid=23783454,23769156,23757209,23761460&scp=ssl%3D1%26dc_yt%3D1%26klg%3Den%26kmyd%3Dvideo-masthead%26ytdevice%3D1%26ytexp%3D9471235,23733598,23783454,23789247,9477942&d_imp=1&ytdevice=1&pucrd=APb3F2-BIhMr6E-prQA2dmorSzOCRfPXBghiBCoznnNHMHH8BqjN5g-XJPbLPSTnwU5ZfXn7smKV57_XDCvi&correlator=20601441432227

This all works out of the box with WPR, and when I inject the same deterministic JS that wpr uses with a mitmproxy addon I can also see the video and banner that is missing in tp6. Unfortunately the video does not playback with the addon, but that seems to be a separate problem.

For some reason the url got cut off, but it's the resource for where the advertisement banner and video is.

Priority: -- → P2

We have separate youtube playback tests:

https://bugzilla.mozilla.org/show_bug.cgi?id=1548845
https://searchfox.org/mozilla-central/source/testing/raptor/raptor/tests/benchmarks/raptor-youtube-playback.ini

The TP6 tests are not meant to play the video they just open the home page.

Also we re recorded all the tests and added deterministic JS.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: