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

48 Коммитов

Автор SHA1 Сообщение Дата
Andreea Pavel 99b0952b07 Backed out changeset 8fa27903feba (bug 1532773) for failing bc at browser_showMessage.js on a CLOSED TREE 2019-04-03 21:46:18 +03:00
meandave 70cf4e4c3c Bug 1532773 - Add player controls for PictureInPicture. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25435

--HG--
extra : moz-landing-system : lando
2019-04-03 15:10:16 +00:00
Mike Conley 2c8a12e078 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-21 13:58:17 +00:00
Brindusan Cristian 327ca02963 Backed out 2 changesets (bug 1535760, bug 1535748) for ESlint failure at browser_contextMenu.js:66:11. CLOSED TREE
Backed out changeset 8ab3c856b9c2 (bug 1535748)
Backed out changeset a9a01b1c9e3a (bug 1535760)
2019-03-21 04:35:52 +02:00
Mike Conley 47e70b9c38 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:15 +00:00
Mike Conley fc71adb962 Bug 1535444 - Update MozTogglePictureInPicture actor definition. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D23579

--HG--
extra : moz-landing-system : lando
2019-03-14 20:51:02 +00:00
Matthew Noorenberghe f325e844bc Bug 1474143 - Switch earlyformsubmit satchel observer to DOMFormBeforeSubmit listener. r=Felipe
Extend ActorChild for satchel's formSubmitListener in order to listen to the event.

Differential Revision: https://phabricator.services.mozilla.com/D16655

--HG--
rename : toolkit/components/satchel/formSubmitListener.js => toolkit/components/satchel/FormSubmitChild.jsm
extra : moz-landing-system : lando
2019-02-23 00:24:52 +00:00
Ciure Andrei f7412ac1f2 Backed out 10 changesets (bug 1474143) for perma failing browser_markup_events_01.js CLOSED TREE
Backed out changeset 1b5d04866585 (bug 1474143)
Backed out changeset 78bfb4dd1f6a (bug 1474143)
Backed out changeset 85ec4f1f5f60 (bug 1474143)
Backed out changeset 5c112b77e489 (bug 1474143)
Backed out changeset 5d35599598bb (bug 1474143)
Backed out changeset 9fd0d7a7946f (bug 1474143)
Backed out changeset 1a83be7a75ca (bug 1474143)
Backed out changeset 2fc9b13171d0 (bug 1474143)
Backed out changeset 3983d7b6d9ad (bug 1474143)
Backed out changeset 9fe55dd58cd8 (bug 1474143)

--HG--
rename : browser/actors/FormValidationChild.jsm => browser/actors/FormSubmitChild.jsm
rename : toolkit/components/satchel/FormSubmitChild.jsm => toolkit/components/satchel/formSubmitListener.js
2019-02-22 21:16:49 +02:00
Matthew Noorenberghe 8fcd71b197 Bug 1474143 - Switch earlyformsubmit satchel observer to DOMFormBeforeSubmit listener. r=Felipe
Extend ActorChild for satchel's formSubmitListener in order to listen to the event.

Differential Revision: https://phabricator.services.mozilla.com/D16655

--HG--
rename : toolkit/components/satchel/formSubmitListener.js => toolkit/components/satchel/FormSubmitChild.jsm
extra : moz-landing-system : lando
2019-02-22 15:13:25 +00:00
Mike Conley 52278792ca Bug 1520329 - Add messaging infrastructure for opening videos in a Picture in Picture window. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16903

