Prefer document.title over sender.tab.title
ClosedPublic

Authored by broulik on Jun 11 2019, 8:02 AM.

Details

Summary

In case the media player is embedded in an iframe

Test Plan

Played a video that was in an iframe, got its title now instead of the "generic" website one it was embedded in.
Should be backwards compatible

Diff Detail

Repository
R856 Plasma Browser Integration
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Jun 11 2019, 8:02 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 11 2019, 8:02 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Jun 11 2019, 8:02 AM
davidedmundson accepted this revision.Jun 13 2019, 1:09 PM
This revision is now accepted and ready to land.Jun 13 2019, 1:09 PM
This revision was automatically updated to reflect the committed changes.