Bug 432043

Summary: Chrome extension Plasma Integration breaks Netflix
Product: [Plasma] plasma-browser-integration Reporter: Daniel Noga <noga.dany>
Component: ChromeAssignee: Kai Uwe Broulik <kde>
Status: CLOSED FIXED    
Severity: critical    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Daniel Noga 2021-01-24 16:21:08 UTC
SUMMARY
Chrome extension Plasma Integration breaks video with latest Chrome / Netflix. 

STEPS TO REPRODUCE
1. Install Plasma Integration addon into Google Chrome 88.0.4324.96 
2. Open Netflix
3. Play some movie

OBSERVED RESULT
netflix error ui 3013

EXPECTED RESULT
playing movie


SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: openSUSE Leap 15.2 (not important)
(available in About System)
KDE Plasma Version: 5.18.6 (not important)
KDE Frameworks Version: 5.71.0 (not important)
Qt Version: 5.12.7 (not important)

ADDITIONAL INFORMATION
On Chromium 87 without issues. I cannot test on Chromium 88 (does not exist in my distribution yet) and I cannot test with Chrome 87 (only latests version can be downloaded from google repositories). I tried other solutions mentioned in https://help.netflix.com/en/node/61478 , but videos start working only after disabling this extension. In latest Firefox LTS works without issues.
Comment 1 Kai Uwe Broulik 2021-01-24 16:35:00 UTC
Aww, shit.
Comment 2 Kai Uwe Broulik 2021-01-24 16:44:45 UTC
Git commit 04db6cf8ce0c175c79c64cbcde0a6e7884b318b0 by Kai Uwe Broulik.
Committed on 24/01/2021 at 16:43.
Pushed by broulik into branch 'master'.

Don't do DOM dance if it has a parentNode

Otherwise we might mess up a script trying to reparent it elsewhere.
This fixes Netflix...

M  +3    -1    extension/content-script.js

https://invent.kde.org/plasma/plasma-browser-integration/commit/04db6cf8ce0c175c79c64cbcde0a6e7884b318b0
Comment 3 Kai Uwe Broulik 2021-01-24 16:50:02 UTC
I've uploaded a new release to Chrome store (1.8.0.1), should pass review soon, hopefully. Sorry about that.
Comment 4 Daniel Noga 2021-01-24 16:52:00 UTC
Thanks for the fast fix!
Comment 5 Kai Uwe Broulik 2021-01-24 17:29:11 UTC
Looks like it's already released, please let me know if that still causes trouble, thanks!
Comment 6 Daniel Noga 2021-01-24 17:39:08 UTC
Confirmed, it works now!