--HG--
extra : moz-landing-system : lando
2019-02-12 02:34:38 +00:00
Masayuki Nakano 1895d1bfe3 Bug 1514940 - part 1: Forcibly disable new keyCode/charCode value of keypress events if the document is Confluence r=smaug,Ehsan,kmag
Old Confluence does not aware of conflated model keypress event (see UI Events
spec, https://w3c.github.io/uievents/#determine-keypress-keyCode).
Additionally, Confluence can be hosted with any domains.  Therefore, we cannot
use blacklist to disable the conflated model keypress event only on it.

This patch checks whether current or parent document is Confluence with JS
module, called KeyPressEventModelCheckerChild.  For kicking this module,
nsHTMLDocument dispatches an custom event, CheckKeyPressEventModel, when it
becomes editable only first time.  Finally, if it's a Confluence instance, the
module let PresShell know that we need to use split model keypress event in it.

Differential Revision: https://phabricator.services.mozilla.com/D17907

--HG--
extra : moz-landing-system : lando
2019-02-05 11:35:43 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
alwu 242554622e Bug 1513039 - part1 : remove caching temporary autoplay permission. r=smaug,florian
We're going to remove all autoplay temporary permission related codes, so we don't need to cache it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D14325

--HG--
extra : moz-landing-system : lando
2019-01-07 18:29:10 +00:00
Alastor Wu c64bb9ac90 Bug 1513681 - part5 : remove event 'AudibleAutoplayMediaOccurred'. r=jaws
This event is used for shield-study which has finished, so we could remove it.

Differential Revision: https://phabricator.services.mozilla.com/D14810

--HG--
extra : moz-landing-system : lando
2019-01-04 19:04:39 +00:00
Alastor Wu d861885915 Bug 1513681 - part3 : rename 'AudibleAutoplayChild' actor r=jaws
Use more proper name for actor which will handle all autoplay related events.

Differential Revision: https://phabricator.services.mozilla.com/D14796

--HG--
rename : toolkit/actors/AudibleAutoplayChild.jsm => toolkit/actors/AutoplayChild.jsm
extra : moz-landing-system : lando
2019-01-04 18:35:09 +00:00
Alastor Wu f3c146dcd4 Bug 1513681 - part2 : handle 'GloballyAutoplayBlocked' event r=jaws,daleharvey
Handle the process from receiving event to showing the block icon.

Differential Revision: https://phabricator.services.mozilla.com/D14795

--HG--
extra : moz-landing-system : lando
2019-01-04 18:33:53 +00:00
Bogdan Tara 6defca7262 Backed out 5 changesets (bug 1513681) for browser_autoplay_blocked.js failures CLOSED TREE
Backed out changeset d24ddb803761 (bug 1513681)
Backed out changeset 6f52b229d953 (bug 1513681)
Backed out changeset 79a78732c3ac (bug 1513681)
Backed out changeset d0a9422928ae (bug 1513681)
Backed out changeset 23b5a58e3bcc (bug 1513681)

--HG--
rename : toolkit/actors/AutoplayChild.jsm => toolkit/actors/AudibleAutoplayChild.jsm
2018-12-29 04:00:53 +02:00
alwu 8e9ac45c53 Bug 1513681 - part5 : remove event 'AudibleAutoplayMediaOccurred'. r=jaws
This event is used for shield-study which has finished, so we could remove it.

Differential Revision: https://phabricator.services.mozilla.com/D14810

--HG--
extra : moz-landing-system : lando
2018-12-21 19:01:10 +00:00
alwu c498537436 Bug 1513681 - part3 : rename 'AudibleAutoplayChild' actor r=jaws
Use more proper name for actor which will handle all autoplay related events.

Differential Revision: https://phabricator.services.mozilla.com/D14796

--HG--
rename : toolkit/actors/AudibleAutoplayChild.jsm => toolkit/actors/AutoplayChild.jsm
extra : moz-landing-system : lando
2018-12-21 19:00:40 +00:00
alwu efdf530254 Bug 1513681 - part2 : handle 'GloballyAutoplayBlocked' event r=jaws,daleharvey
Handle the process from receiving event to showing the block icon.

Differential Revision: https://phabricator.services.mozilla.com/D14795

--HG--
extra : moz-landing-system : lando
2018-12-28 09:12:44 +00:00
Timothy Guan-tin Chien 3913ded230 Bug 1510848 - Do not unattach UA Widget Shadow Root if the element is already re-attached to the tree r=emilio,smaug
This patch moves all UA Widget calls to helper functions in Element.cpp. The helper function AttachAndSetUAShadowRoot sets the shadow root in a runnable, so that it is in the same order of NotifyUAWidget* runnables.

Differential Revision: https://phabricator.services.mozilla.com/D13479

--HG--
extra : moz-landing-system : lando
2018-12-15 02:48:46 +00:00
alwu 4515d99b29 Bug 1493766 - part1 : notify when temporary permission changed. r=johannh
Since temporary permissions are only stored in the front-end side, we can't know whether we have
allowed page to autoplay or not without sending a request. Therefore, we want to notify the back-end
side when the temporary permissions changed.

Differential Revision: https://phabricator.services.mozilla.com/D7011

--HG--
extra : moz-landing-system : lando
2018-11-15 19:51:26 +00:00
Andreea Pavel 15aeaaff97 Backed out changeset 7005723d76c7 (bug 1497280) for mochitest and bc failures on a CLOSED TREE 2018-11-01 22:35:42 +02:00
Felipe Gomes 9627b31894 Bug 1497280 - Make the DateTimePicker Fission-aware. r=mconley
By using the API from bug 1493984 and setting allFrames=true we can establish a direct communication between the actor in the subframe and the DateTimePickerParent.

Differential Revision: https://phabricator.services.mozilla.com/D8015

--HG--
extra : moz-landing-system : lando
2018-10-31 14:53:48 +00:00
Timothy Guan-tin Chien bdfea4d8cd Bug 1483656 - Part III, Enable UA Widget on Fennec and Reftest by moving UAWidgetsChild.jsm to toolkit r=jaws
This moves UAWidgetsChild.jsm from browser to toolkit so that
Fennec and Reftest could pick it up.

Differential Revision: https://phabricator.services.mozilla.com/D5085

--HG--
rename : browser/actors/UAWidgetsChild.jsm => toolkit/actors/UAWidgetsChild.jsm
extra : moz-landing-system : lando
2018-10-03 15:49:33 +00:00
Felipe Gomes 93a0f8e0fd Bug 1490810 - Simulate Fission for browser actors by blocking them from receiving sub-frame events. r=kmag
If the pref browser.fission.simulate is true, the event dispatcher in ActorManagerChild will not dispatch events to actors that aren't associated with the same window as the event's target.

In addition, when that pref is on, the actors associated with sub-frames will have their content property bound to the correct content window, that might differ from the message manager's window (which is always related to the top level).

Then, in order to write Fission-compatible code, that specific actor will need to be declared with allFrames = true, meaning that it wants to be instantiated for every frame, and not just top-level ones

Differential Revision: https://phabricator.services.mozilla.com/D6358

--HG--
extra : moz-landing-system : lando
2018-09-26 21:46:18 +00:00
James Willcox 5692de863c Bug 1480793 - Fix Web Manifest fetching in Fennec r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D5716

--HG--
extra : moz-landing-system : lando
2018-09-12 23:09:24 +00:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
alwu 531d79c2a6 Bug 1485160 - part1 : Add AudibleAutoplayChild actor. r=mconley
The AudibleAutoplayMediaOccurredObserver which I added in bug1476701 was incorrectly removed by bug1472491, it's used to notify audible autoplay event for the shield study and we should add it back.

Differential Revision: https://phabricator.services.mozilla.com/D3930

--HG--
extra : moz-landing-system : lando
2018-08-23 19:05:18 +00:00
Kris Maglione f97cab9ee3 Bug 1472491: Part 5η - Add BrowserChild actor. r=florian f=mconley
MozReview-Commit-ID: D1d4hFGNKXj

--HG--
extra : rebase_source : 2f5eb873285824d6b190b59b93309342d66b45aa
2018-07-30 10:52:55 -07:00
Kris Maglione 56ec495c3d Bug 1472491: Part 5p - Add ExtFindChild actor. r=mikedeboer f=felipe
MozReview-Commit-ID: 3zL8iYeYAPx

--HG--
extra : rebase_source : 8d6d2f4b9776d6e66b66da7fbeba826056afe77d
2018-07-29 21:44:48 -07:00
Kris Maglione 5b2b235a9a Bug 1472491: Part 5μ - Add WebNavigationChild actor. r=mconley
MozReview-Commit-ID: 3AiCuNfMenb

--HG--
rename : toolkit/modules/WebNavigationChild.jsm => toolkit/actors/WebNavigationChild.jsm
extra : rebase_source : 085ffbe1d8cf5b51570bb2de406d2c177a6051be
2018-07-30 12:55:22 -07:00
Kris Maglione be97cc14bc Bug 1472491: Part 5λ - Add Split RemoteFinder into FinderChild and FinderParent actors. r=gijs
MozReview-Commit-ID: JAv8lh2gJoB

--HG--
rename : toolkit/modules/RemoteFinder.jsm => toolkit/actors/FinderChild.jsm
rename : toolkit/modules/RemoteFinder.jsm => toolkit/modules/FinderParent.jsm
extra : rebase_source : 08eaf28894b0cd89f082b4cf14d428fa43668988
2018-07-30 12:25:58 -07:00
Kris Maglione 2ab798f156 Bug 1472491: Part 5κ - Add ManifestMessagesChild actor. r=mconley
MozReview-Commit-ID: 20toouW9YzT

--HG--
rename : dom/ipc/ManifestMessages.jsm => dom/ipc/ManifestMessagesChild.jsm
extra : rebase_source : 204b5e01e5a2bd15a077e763e27155016c886818
2018-07-30 11:39:52 -07:00
Kris Maglione 3cdcc6d6af Bug 1472491: Part 5ζ - Add ControllersChild actor. r=mconley
MozReview-Commit-ID: 2u6ayRoHvIh

--HG--
rename : toolkit/content/browser-child.js => toolkit/actors/ControllersChild.jsm
extra : rebase_source : 46dd4b7ea9394ca0da97f35129ae4ff822d37723
2018-07-30 10:52:29 -07:00
Kris Maglione aba57b7011 Bug 1472491: Part 5ε - Add PurgeSessionHistoryChild actor. r=mconley
MozReview-Commit-ID: 7oOXuPNsPPG

--HG--
extra : rebase_source : 696b840ba75fc23ec76b6c9e217a1d3b84107871
2018-07-30 10:14:12 -07:00
Kris Maglione f66f1e4480 Bug 1472491: Part 5δ - Add UnselectedTabHoverChild actor. r=mconley
MozReview-Commit-ID: JYAYb8NshrW

--HG--
extra : rebase_source : d511fbd164e8f5e18bd826169e512b6d1092d5e7
2018-07-30 10:11:41 -07:00
Kris Maglione 4e1ac07ba3 Bug 1472491: Part 5α - Add DateTimePickerChild actor. r=mconley
MozReview-Commit-ID: EWTCdNCmE9S

--HG--
rename : toolkit/modules/DateTimePickerContent.jsm => toolkit/actors/DateTimePickerChild.jsm
extra : rebase_source : c92d504e8da81151a3937d2a2091ef07356f5df7
2018-07-29 23:39:17 -07:00
Kris Maglione aed171e1e6 Bug 1472491: Part 5z - Add WebChannelChild actor. r=markh f=mconley
MozReview-Commit-ID: 1f056kpyJW6

--HG--
rename : toolkit/modules/WebChannelContent.jsm => toolkit/actors/WebChannelChild.jsm
extra : rebase_source : b0993e4967314f50efb0acb8afb44270d6c372de
2018-07-29 23:36:12 -07:00
Kris Maglione 2771aa208c Bug 1472491: Part 5y - Add PopupBlockingChild actor. r=mconley
MozReview-Commit-ID: Bw7u8m3xY38

--HG--
rename : toolkit/modules/PopupBlocking.jsm => toolkit/actors/PopupBlockingChild.jsm
extra : rebase_source : 7c675d31c04be2eac0e37adcc9dbb2cd3766ce6a
2018-07-29 23:31:39 -07:00
Kris Maglione dbbb50d17a Bug 1472491: Part 5x - Add SelectionSourceChild actor. r=mconley
MozReview-Commit-ID: 6RioXbevgRO

--HG--
rename : toolkit/modules/SelectionSourceContent.jsm => toolkit/actors/SelectionSourceChild.jsm
extra : rebase_source : 6c0c76cbea4e203ba715a05a68241794e6c11213
2018-07-29 23:28:10 -07:00
Kris Maglione 2cb877e6e7 Bug 1472491: Part 5t - Add ThumbnailsChild actor. r=Mossop
MozReview-Commit-ID: 31V11KaJj4D

--HG--
extra : rebase_source : d0b0334a0d02ecd85fdb81c51cd42aa021f6319d
2018-07-29 22:25:48 -07:00
Kris Maglione a1bab19851 Bug 1472491: Part 5s - Add ZoomChild actor. r=mconley
MozReview-Commit-ID: 9vTa1PbTh5t

--HG--
rename : toolkit/content/browser-child.js => toolkit/actors/ZoomChild.jsm
extra : rebase_source : 68edc86e4e93304292a1d99e76d8e4258de98e8f
2018-07-29 22:18:52 -07:00
Kris Maglione f72cf1a680 Bug 1472491: Part 5r - Add PrintingChild actor. r=felipe
MozReview-Commit-ID: K3xcS5TNiQj

--HG--
rename : toolkit/modules/PrintingContent.jsm => toolkit/actors/PrintingChild.jsm
extra : rebase_source : d30675b4212f71f1f17a7ac74adbd42ad7b0e3c7
2018-07-29 22:05:14 -07:00
Kris Maglione 08e6ae3629 Bug 1472491: Part 5q - Add SelectChild actor. r=felipe
MozReview-Commit-ID: J5MAJMbblyr

--HG--
rename : toolkit/modules/SelectContentHelper.jsm => toolkit/actors/SelectChild.jsm
extra : rebase_source : 4ade8f5f0f3b68124c5f0f3cf2eae545db4b6854
2018-07-29 21:59:16 -07:00
Kris Maglione d19429b2f0 Bug 1472491: Part 5o - Add FindBarChild actor. r=gijs
MozReview-Commit-ID: IGNjeh8o91l

--HG--
rename : toolkit/content/browser-content.js => toolkit/actors/FindBarChild.jsm
rename : toolkit/modules/FindBarChild.jsm => toolkit/modules/FindBarContent.jsm
extra : rebase_source : 8937478f17235dfe078feac381b871f0b5e4a424
2018-07-29 21:38:21 -07:00
Kris Maglione 9d0fd10b85 Bug 1472491: Part 5n - Add AudioPlaybackChild actor. r=felipe
MozReview-Commit-ID: DtGNW4riHQX

--HG--
rename : toolkit/content/browser-content.js => toolkit/actors/AudioPlaybackChild.jsm
extra : rebase_source : d37eef766306f0967ac4c13b4705e32197f7d0f6
2018-07-29 21:27:32 -07:00
Kris Maglione 739cafdadd Bug 1472491: Part 4a - Add helper classes for lazily loading JS IPC actors. r=felipe
This adds the basic framework for defining IPC actors which are lazily
instantiated for the appropriate frame loaders based on DOM events, message
manager messages, and observers. Actual actors are defined in follow-up
commits.

MozReview-Commit-ID: Jb6CWWW7v3v

--HG--
extra : rebase_source : 6c465c492ef423616346d70047c4fd4b074af303
2018-08-11 15:27:12 -07:00