Open Bug 1515683 Opened 7 years ago Updated 2 days ago

Netflix-player and Spotify-web player crash upon deleting page&download-history

Categories

(Core :: Audio/Video: Playback, defect, P3)

69 Branch
x86_64
Windows 10
defect

Tracking

()

Tracking Status
firefox64 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox84 --- wontfix
firefox85 --- wontfix
firefox86 --- fix-optional
firefox98 --- affected
firefox99 --- affected
firefox100 --- affected

People

(Reporter: dan23, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0 Steps to reproduce: One method is: 1. Play a Netflix video in a browser tab. 2. Pause the video. 3. switch to another tab. 4. click on "history", and delete page & download-history (all). 5. go back to Netflix tab 6. click "play" Actual results: player crashes. Expected results: Should've resumed.
66.0a1 Nightly affected aswell.
Please provide a crash ID from a submitted crash (!) in about:crashes - https://support.mozilla.org/en-US/kb/mozillacrashreporter
Flags: needinfo?(danielboontje)
It's not Firefox.exe that crashes, just the player in the Netflix window. Or is it a Netflix bug, not a Firefox bug?
Flags: needinfo?(danielboontje)
crash is a very specific term. Do you mean that the netflix page in Firefox stops working after deleting the history ? Does it work again if you reload netflix ? In that case I would not call that a bug because the netflix page could use a (deleted) history entry to resume the playing.
Yes and yes. How would a page/website even be able to access a history entry in FF 64.0?
So any website can read all previous websites from the current tab?
Flags: needinfo?(bugzilla)
No, the website can only navigate back/forward but it can't read that other history entries. That would be a privacy violation. I do not know if netflix uses this for his player and the pause function but I can't check that because it's a paid service.
Flags: needinfo?(bugzilla)
Can you tell me how I can check it?
Flags: needinfo?(bugzilla)
I would have told you that first if there would be an easy way
Flags: needinfo?(bugzilla)
Do you know of any Firefox programmer who has netflix to test this?

I couldn't find the regression range, I went back to a build from April 2016 and I had the same problem after deleting the history, and when I tried to reproduce it on a build from January 2016 I got informed to use a newer version of FF.

I also tried on Chrome to see how things work there, and after deleting the history and switch back to Netflix tab the player resumes, but after I reloaded the page I was logged out which is expected.

I'm going to assigned it to "Core: Audio/Video: Playback" component.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Jean-Yves, what is the expected behavior in this case?

Rank: 19
Flags: needinfo?(jyavenard)
Priority: -- → P2

I tried the following:

Start playback in netflix.
Pause
Open a new tab. In it I go to history -> clear recent history, select last hour time range to clear (all checkboxes checked).
Go back to Netflix tab and resume

Playback resume.

Do those steps cause a problem for you?

Flags: needinfo?(jyavenard) → needinfo?(danielboontje)

I tried the following:

Start playback in netflix.
Pause
Open a new tab. In it I go to history -> clear recent history, select last hour time range to clear (all checkboxes checked).
Go back to Netflix tab and resume

Playback resume.

Do those steps cause a problem for you?

(Funnily, this make bugzilla brokenish)

Jean, not even clear ALL, did you read my first post, I wrote "page & download-history (all)". ONLY deleting the page+download history (all time) makes the player crash sadly :/
So it definitely is related to deleted page / download-history (most likely page-history).

Flags: needinfo?(danielboontje) → needinfo?(jyavenard)

After choosing "History -> Clear Recent History -> Select 'Everything' & tick the boxes for 'Site Prefernces' and 'Offline Website Data'" and then switching back to the Netflix tab I got an "Ooops something went wrong" page with the Netflix error "Error Code: F7361-1253".

Daniel is this what you are seeing?

Flags: needinfo?(jyavenard) → needinfo?(danielboontje)

To answer previous questions about this: reloading the page after the "oops" results in Netflix no longer seeing me as logged in. Thus I can't continue to watch, except trailers (which work fine).

Yes, it's that exact "Oops something went wrong" message.

Flags: needinfo?(danielboontje)

"fix-optional" meaning sb. is working on a fix?

Flags: needinfo?(jcristau)
Flags: needinfo?(jcristau)

Hello ,

I tried and could not get a regression range . I went as far back as builds from 2015 and 2016 and the issue occurs in those builds with the exact STR.

Does not seem that this issue is a regression.

Has Regression Range: --- → no
Has Regression Range: no → ---

What's the next step now? Hotfix so that Netflix page history isn't deleted when user has a Netflix tab open?

P2 ? Meaning somebody is investigating?

OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Version: 64 Branch → 68 Branch
Version: 68 Branch → 69 Branch

steps 3 and 5 can be omitted, will crash aswell.

added Spotify web-player aswell, that one comes with a "Something went wrong with the playlist." error message.
Most likely other browser-webplayers of other brands affected aswell.

Severity: normal → major
Summary: Netflix player crashes when deleting page&download-history. → Netflix-player and Spotify-web player crashes when deleting page&download-history.

Probably needs some sort of "exception" for those websites, so that the last entry/few entries of those pages don't get deleted? (workaround)

Severity: major → normal
Priority: P2 → P1
Keywords: regression
Summary: Netflix-player and Spotify-web player crashes when deleting page&download-history. → Netflix-player and Spotify-web player crash upon deleting page&download-history

Daniel, please don't change the priority field unilaterally in bugs - this is set by developers who are triaging and scheduling work on issues.

Priority: P1 → P2

Oh, okay. I'm sorry. It's just that I thought that it's quite easy to code a workaround that doesn't delete the last Netflix URL-entry-history to prevent the player from crashing.

Other browsers with a large userbase don't have this issue.

Change the status for beta to have the same as nightly and release.
For more information, please visit auto_nag documentation.

Still the case, both Netflix & Spotify, other browsers unaffected

.(In reply to Matthias Versen [:Matti] from comment #6)

https://developer.mozilla.org/en-US/docs/Web/API/Window/history

Thanks! I also searched for "window.history" on http://searchfox.org, do you know which file would need the exclusion added for netflix.com and spotify.com? (unless there's a better way to fix this)

Flags: needinfo?(bugzilla)

Change the status for beta to have the same as nightly and release.
For more information, please visit auto_nag documentation.

(In reply to Dan from comment #33)

Thanks! I also searched for "window.history" on http://searchfox.org, do you know which file would need the exclusion added for netflix.com and spotify.com? (unless there's a better way to fix this)

Sorry but I can't help

Flags: needinfo?(bugzilla)
Severity: normal → S3
Priority: P2 → P3

Made an addon as workaround, for anyone interested. https://addons.mozilla.org/en-US/firefox/addon/clear-history-no-vod-crash/

You need to log in before you can comment on or make changes to this bug.