webrecorder / wombat

Wombat.js client-side rewriting library
GNU Affero General Public License v3.0
81 stars 31 forks source link

Keep existing allowed permissions in appended iframes #134

Closed acelaya closed 4 months ago

acelaya commented 5 months ago

This PR addresses the issue reported in #133, where any iframe appended to an element via appendChild() gets its allow attribute overwritten.

With these changes, the base permissions get enhanced with the existing ones.