Bug 397684

Summary: Enabling "Enhanced Media Controls" breaks Home Assistant
Product: [Plasma] plasma-browser-integration Reporter: Leo Verto <leotheverto+kdebugs>
Component: FirefoxAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Leo Verto 2018-08-20 19:56:45 UTC
When "Enhanced Media Controls" is enabled, Home Assistant fails to load and throws "TypeError: this._meta.byKey is not a function".

Now I realize this may not sound like an issue on your side but interestingly enough, the LastPass extension seems to have caused the exact same problem in the past: https://github.com/home-assistant/home-assistant-polymer/issues/448 and per the referenced issues, also caused problems for other projects using web components (https://github.com/webcomponents/webcomponentsjs/issues/819, https://github.com/appreciated/vaadin-app-layout/issues/98).

Now if this is really caused by the same addon behaviour then the plasma browser integration could very well also break other websites using similar polymer/webcomponent code but I haven't gotten a chance to check it yet.
Comment 1 Kai Uwe Broulik 2018-08-21 10:01:39 UTC
Issues like these are why we disabled it by default
Comment 2 Kai Uwe Broulik 2018-08-21 10:04:57 UTC
Do you have a test install of "Home Assistant" where I can try to debug the problem?
Comment 3 Kai Uwe Broulik 2018-08-21 10:06:38 UTC
I'll try with https://www.home-assistant.io/demo/
Comment 4 Kai Uwe Broulik 2018-08-21 10:08:57 UTC
Can't reproduce in Chrome or Chromium, both with my and an empty profile (just p-b-i, no blockers). The demo site loads just fine.
Comment 5 Kai Uwe Broulik 2019-08-21 19:11:58 UTC
Home assistant supposedly ported away from the framework that broke with this. Also, the enhanced media controls won't tamper with the website DOM anymore in the upcoming release. Closing this now.