https://bugs.kde.org/show_bug.cgi?id=411742
Kai Uwe Broulik <k...@privat.broulik.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|CONFIRMED |RESOLVED Latest Commit| |https://commits.kde.org/pla | |sma-browser-integration/c1d | |7ea7346074e1912d56b9aed8d5e | |c47957e3a2 --- Comment #15 from Kai Uwe Broulik <k...@privat.broulik.de> --- Git commit c1d7ea7346074e1912d56b9aed8d5ec47957e3a2 by Kai Uwe Broulik. Committed on 14/11/2019 at 18:33. Pushed by broulik into branch 'master'. Fixup new Audio() constructor and apply autoplay prevention evasion to document.createElement The arguments apparently weren't properly forwarded to the constructor, breaking e.g. new Audio("foo") calls. This uses the much nicer spread syntax introduced in ES6. Also, document.createElement("audio") is affected in the same way as new Audio() The evasion is now only done when the player actually starts playing, not immediately when it is created, since we only care about playing players. Differential Revision: https://phabricator.kde.org/D24870 M +40 -39 extension/content-script.js https://commits.kde.org/plasma-browser-integration/c1d7ea7346074e1912d56b9aed8d5ec47957e3a2 -- You are receiving this mail because: You are watching all bug changes.