D21927: Use window.postMessage instead of creating a wrapper item

2019-07-02 Thread Kai Uwe Broulik
This revision was automatically updated to reflect the committed changes. Closed by commit R856:b1ea6f2de39a: Use window.postMessage instead of creating a wrapper item (authored by broulik). REPOSITORY R856 Plasma Browser Integration CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D219

D21927: Use window.postMessage instead of creating a wrapper item

2019-06-21 Thread Kai Uwe Broulik
broulik updated this revision to Diff 60186. broulik edited the summary of this revision. broulik added a comment. - Cleanup REPOSITORY R856 Plasma Browser Integration CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D21927?vs=60121&id=60186 REVISION DETAIL https://phabricator.kde

D21927: Use window.postMessage instead of creating a wrapper item

2019-06-20 Thread Fabian Vogt
fvogt requested changes to this revision. fvogt added a comment. This revision now requires changes to proceed. > Also do some more sanity checks on the input data. Are those even necessary at that point? Considering that the referenced payload properties can still be literally anything

D21927: Use window.postMessage instead of creating a wrapper item

2019-06-20 Thread Kai Uwe Broulik
broulik added inline comments. INLINE COMMENTS > content-script.js:642 > +if (!["none", "paused", "playing"].includes(payload)) { > +console.log("shit playback state", payload); > +return; Oops :) REPOSITORY R856 Plasma Browser Integrati

D21927: Use window.postMessage instead of creating a wrapper item

2019-06-20 Thread Kai Uwe Broulik
broulik created this revision. broulik added reviewers: Plasma, davidedmundson, fvogt. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision. REVISION SUMMARY This should make it less invasive by not messing with the website DOM. Als