Граф коммитов

582 Коммитов

Автор SHA1 Сообщение Дата
Katherine Patenio 6c12fecdba Bug 1763190 - allow pip video wrappers for beta channel. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D142995
2022-04-06 23:00:41 +00:00
Niklas Baumgardner 36fa44eb8d Bug 1757219 - Add small, medium, and large font sizes for PiP subtitles. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D142245
2022-04-06 14:33:54 +00:00
Kagami Sascha Rosylight 1409f37ca3 Bug 1703953 - Part 2: Apply mozilla/use-isInstance rules for .jsm files r=webdriver-reviewers,pip-reviewers,mhowell,Gijs,whimboo
This replaces all `instanceof` uses for DOM interfaces, since the operator in priviliged context works same as .isInstance().

Differential Revision: https://phabricator.services.mozilla.com/D141785
2022-04-06 11:57:57 +00:00
Niklas Baumgardner 46c06c05e7 Bug 1762358 - Fixed PiP icon not visible on G branch of experiment. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D142577
2022-04-01 13:54:22 +00:00
Neil Deakin d9ffd58e2b Bug 1665251, handle activating the pip toggle with the keyboard, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D142222
2022-03-31 18:45:03 +00:00
criss 4eec7e25a3 Backed out 3 changesets (bug 1703953) for causing multiple failures. CLOSED TREE
Backed out changeset 871a1fac289e (bug 1703953)
Backed out changeset 8151244bda18 (bug 1703953)
Backed out changeset eaf6d4c353be (bug 1703953)
2022-03-29 17:01:58 +03:00
Kagami Sascha Rosylight c8f12f94dc Bug 1703953 - Part 2: Apply mozilla/use-isInstance rules for .jsm files r=webdriver-reviewers,pip-reviewers,mhowell,Gijs,whimboo
This replaces all `instanceof` uses for DOM interfaces, since the operator in priviliged context works same as .isInstance().

Differential Revision: https://phabricator.services.mozilla.com/D141785
2022-03-29 13:11:00 +00:00
Katherine Patenio 8b2ec126dc Bug 1757921 - hide pip toggle for youtube video previews. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D141268
2022-03-23 20:01:00 +00:00
Katherine Patenio 01dde02484 Bug 1757927 - close pip window when video src is undefined. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D141145
2022-03-23 19:47:47 +00:00
Dan Minor 12a8486570 Bug 1402822 - Support multiple dictionaries in InlineSpellChecker; r=smaug,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140242
2022-03-23 13:53:38 +00:00
Mark Banner 2d563feacc Bug 1758476 - Remove some unnecessary uses of the target object argument to ChromeUtils.import. r=mossop,webdriver-reviewers,perftest-reviewers,robwu,whimboo,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140518
2022-03-17 22:13:08 +00:00
Cristian Tuns e8374bd569 Backed out changeset 528295e7cb0c (bug 1758476) for causing tabswitch failures CLOSED TREE 2022-03-14 12:27:48 -04:00
Mark Banner 0ce30e3008 Bug 1758476 - Remove some unnecessary uses of the target object argument to ChromeUtils.import. r=mossop,webdriver-reviewers,perftest-reviewers,robwu,whimboo,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140518
2022-03-14 10:19:40 +00:00
Niklas Baumgardner 63217c3efe Bug 1756703 - Add extra keys to pictureinpicture.create telemetry event. r=pip-reviewers,mconley,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D140252
2022-03-13 00:45:01 +00:00
Katherine Patenio 9e9997b4a2 Bug 1756718 - move pip texttracks when pip player controls appear to avoid overlap. r=mhowell,pip-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D139956
2022-03-11 00:52:01 +00:00
Neil Deakin fc439be68b Bug 1755887, the picture-in-picture shortcut should open the focused video, if any, otherwise, should find a video in the nested subframe that has focus, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D140663
2022-03-11 00:29:05 +00:00
Shane Hughes 26a5ac93fb Bug 1693961 - Change video player seek time to 5 seconds. r=jaws,pip-reviewers,mtigley
In the video controls, the Arrow Left/Right keyboard shortcuts seek 15
seconds or 10% of duration depending on accel key state. This patch
changes the absolute seek time to 5 seconds, more in line with the
player implementations on some popular websites like YouTube. It
also applies to the Picture-in-Picture player.

