Also overwrite document.createElement using exportFunction
AcceptedPublic

Authored by broulik on Wed, Nov 27, 4:21 PM.

Details

Summary

Ensures it works in Firefox on sites with content security policy like Spotify.

Test Plan
  • Spotify works now in Firefox
  • Google Translate still works in Firefox

Needs more testing:

  • Firefox ESR
  • Chrome
  • the stuff that broke by replacing document.createElement before I changed it to use the Document.prototype

...

Diff Detail

Repository
R856 Plasma Browser Integration
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Wed, Nov 27, 4:21 PM
Restricted Application added a project: Plasma. · View Herald TranscriptWed, Nov 27, 4:21 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Wed, Nov 27, 4:21 PM
fvogt accepted this revision.Fri, Nov 29, 1:37 PM

Ugly...

This revision is now accepted and ready to land.Fri, Nov 29, 1:37 PM