Also overwrite document.createElement using exportFunction
ClosedPublic

Authored by broulik on Nov 27 2019, 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.Nov 27 2019, 4:21 PM
Restricted Application added a project: Plasma. · View Herald TranscriptNov 27 2019, 4:21 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Nov 27 2019, 4:21 PM
fvogt accepted this revision.Nov 29 2019, 1:37 PM

Ugly...

This revision is now accepted and ready to land.Nov 29 2019, 1:37 PM
This revision was automatically updated to reflect the committed changes.