Differential Revision: https://phabricator.services.mozilla.com/D137601
2022-02-23 01:10:17 +00:00
Katherine Patenio 7dde78925c Bug 1751231 - added responsive styling for pip captions r=mhowell,niklas
Differential Revision: https://phabricator.services.mozilla.com/D138235
2022-02-22 20:06:01 +00:00
Emilio Cobos Álvarez ab63e715e1 Bug 1753836 - Fix context menus to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138036

Differential Revision: https://phabricator.services.mozilla.com/D138037
2022-02-16 12:18:11 +00:00
Emilio Cobos Álvarez 308992c1b0 Bug 1753836 - Fix AutoScroll code to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138035

Differential Revision: https://phabricator.services.mozilla.com/D138036
2022-02-16 12:18:10 +00:00
smolnar 33c038ec0d Backed out 6 changesets (bug 1753836) for causing mochitest failures in test_event_screenXY_with_zoom. CLOSED TREE
Backed out changeset a572cbc0fac2 (bug 1753836)
Backed out changeset 371a495ff728 (bug 1753836)
Backed out changeset 774af76be463 (bug 1753836)
Backed out changeset faa8a8f2d40f (bug 1753836)
Backed out changeset 9209832ecffe (bug 1753836)
Backed out changeset db443ce0406d (bug 1753836)
2022-02-16 01:47:51 +02:00
Emilio Cobos Álvarez 9b5b35c3f1 Bug 1753836 - Fix context menus to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138036

Differential Revision: https://phabricator.services.mozilla.com/D138037
2022-02-15 22:25:04 +00:00
Emilio Cobos Álvarez ae19fa64f0 Bug 1753836 - Fix AutoScroll code to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138035

Differential Revision: https://phabricator.services.mozilla.com/D138036
2022-02-15 22:25:03 +00:00
Katherine Patenio 24402f03bc Bug 1752367 - added tests to ensure pip cc order using vttcue.line r=mhowell,niklas
Differential Revision: https://phabricator.services.mozilla.com/D138233
2022-02-11 20:06:06 +00:00
Niklas Baumgardner 8b8708f8a0 Bug 1753737 - Add PiP subtitle support for YouTube. r=mhowell,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D137896
2022-02-10 15:24:07 +00:00
Micah Tigley 63b17816a2 Bug 1753641 - Update setMuted method for Youtube video wrapper to only toggle when setting a new muted state. r=mhowell,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D138139
2022-02-09 21:24:46 +00:00
Micah Tigley 2bd9bdc9bc Bug 1753401 - Change PiP toggle's visibility threshold back to 1.0. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D138218
2022-02-09 00:21:14 +00:00
Niklas Baumgardner b1ea82417d Bug 1749585 - Add Telemetry probes for Picture-in-Picture toggle clicks. r=mhowell,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D135657
2022-02-08 19:39:41 +00:00
Niklas Baumgardner d1bba8d864 Bug 1749586 - Add code for PiP first time toggle experiment. r=mhowell,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D135655
2022-02-08 19:39:41 +00:00
Katherine Patenio 24b8dcb47f Bug 1748884 - add PIP support for WebVTT supported videos r=mtigley,mhowell,niklas
This patch integrates WebVTT support for Picture in Picture that can be enabled/disabled via a pref.

Differential Revision: https://phabricator.services.mozilla.com/D135576
2022-02-07 18:05:43 +00:00
Csoregi Natalia 5139fa51ef Backed out changeset 951a331c6511 (bug 1748884) for causing failures on browser_text_tracks_webvtt_2.js. CLOSED TREE 2022-02-02 23:54:36 +02:00
Katherine Patenio 0bf254ca30 Bug 1748884 - add PIP support for WebVTT supported videos r=mtigley,mhowell,niklas
This patch integrates WebVTT support for Picture in Picture that can be enabled/disabled via a pref.

