Summary: | Youtube media controls no longer show up | ||
---|---|---|---|
Product: | [Plasma] plasma-browser-integration | Reporter: | Tasos Sahanidis <tasos> |
Component: | Firefox | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-browser-integration/1eda6e4387da9a71574b2d9c3cf8ff35393a4514 | Version Fixed In: | |
Sentry Crash Report: |
Description
Tasos Sahanidis
2019-08-29 14:27:37 UTC
Looks like Waterfox doesn't like calling window.postMessage(foo) with just one argument. It requires the targetOrigin argument. Patch: https://phabricator.kde.org/D23568 Technically a bug on our side caused by poor docs, lack of my reading skills, and lenient behavior on browser side. Note that Waterfox isn't officially supported by us. (In reply to Kai Uwe Broulik from comment #1) > Looks like Waterfox doesn't like calling window.postMessage(foo) with just > one argument. It requires the targetOrigin argument. Patch: > https://phabricator.kde.org/D23568 > Technically a bug on our side caused by poor docs, lack of my reading > skills, and lenient behavior on browser side. Note that Waterfox isn't > officially supported by us. Thank you for the quick reply and for the patch. I will test it later this evening. That said, the same issue happens on Firefox 60 ESR which if I am not mistaken is still supported. Oh, good point about the ESR. I thought they still did the old extension stuff but that was 57, not 60. Git commit 1eda6e4387da9a71574b2d9c3cf8ff35393a4514 by Kai Uwe Broulik. Committed on 29/08/2019 at 17:06. Pushed by broulik into branch 'master'. Use custom event rather than window.postMessage window.postMessage requires a targetOrigin which isn't enforced by all browsers. This patch changes it to send a custom event which reduces the likelihood of interference and eavesdropping. Differential Revision: https://phabricator.kde.org/D23568 M +8 -9 extension/content-script.js https://commits.kde.org/plasma-browser-integration/1eda6e4387da9a71574b2d9c3cf8ff35393a4514 |