Differential Revision: https://phabricator.services.mozilla.com/D135576
2022-02-02 19:31:54 +00:00
Micah Tigley f982fe8d5b Bug 1750998 - Enable loading site-specific wrapper scripts on debug builds. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136739
2022-01-25 02:04:01 +00:00
Micah Tigley 2a127375dd Bug 1670108 - Make site-specific adapters using independent video wrapper classes. r=robwu,mconley
Differential Revision: https://phabricator.services.mozilla.com/D109073
2022-01-19 16:36:36 +00:00
Jonathan Watt 2a9a0b264a Bug 1702501 - Remove print.tab_modal.enabled pref and old frontend print preview code. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D134699
2022-01-06 18:55:38 +00:00
Rashelle Hopkins df28c0a87d Bug 1742585 - Add PiP toggle visibility threshold preference r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D134577
2022-01-03 21:54:57 +00:00
Jonathan Watt ac90ddff59 Bug 1745452 - Remove the print progress dialog code. r=mstriemer,bobowen,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D133500
2021-12-16 15:12:33 +00:00
Butkovits Atila 7d46682c0e Backed out changeset 51d7c5d96ceb (bug 1745452) for causing failures at browser_all_files_referenced.js. CLOSED TREE 2021-12-16 15:13:34 +02:00
Jonathan Watt f2d22001b0 Bug 1745452 - Remove the print progress dialog code. r=mstriemer,bobowen,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D133500
2021-12-16 11:45:59 +00:00
Jonathan Watt 97553a2013 Bug 1745333 - Stop ask for print progress in PrintingChild.jsm for the old UI. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D133452
2021-12-10 16:14:38 +00:00
Emilio Cobos Álvarez d015fe2e6a Bug 1663366 - Make content select work on the parent process (and opt-in the print settings dialog into it). r=mconley
This should do nothing until bug 1744009 lands. It would also need
bug 1596852 to be usable, but no reason to not land it now.

Differential Revision: https://phabricator.services.mozilla.com/D132732
2021-12-08 11:34:02 +00:00
Emilio Cobos Álvarez 28e0d34df0 Bug 1744300 - More efficiently style content select entries. r=mconley
We're already batching similar styles, so by using classes instead of
style attributes and :nth-child selectors we allow the elements to share
styles, and make their styling more efficient over-all.

Differential Revision: https://phabricator.services.mozilla.com/D132829
2021-12-06 22:04:02 +00:00
Evgenia Kotovich 917e91428e Bug 1674666 - Ctrl/Cmd+w should close PiP window. r=mtigley,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D129106
2021-11-22 21:39:09 +00:00
Geoff Lankow 7f1cae8d68 Bug 1740630 - Fix and enable printing the selection from a parent process browser. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D130938
2021-11-18 21:56:02 +00:00
Sebastian Hengst 465d2a9aa3 Bug 1741848 - update in-tree Bugzilla component for Picture-in-Picture files. r=mconley DONTBUILD
The component got added in bug 1741657.

Differential Revision: https://phabricator.services.mozilla.com/D131488
2021-11-18 14:28:51 +00:00
raquelvargas 0aadb60b82 Bug 1738229 - Stop using the second argument to ChromeUtils.import in various files in browser. r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D129842
2021-11-02 17:21:07 +00:00
Sandor Molnar 5121cd5415 Backed out changeset ca2ff4f605bb (bug 1738012) for causing bc failures in browser_startup_content. CLOSED TREE 2021-10-29 01:21:57 +03:00
Gabriel Luong 18e9725997 Bug 1738012 - Fetch content meta data only after the page is loaded. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D129733
2021-10-28 20:55:28 +00:00
Gabriel Luong c7a4bab1b6 Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
Differential Revision: https://phabricator.services.mozilla.com/D128815
2021-10-22 06:04:04 +00:00
Narcis Beleuzu d9da4a1ac6 Backed out changeset bd57366e61d8 (bug 1732219) for bc failures on browser_bad_meta_tags.js. CLOSED TREE 2021-10-22 00:46:39 +03:00