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

346 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 2103c3b16a Bug 1601681 - Switch recently added files with Windows line endings to Unix. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55990

--HG--
extra : moz-landing-system : lando
2019-12-11 08:12:49 +00:00
Marco Bonardo a55bf4b9c0 Bug 1600242 - Stop storing favicons having Cache-Control: no-store. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55289

--HG--
extra : moz-landing-system : lando
2019-12-04 18:20:49 +00:00
Thomas Nguyen a0b817ac65 Bug 1483631 - Restrict nested permission requests in webrtc with permission delegate r=jib
Differential Revision: https://phabricator.services.mozilla.com/D47417

--HG--
extra : moz-landing-system : lando
2019-12-04 15:39:14 +00:00
Gurzau Raul 4f21dcd081 Backed out 4 changesets (bug 1483631) for failing at browser_temporary_permissions.js on a CLOSED TREE.
Backed out changeset f5bb5f6a148f (bug 1483631)
Backed out changeset c5e562c1d590 (bug 1483631)
Backed out changeset 7ef09193a7ef (bug 1483631)
Backed out changeset a909dcbbea2b (bug 1483631)
2019-12-03 21:57:55 +02:00
Thomas Nguyen 023216a561 Bug 1483631 - Restrict nested permission requests in webrtc with permission delegate r=jib
Differential Revision: https://phabricator.services.mozilla.com/D47417

--HG--
extra : moz-landing-system : lando
2019-12-03 16:25:31 +00:00
Neil Deakin 779f56be04 Bug 1595155, support click handler which allows modifier+click in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D52642

--HG--
rename : browser/modules/ContentClick.jsm => browser/actors/ClickHandlerParent.jsm
extra : moz-landing-system : lando
2019-11-27 19:30:19 +00:00
Emma Malysz ae7be05784 Bug 1596869, rename .xul files in security/manager to .xhtml r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D54198

--HG--
rename : security/manager/pki/resources/content/certManager.xul => security/manager/pki/resources/content/certManager.xhtml
rename : security/manager/pki/resources/content/certViewer.xul => security/manager/pki/resources/content/certViewer.xhtml
rename : security/manager/pki/resources/content/changepassword.xul => security/manager/pki/resources/content/changepassword.xhtml
rename : security/manager/pki/resources/content/clientauthask.xul => security/manager/pki/resources/content/clientauthask.xhtml
rename : security/manager/pki/resources/content/deletecert.xul => security/manager/pki/resources/content/deletecert.xhtml
rename : security/manager/pki/resources/content/device_manager.xul => security/manager/pki/resources/content/device_manager.xhtml
rename : security/manager/pki/resources/content/downloadcert.xul => security/manager/pki/resources/content/downloadcert.xhtml
rename : security/manager/pki/resources/content/editcacert.xul => security/manager/pki/resources/content/editcacert.xhtml
rename : security/manager/pki/resources/content/exceptionDialog.xul => security/manager/pki/resources/content/exceptionDialog.xhtml
rename : security/manager/pki/resources/content/load_device.xul => security/manager/pki/resources/content/load_device.xhtml
rename : security/manager/pki/resources/content/protectedAuth.xul => security/manager/pki/resources/content/protectedAuth.xhtml
rename : security/manager/pki/resources/content/resetpassword.xul => security/manager/pki/resources/content/resetpassword.xhtml
rename : security/manager/pki/resources/content/setp12password.xul => security/manager/pki/resources/content/setp12password.xhtml
extra : moz-landing-system : lando
2019-11-25 19:37:02 +00:00
Mike de Boer 8f48d37dad Bug 1595076 - Add ad-count and adclick counting for DuckDuckGo and Bing SERPs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D52640

--HG--
extra : moz-landing-system : lando
2019-11-25 11:57:48 +00:00
Brindusan Cristian b8cb379a3b Backed out changeset 019a5b19d624 (bug 1595076) for bc failures on browser_bug399606.js, wr failures on reftest-wait.html and mn failures on test_execute_script.py. 2019-11-23 19:08:04 +02:00
Mike de Boer f7d5f84265 Bug 1595076 - Add ad-count and adclick counting for DuckDuckGo and Bing SERPs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D52640

--HG--
extra : moz-landing-system : lando
2019-11-23 01:12:19 +00:00
Brindusan Cristian 210f413495 Backed out changeset f90a969f785c (bug 1596869) for bc failures on browser_clientAuth_ui.js. CLOSED TREE
--HG--
rename : security/manager/pki/resources/content/certManager.xhtml => security/manager/pki/resources/content/certManager.xul
rename : security/manager/pki/resources/content/certViewer.xhtml => security/manager/pki/resources/content/certViewer.xul
rename : security/manager/pki/resources/content/changepassword.xhtml => security/manager/pki/resources/content/changepassword.xul
rename : security/manager/pki/resources/content/clientauthask.xhtml => security/manager/pki/resources/content/clientauthask.xul
rename : security/manager/pki/resources/content/deletecert.xhtml => security/manager/pki/resources/content/deletecert.xul
rename : security/manager/pki/resources/content/device_manager.xhtml => security/manager/pki/resources/content/device_manager.xul
rename : security/manager/pki/resources/content/downloadcert.xhtml => security/manager/pki/resources/content/downloadcert.xul
rename : security/manager/pki/resources/content/editcacert.xhtml => security/manager/pki/resources/content/editcacert.xul
rename : security/manager/pki/resources/content/exceptionDialog.xhtml => security/manager/pki/resources/content/exceptionDialog.xul
rename : security/manager/pki/resources/content/load_device.xhtml => security/manager/pki/resources/content/load_device.xul
rename : security/manager/pki/resources/content/protectedAuth.xhtml => security/manager/pki/resources/content/protectedAuth.xul
rename : security/manager/pki/resources/content/resetpassword.xhtml => security/manager/pki/resources/content/resetpassword.xul
rename : security/manager/pki/resources/content/setp12password.xhtml => security/manager/pki/resources/content/setp12password.xul
2019-11-23 10:45:33 +02:00
Mike Conley e819bd0638 Bug 1597787 - Send principals directly across JSWindowActors rather than serializing / deserializing them. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D53867

--HG--
extra : moz-landing-system : lando
2019-11-23 00:53:52 +00:00
Emma Malysz fff53676c8 Bug 1596869, rename .xul files in security/manager to .xhtml r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D54198

--HG--
rename : security/manager/pki/resources/content/certManager.xul => security/manager/pki/resources/content/certManager.xhtml
rename : security/manager/pki/resources/content/certViewer.xul => security/manager/pki/resources/content/certViewer.xhtml
rename : security/manager/pki/resources/content/changepassword.xul => security/manager/pki/resources/content/changepassword.xhtml
rename : security/manager/pki/resources/content/clientauthask.xul => security/manager/pki/resources/content/clientauthask.xhtml
rename : security/manager/pki/resources/content/deletecert.xul => security/manager/pki/resources/content/deletecert.xhtml
rename : security/manager/pki/resources/content/device_manager.xul => security/manager/pki/resources/content/device_manager.xhtml
rename : security/manager/pki/resources/content/downloadcert.xul => security/manager/pki/resources/content/downloadcert.xhtml
rename : security/manager/pki/resources/content/editcacert.xul => security/manager/pki/resources/content/editcacert.xhtml
rename : security/manager/pki/resources/content/exceptionDialog.xul => security/manager/pki/resources/content/exceptionDialog.xhtml
rename : security/manager/pki/resources/content/load_device.xul => security/manager/pki/resources/content/load_device.xhtml
rename : security/manager/pki/resources/content/protectedAuth.xul => security/manager/pki/resources/content/protectedAuth.xhtml
rename : security/manager/pki/resources/content/resetpassword.xul => security/manager/pki/resources/content/resetpassword.xhtml
rename : security/manager/pki/resources/content/setp12password.xul => security/manager/pki/resources/content/setp12password.xhtml
extra : moz-landing-system : lando
2019-11-22 21:17:33 +00:00
Cosmin Sabou c5ffab81d9 Backed out changeset 4919d2efbdd6 (bug 1595076) for causing several reftest failures. CLOSED TREE 2019-11-23 02:25:17 +02:00
Cosmin Sabou b1bde23dbf Backed out changeset e9d1379c65f5 (bug 1585904) for browser-chrome failures on browser_pageinfo_security.
--HG--
extra : histedit_source : 70a6520faf1fe6c83ae6cba3781d534cc3ae81b6
2019-11-23 01:25:02 +02:00
Carolina f652812231 Bug 1585904 - Avoids opening the same certificate in multiple tabs each time.r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D50110

--HG--
extra : moz-landing-system : lando
2019-11-22 17:40:18 +00:00
Mike de Boer 7adc7cdede Bug 1595076 - Add ad-count and adclick counting for DuckDuckGo and Bing SERPs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D52640

--HG--
extra : moz-landing-system : lando
2019-11-22 17:06:42 +00:00
Tim Nguyen c466b25172 Bug 1597844 - Fix positioning of form validation and date/time input popups. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D53902

--HG--
extra : moz-landing-system : lando
2019-11-22 00:13:15 +00:00
Gabriele Svelto 3233e4e9ef Bug 1598005 - Remove the useless browserDumpID field from the plug-in crash events r=froydnj,baku
Differential Revision: https://phabricator.services.mozilla.com/D53977

--HG--
extra : moz-landing-system : lando
2019-11-21 12:29:58 +00:00
James Jahns 0a9456f76c Bug 1595143 - Port LightweightThemeChild to JSWindowActors r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D52555

--HG--
extra : moz-landing-system : lando
2019-11-18 22:51:18 +00:00
Emilio Cobos Álvarez 3705973a55 Bug 1596800 - Remove document.getBindingParent usage from PluginChild.jsm. r=mconley
It wants to get the containing shadow host of the target to get to the plugin.
Do that explicitly.

Depends on D53337

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

--HG--
extra : moz-landing-system : lando
2019-11-18 19:06:50 +00:00
Emilio Cobos Álvarez 17ad8a50d1 Bug 1596800 - Remove unneeded forced layout flush in PluginChild.jsm. r=mconley
We don't need layout flushes to attach XBL bindings anymore, as there are no XBL
bindings. This is drive-by.

Depends on D53336

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

--HG--
extra : moz-landing-system : lando
2019-11-18 19:06:50 +00:00
Gijs Kruitbosch 25df4deb25 Bug 1595647 - fix flash permissions so they get set for the toplevel page's principal instead of the subframe, r=mconley
This is the historical behaviour here (cf. bug 1305232, bug 853855). I accidentally
broke it when I refactored this code for fission. This restores the "old" behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 18:56:08 +00:00
James Jahns 8d5dd26b39 Bug 1591474 - Port BlockedSite to JSWindowActors r=Gijs
These actors appear in about:blocked sites.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 12:06:23 +00:00
Dorel Luca ebebe87aca Backed out changeset c4ff245706ab (bug 1595155) for Android mochitest failures on mobile/android/components/extensions/test/mochitest/test_ext_webNavigation_onCommitted.html. CLOSED TREE
--HG--
rename : browser/actors/ClickHandlerParent.jsm => browser/modules/ContentClick.jsm
2019-11-14 19:14:27 +02:00
Neil Deakin 785a88d297 Bug 1595155, support click handler which allows modifier+click in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D52642

--HG--
rename : browser/modules/ContentClick.jsm => browser/actors/ClickHandlerParent.jsm
extra : moz-landing-system : lando
2019-11-14 00:47:48 +00:00
Neil Deakin 6c0cc9783c Bug 1533951, move network error message listeners to NetErrorParent.jsm, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D51626

--HG--
extra : moz-landing-system : lando
2019-11-12 20:00:41 +00:00
Neil Deakin 39a97c89d5 Bug 1533951, base NetError handler on JSWindowActor, move message listeners out of browser.js and into JSWindowActorParent, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D51624

--HG--
extra : moz-landing-system : lando
2019-11-12 20:00:32 +00:00
Timothy Nikkel ad3a4e8491 Bug 1595370. Check styleMenu in PageStyleParent.jsm before using it. r=Gijs
This is undefined during reftests and emits errors.

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

--HG--
extra : moz-landing-system : lando
2019-11-11 00:19:03 +00:00
Abdoulaye Oumar Ly 7742d38850 Bug 1590138 - Handle the case where the actor is already destroyed during fullscreen exit so that chrome UI is fully restored. r=smaug,NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D51339

--HG--
extra : moz-landing-system : lando
2019-11-05 23:29:26 +00:00
Julian Descottes cf665518e8 Bug 1591140 - Allow chrome privileged documents to preventDefault contextmenu events regardless of dom.event.contextmenu.enabled r=gl,nika,mconley
@gl can you take a look at the DevTools test added here?
@nika @mconley I used this.browsingContext.docShell.isContent here to rule out chrome-privileged documents. Do you know if there is better way to check if the current document is chrome-privileged or not?

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

--HG--
extra : moz-landing-system : lando
2019-11-04 08:20:02 +00:00
Neil Deakin d12fb42226 Bug 1592157, convert LinkHandlerChild.jsm to JSWindowActor to support fission, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51026

--HG--
extra : moz-landing-system : lando
2019-11-04 14:48:04 +00:00
Mike Conley 62940db419 Bug 1592729 - Hide the Picture-in-Picture context menu item for MediaStream videos. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51157

--HG--
extra : moz-landing-system : lando
2019-10-31 14:36:30 +00:00
Neil Deakin 0d839af744 Bug 1590752, convert ContentMetaHandler.jsm into JSWindowActors, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50584

--HG--
rename : browser/modules/ContentMetaHandler.jsm => browser/actors/ContentMetaChild.jsm
extra : moz-landing-system : lando
2019-10-31 10:11:40 +00:00
layely 6aafff5d69 Bug 1588386 - Restore toolbars when fullscreen mode exits due to a tab close. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49368

--HG--
extra : moz-landing-system : lando
2019-10-30 16:15:49 +00:00
Julian Descottes c72c1dcdcc Bug 1588773 - Use ContentDOMReference for context menu Inspect Element r=mconley,pbro
Depends on D49941

Using ContentDOMReference instead of creating an array of selectors makes inspect element more stable in case the page is modified between after the contextmenu opens.
It will also make the feature easier to make fission compatible

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

--HG--
extra : moz-landing-system : lando
2019-10-28 09:10:29 +00:00
prathiksha 770ea8cdd6 Bug 1563355 - Handle exceptionDialogButton click on certerror pages in AboutNetErrorhandler.jsm. r=johannh
Depends on D46438

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:39:16 +00:00
prathiksha f23a25ca16 Bug 1563355 - Remove AboutNetErrorResetPreferences and use RPM in aboutNetError.js to communicate with AboutNetErrorHandler. r=johannh
Depends on D46154

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:39:01 +00:00
prathiksha f70c312dac Bug 1563355 - Remove AboutNetErrorSetAutomatic and use RPM in aboutNetError.js to communicate with AboutNetErrorHandler.jsm. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46154

--HG--
extra : moz-landing-system : lando
2019-10-28 20:38:45 +00:00
James Jahns 8a6c8f36ef Bug 1576918 - Port PageStyle actor to JSWindowActors for Fission compatibility. r=mconley,Gijs
These actors handle implementation of alternative stylesheets functionality.
 r=mconley,Gijs

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

--HG--
extra : moz-landing-system : lando
2019-10-27 18:08:02 +00:00
Csoregi Natalia 7a9af1e313 Backed out changeset 530bcc00246e (bug 1576918) for browser-chrome failures on browser_dismissFooter.js. CLOSED TREE 2019-10-24 23:51:59 +03:00
James Jahns cb5acc50ed Bug 1576918 - Port PageStyle actor, which handles alternative stylesheets, to JSWindowActors for Fission compatibility. r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D46861

--HG--
extra : moz-landing-system : lando
2019-10-24 19:53:42 +00:00
Neil Deakin 7cbc074da1 Bug 1567175, rename LoginManagerContent to LoginManagerChild, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47824

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginManagerChild.jsm
extra : moz-landing-system : lando
2019-10-21 18:17:50 +00:00
Neil Deakin 3302428083 Bug 1567175, make LoginManagerContent and LoginManagerParent JS classes,r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47823

--HG--
extra : moz-landing-system : lando
2019-10-21 18:17:43 +00:00
thomasmo fe82b4a4db Bug 1587521 - Enable FullScreen in FxR for Desktop r=mconley,Gijs
Bug 1587521 - Enable FullScreen in FxR for Desktop

This change enables Fullscreen functionality in the UI for Firefox Reality for Desktop. On Fullscreen, the window (rather than the desktop) is taken over, and it is up to the host to render the contents as fullscreen.

To mitigate the impact on Desktop's implementation, browser-fullScreenAndPointerLock.js is forked and removes the dependencies on browser.js. These two files will be rationalized at a later time.

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

--HG--
rename : browser/base/content/browser-fullScreenAndPointerLock.js => browser/fxr/content/fxr-fullScreen.js
extra : moz-landing-system : lando
2019-10-18 00:15:08 +00:00
Abdoulaye Oumar Ly 85311b3039 Bug 1588883 - Restore fullscreen transition message. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D49373

--HG--
extra : moz-landing-system : lando
2019-10-17 15:25:51 +00:00
Abdoulaye Oumar Ly c558bed276 Bug 1505916 - [Fission] Part 2: Make the fullscreen code work with oop iframes. r=NeilDeakin,smaug
e10s scenario:
1. An DOM element request fulscreen mode.
2. The request is redirected to the parent.
3. Parent enters fullscreen.
4. Parent notifies child that it has finished entering fullscreen.
5. Child goes fullscreen.
6. Then, child notifies parent that it has finished transitioning to fullscreen.
4. Finally, parent notify observers that fullscreen paint has finished.

Let's go into the details of how step 5 works in the above scenario.
5.a The element that made the request is set to fullscreen.
5.b Then, the document where that element lives is set to fullscreen as well as all of its ancestors until we reach the top level document. (see Document::ApplyFulscreen method)

Now in Fission world, we may have a request comming from an oop iframe. And it that case since we won't have  to ancestor documents living in different content process(es), we will first notiy those content processes (one after another from bottom to top) to go fullscreen. Once they all do, the content process where the request originated will be told to enter fullscreen.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 14:30:28 +00:00
Abdoulaye Oumar Ly a0898dc653 Bug 1505916 - [Fission] Part 1: Make the fullscreen code work with JSWindowActors. r=NeilDeakin,dao,smaug
At this point, fullscreen is not regressed but it doesn't work with oop iframes yet.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 14:30:28 +00:00
Sebastian Hengst 0af4fd28ee Bug 1587836 - update permissions related Bugzilla components stored in moz.build files. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48869

--HG--
extra : moz-landing-system : lando
2019-10-11 08:44:00 +00:00
Nika Layzell c8a8f0a350 Bug 1581925 - Part 3: Remove ContextMenuSpecialProcessChild.jsm, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D48093

--HG--
extra : moz-landing-system : lando
2019-10-07 19:35:06 +00:00
Gijs Kruitbosch 654bb994b4 Bug 1581664 - use unlimited session length permission for 'Allow Now' for plugins, r=mconley,handyman
Differential Revision: https://phabricator.services.mozilla.com/D46938

--HG--
extra : moz-landing-system : lando
2019-10-01 22:23:17 +00:00
Neil Deakin f2fcce14e4 Bug 1553384, update letterboxing to be fission compatible now that findbar isn't using the message manager. Add a findbar open/close test for letterboxing, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D45757

--HG--
extra : moz-landing-system : lando
2019-09-18 09:33:52 +00:00
Timothy Nikkel 0b5b344a76 Bug 1581687. Check window.PopupNotifications exists before using it in PluginParent::showClickToPlayNotification. r=Gijs
The reftest harness hits this with tests with the test plugin.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 09:31:24 +00:00
Jonathan Kingston 6c5244b7a9 Bug 1579444 - Remove offline storage usage prompt r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46075

--HG--
extra : moz-landing-system : lando
2019-09-17 16:21:45 +00:00
Bogdan Tara 7fd9d0c40e Backed out changeset d6a50efcae08 (bug 1579444) for ES lint failure on OfflineAppsChild.jsm CLOSED TREE 2019-09-17 18:42:36 +03:00
Jonathan Kingston d2f8bed096 Bug 1579444 - Remove offline storage usage prompt r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46075

--HG--
extra : moz-landing-system : lando
2019-09-17 13:31:40 +00:00
prathiksha 474ef9a0f2 Bug 1561443 - Move _getErrorMessageFromCode from NetErrorChild.jsm to aboutNetError.js. r=fluent-reviewers,flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D36542

--HG--
extra : moz-landing-system : lando
2019-09-17 09:49:59 +00:00
monikamaheshwari 9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Neil Deakin c3bcfee4c1 Bug 1580506, fix incorrect pointerlock message names, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45577

MANUAL PUSH: re-push with eslint bustage fix

--HG--
extra : rebase_source : 88e90063f4ae11170c7151f21deabe6675971323
extra : amend_source : 5895721851fe48ce4f57f6f33838b5b1885fee3b
extra : source : f779d14e3ab8bb8b31a29601e9391775babbc2da
2019-09-12 12:08:41 +00:00
Razvan Maries 3e9327e5b9 Backed out changeset f779d14e3ab8 (bug 1580506) for ES Lint failure on browser_pointerlock_warning.js. CLOSED TREE 2019-09-12 16:02:04 +03:00
Neil Deakin f00a06829c Bug 1580506, fix incorrect pointerlock message names, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45577

--HG--
extra : moz-landing-system : lando
2019-09-12 12:08:41 +00:00
Paul Zuehlcke 00119452fc Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-10 10:57:07 +00:00
prathiksha 2a39a566d7 Bug 1553342 - Have Browser:CertExceptionError message exchanges happen over RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34581

--HG--
extra : moz-landing-system : lando
2019-09-05 20:04:03 +00:00
Coroiu Cristina 9683a17a37 Backed out changeset d2867a062f45 (bug 1574480) for browser-chrome failures at browser/base/content/test/general/browser_offlineQuotaNotification.js on a CLOSED TREE 2019-09-05 18:38:42 +03:00
Paul Zuehlcke 99bfbf1328 Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:55 +00:00
Emma Malysz 392fe89b3a Bug 1569738, make PageInfo fission compatible r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D42978

--HG--
extra : moz-landing-system : lando
2019-08-29 20:31:19 +00:00
Thomas Nguyen c175f3d626 Bug 1576347 - Correct referrerInfo when saving media and add a test of "Go To Download Page" button r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D43749

--HG--
extra : moz-landing-system : lando
2019-08-30 18:38:38 +00:00
Andreas Farre 6e42fb98f8 Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
Differential Revision: https://phabricator.services.mozilla.com/D40937

--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
Abdoulaye O. Ly 2071196eb3 Bug 1571080 - [Fission] Port form validation to JSWindowActor. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D40483

--HG--
rename : browser/modules/FormValidationHandler.jsm => browser/actors/FormValidationParent.jsm
extra : moz-landing-system : lando
2019-08-19 18:20:19 +00:00
Jared Wein 776e7c17fb Bug 1571567 - Fix no-fallthrough errors in /browser. r=MattN,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D40745

--HG--
extra : moz-landing-system : lando
2019-08-08 15:18:49 +00:00
Bogdan Tara 844afcfb06 Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein bfdcad7ada Bug 1571567 - Fix no-fallthrough errors in /browser. r=MattN,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D40745

--HG--
extra : moz-landing-system : lando
2019-08-08 01:38:50 +00:00
Mike Conley b0452cabd0 Bug 1555711 - Port RemotePrompt to a JS Window Actor to be Fission-compatible. r=NeilDeakin,layely
Differential Revision: https://phabricator.services.mozilla.com/D38189

--HG--
rename : browser/modules/RemotePrompt.jsm => browser/actors/PromptParent.jsm
extra : moz-landing-system : lando
2019-07-31 15:32:15 +00:00
Boris Zbarsky c411601264 Bug 1568884. Remove unnecessary QIs to nsIObjectLoadingContent. r=mossop
They're no-ops with Web IDL bindings.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 15:27:39 +00:00
Gijs Kruitbosch fffc7f0c58 Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley
At a high level, this change does the following:
- move the pluginchild actor to be a JSWindowActorChild
- move the parent handling from browser-plugins into a JSWindowActorParent
- move the crash handling from ContentCrashHandlers.jsm to the parent actor,
  using a `PluginManager` object. It needs to talk to the actors (and vice
  versa), so this seemed a better fit than spreading actor implementation
  details to other JSMs.
- switch to using plugin IDs to identify plugins cross-process, instead of
  combinations of names or other properties of the plugin tag. As part of that,
  ensured plugin IDs are unique between "fake" plugins and the other ones.
- drop support for having a notification for more than 1 plugin. We only support
  Flash, in practice, so there didn't seem to be much point in the added
  complexity of trying to support more than 1 thing.

Some notes:
- the previous implementation mixes runIDs (for NPAPI plugin process "runs")
  and GMP pluginIDs when doing crashreporting. AFAICT there is no guarantee
  these don't conflict, so I've split them out to avoid issues. There's a
  pluginCrashID object I pass around instead that has either a runID or
  pluginID. Happy to rename some more for clarity.
- the previous implementation used `pluginInfo` and `plugin` for a bunch of
  different types of variables. I've tried to be consistent, where:
  * `pluginElement` is a DOM element for a plugin
  * `activationInfo` is a JS object used to track click to play state for a plugin
  * `plugin` is a plugintag as returned by the pluginhost service
  * `pluginCrashID` is an identifier for a crashed plugin (see previous point).
- I'm still using broadcastAsyncMessage to tell the content processes about
  gmp plugin crashes and plugin crash submission updates, because there's no
  guarantee the actors are instantiated (for gmp plugins) nor can the parent
  easily find out which actors to talk to (for either gmp or npapi plugins).
  Open to suggestions there, too. I think our best bet might be moving that to
  IPDL-based IPC within the GMP code, but that feels like a separate bug.

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

--HG--
rename : browser/base/content/browser-plugins.js => browser/actors/PluginParent.jsm
extra : moz-landing-system : lando
2019-07-23 22:04:40 +00:00
Julian Descottes 05ed6b64d3 Bug 1486717 - Do not emit contextmenu from parentprocess if target is the RDM iframe r=mconley,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D37691

--HG--
extra : moz-landing-system : lando
2019-07-18 16:46:59 +00:00
Thomas Nguyen b0fa7cedfe Bug 1554947 - Update saveURL to use referrerInfo class instead of referrer and referrerr policy r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D33939

--HG--
extra : moz-landing-system : lando
2019-07-16 17:59:28 +00:00
Hamzah 8e1207721c Bug 1510351 - Remove unused code in PluginChild.jsm r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D36524

--HG--
extra : moz-landing-system : lando
2019-07-11 15:12:26 +00:00
Luca Greco b41031dd54 Bug 1561970 - BrowserTabParent should ignore browser elements related to non-tab extension pages. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37051

--HG--
extra : moz-landing-system : lando
2019-07-09 20:58:51 +00:00
Victor Porof 55d8d8e0e0 Bug 1561435 - Format browser/actors/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 4aa9ae9a72e81f48229df25173d42d52490d2f5b
2019-07-05 09:46:28 +02:00
Mike Conley d38b3552f2 Bug 1560590 - Add Telemetry for Picture-in-Picture opening and closing mechanisms. data-review=chutten,r=JSON_voorhees
Depends on D36358

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

--HG--
extra : moz-landing-system : lando
2019-07-02 18:08:16 +00:00
Razvan Maries 95ce0aa385 Backed out changeset 4b8c3e09e73f (bug 1510351) for ES Lint failure. CLOSED TREE 2019-07-02 20:45:03 +03:00
Hamzah c7340ec0c3 Bug 1510351 - Remove unused code in PluginChild.jsm r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D36524

--HG--
extra : moz-landing-system : lando
2019-07-02 17:23:30 +00:00
prathiksha 82a4475a6a Bug 1555438 - Remove getDetailedCertErrorInfo from NetErrorChild.jsm. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33065

--HG--
extra : moz-landing-system : lando
2019-06-26 20:24:05 +00:00
Johann Hofmann 926df091cf Bug 1555627 - Set a learn more link on net error pages. r=prathiksha
Bug 1284835 removed the hard-coded learn more link on cert and net error pages, which worked
for cert error pages because they explicitly set their own learn more links, but net error
pages were relying on the default href to be set. This wasn't revealed until bug 1530348
made about:neterror part of the new error pages.

The solution is simply to explicitly set the correct learn more link to net error pages.

Note that in the case of PR_END_OF_FILE errors, we were not previously showing a "learn more"
link. That was not intentional, as far as I can tell, but was caused by the bug fixed in bug 1477875.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 23:26:43 +00:00
Mike Conley 6a18fcd209 Bug 1558337 - Add a workaround for RDM for ContextMenuParent.jsm to make context menus work properly. r=NeilDeakin
This workaround hands the top-level browser to nsContextMenu rather than the
mozbrowser in the RDM case. We need to do that since RDM does a lot of work
to make the inner mozbrowser _seem_ like the top-level browser, including
proxying messages from that top-most browser to the underlying mozbrowser.

This workaround makes us consistent with that model, and will have to do until
we can get bug 1559456 fixed.

Depends on D35077

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

--HG--
extra : moz-landing-system : lando
2019-06-18 21:12:01 +00:00
Mike Conley c15ee2802a Bug 1558506 - Don't preventDefault the contextmenu event in ContextMenuChild.jsm. r=NeilDeakin
In the content process case, preventing default stops the context menu event from being dispatched
within remote iframes, which is what causes bug 1558506.

In the parent process case, preventing default stops the nsXULPopupListener from opening the context
menu for us when we don't want ContextMenuParent to handle it, which we don't want to do.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 21:13:02 +00:00
prathiksha b901cf9927 Bug 1552333 - Move onCertErrorDetails from NetErrorChild.jsm to aboutNetError.js. r=johannh,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D31901

--HG--
extra : moz-landing-system : lando
2019-06-18 03:54:21 +00:00
Brindusan Cristian a2461d871d Backed out changeset 3876241cc1ec (bug 1558506) for mochitest failrues at test_contextmenu_list.xul. CLOSED TREE 2019-06-13 22:52:41 +03:00
Mike Conley 350ce5bb67 Bug 1558506 - Don't send a message for context menus when we know we don't want to open one. r=NeilDeakin
This fixes Bug 1558506 by making it so that the parent process ignores the context menu event
when right-clicking on the remote <browser> hosting the Add-on Options page. Before, we were
handling the event, stopping it from propagating and preventDefault'ing it, and then sending
a message to the parent that ultimately did nothing (since we knew that we didn't want to
display the context menu). Stopping propagation and preventDefault'ing meant that the event
was never fired in the Extension process for the options page.

With the parent process now returning early in the event that it knows that it doesn't want
to be the one to open the context menu, the underlying ContextMenuSpecialProcessChild can
handle the contextmenu event in the extension process, and do the right thing.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 18:23:41 +00:00
Ehsan Akhgari fc40494b9c Bug 1557887 - Part 5: Pass a storage principal argument through the browser loadURI()/addTab() APIs; r=baku,mconley
Differential Revision: https://phabricator.services.mozilla.com/D34459

--HG--
extra : moz-landing-system : lando
2019-06-12 23:05:36 +00:00
Gurzau Raul 227f5329f7 Merge inbound to mozilla-central. a=merge 2019-06-12 00:34:32 +03:00
Neil Deakin e5fb1d5934 Bug 1533948, change BrowserTabChild to inherit from JSWindowActor, r=mconley
--HG--
extra : rebase_source : 5e88e30ac09c15e6747f6ef1019e9b27a793a898
2019-06-11 09:05:33 -04:00
Boris Zbarsky 9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Mike Conley d622bd6c52 Bug 1505909 - Make basic context menu actions Fission-compatible. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32876

--HG--
extra : moz-landing-system : lando
2019-06-08 01:09:46 +00:00
Mike Conley 638dd8fb19 Bug 1505909 - Stop sending a CPOW for the target element for context menu messages. r=MattN
This introduces a new toolkit module, ContentDOMReference, which can generate identifiers
for DOM elements that can be safely passed across the process boundary without having to
use the CPOW infrastructure.

The Password Manager code seemed to be the only thing using the original CPOW, so this
has been updated to use the ContentDOMReference identifier instead.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 01:09:29 +00:00
Mike Conley 42b822a5ef Bug 1505909 - Merge remote and non-remote context menu handlers. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32757

--HG--
extra : moz-landing-system : lando
2019-06-08 01:09:10 +00:00
Noemi Erli ea35f4b13b Backed out 6 changesets (bug 1505909) for failures in browser_ext_webNavigation_onCreatedNavigationTarget_contextmenu.js CLOSED TREE
Backed out changeset 57336967a6c7 (bug 1505909)
Backed out changeset 8adcacadd689 (bug 1505909)
Backed out changeset bcca6bb913ef (bug 1505909)
Backed out changeset afc11a5ebb6d (bug 1505909)
Backed out changeset 40f0a56ed3af (bug 1505909)
Backed out changeset 3e31f9726798 (bug 1505909)
2019-06-07 19:19:14 +03:00
Mike Conley 6d0f158a7d Bug 1505909 - Make basic context menu actions Fission-compatible. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32876

--HG--
extra : moz-landing-system : lando
2019-06-07 14:28:59 +00:00
Mike Conley cf5863f79c Bug 1505909 - Stop sending a CPOW for the target element for context menu messages. r=MattN
This introduces a new toolkit module, ContentDOMReference, which can generate identifiers
for DOM elements that can be safely passed across the process boundary without having to
use the CPOW infrastructure.

The Password Manager code seemed to be the only thing using the original CPOW, so this
has been updated to use the ContentDOMReference identifier instead.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 14:28:47 +00:00
Mike Conley cef09f3647 Bug 1505909 - Merge remote and non-remote context menu handlers. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32757

--HG--
extra : moz-landing-system : lando
2019-06-07 14:28:33 +00:00
Bogdan Tara 4da63aeb53 Backed out 6 changesets (bug 1505909) for bc failures complaining about WebNavigationChild and browser_e10s_about_page_triggeringprincipal.js CLOSED TREE
Backed out changeset 56449fd37aee (bug 1505909)
Backed out changeset 3ff09b79821c (bug 1505909)
Backed out changeset a1a2a9efe22f (bug 1505909)
Backed out changeset 8aeb77291207 (bug 1505909)
Backed out changeset 4aa17e28ee54 (bug 1505909)
Backed out changeset dbe6803d979e (bug 1505909)
2019-06-07 06:15:16 +03:00
Mike Conley 261632c77d Bug 1505909 - Make basic context menu actions Fission-compatible. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32876

--HG--
extra : moz-landing-system : lando
2019-06-06 20:32:50 +00:00
Mike Conley 3d1ba6b08c Bug 1505909 - Stop sending a CPOW for the target element for context menu messages. r=MattN
This introduces a new toolkit module, ContentDOMReference, which can generate identifiers
for DOM elements that can be safely passed across the process boundary without having to
use the CPOW infrastructure.

The Password Manager code seemed to be the only thing using the original CPOW, so this
has been updated to use the ContentDOMReference identifier instead.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:32:30 +00:00
Mike Conley 014fa7a924 Bug 1505909 - Merge remote and non-remote context menu handlers. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D32757

--HG--
extra : moz-landing-system : lando
2019-06-06 20:32:11 +00:00
Thomas Nguyen 01ff0bf93f Bug 1534681 Use ReferrerInfo class in document r=ckerschb,baku,Gijs
Also, in many place, we use document uri as referrer. It is not right
for the case srdoc iframe. We should use the last non-srdoc parent
document's uri

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

--HG--
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-data.html
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html
extra : moz-landing-system : lando
2019-06-06 07:23:37 +00:00
prathiksha 325e222d30 Bug 1549561 - Move _setTechDetails from NetErrorChild.jsm to aboutNetError.js. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D30852

--HG--
extra : moz-landing-system : lando
2019-05-30 06:43:14 +00:00
Liang-Heng Chen 4c57b29505 Bug 1330467 - part 11. Use principal for permissions in webrtc UI; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D19932

--HG--
extra : moz-landing-system : lando
2019-05-26 11:23:13 +00:00
Tom Ritter e06d958abe Bug 1546832 - Adjust letterboxing to take the FindBar and Devtools into account r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D31639

--HG--
extra : moz-landing-system : lando
2019-05-24 07:53:11 +00:00
Christoph Kerschbaumer 30b618ff6e Bug 965637: Move CSP from Principal into Client, part 3: frontend changes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27656

--HG--
extra : moz-landing-system : lando
2019-05-21 23:15:08 +00:00
Johann Hofmann efaa2a219e Bug 1550209 - Clean up remnants of old clock skew error code in NetErrorChild.jsm. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D30432

--HG--
extra : moz-landing-system : lando
2019-05-15 17:29:35 +00:00
Johann Hofmann 94bea848e4 Bug 1545743 - Don't use validity.not{After,Before}LocalTime for parsing date information in NetErrorChild.jsm. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D30431

--HG--
extra : moz-landing-system : lando
2019-05-13 20:18:07 +00:00
Johann Hofmann 3736102bef Bug 1547695 - De-dupe #errorTryAgain on about:neterror/certerror. r=prathiksha
We were using the same ID on two elements, which kind of messed up things everywhere
our code reasonably expected only one element of the kind to exist. We just use a
class name now.

This also cleans up #advancedPanelErrorTryAgain which worked around this issue
by using a different ID.

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

--HG--
rename : browser/base/content/test/general/browser_bug435325.js => browser/base/content/test/about/browser_bug435325.js
extra : moz-landing-system : lando
2019-05-13 19:38:03 +00:00
prathiksha 04f8eeac8f Bug 1544610 - Part 1 - Have certerror captive portal message exchanges happen over RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D28539

--HG--
extra : moz-landing-system : lando
2019-05-03 23:30:35 +00:00
monikamaheshwari bb5ca39415 Bug 1530335 Use the same date/time format everywhere on cert error pages r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27875

--HG--
extra : moz-landing-system : lando
2019-05-06 06:13:58 +00:00
Mike Conley bff8e0ac63 Bug 1533955 - Show some UI to indicate that a subframe has crashed. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D29238

--HG--
extra : moz-landing-system : lando
2019-05-01 20:05:24 +00:00
Dan Minor 4d0f83f387 Bug 1497559 - Remove Application from mediaCaptureWindowState; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D28093

--HG--
extra : moz-landing-system : lando
2019-04-30 15:06:23 +00:00
Cosmin Sabou 6128796e78 Backed out changeset 348e15018884 (bug 1530335) for turning bug 1540336 into permafail.
--HG--
extra : amend_source : 9177f13fa73fe36345cd82bc876b946649dd2e66
2019-04-26 21:20:55 +03:00
monikamaheshwari 1750bef8c2 Bug 1530335 Use the same date/time format everywhere on cert error pages r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27875

--HG--
extra : moz-landing-system : lando
2019-04-26 15:21:34 +00:00
Ryan Hunt d6509bb237 Bug 1534395 - Rename TabChild to BrowserChild. r=nika
This commit renames TabChild to BrowserChild.

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

--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Ryan Hunt e9e7d608be Bug 1534395 - Rename nsITabChild to nsIBrowserChild. r=nika,mconley
Similarly to nsITabParent, TabChild is exposed to frontend code via nsITabChild. It's not clear what the future of this interface will be, but for now we can just rename it to nsIBrowserChild.

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

--HG--
rename : dom/interfaces/base/nsITabChild.idl => dom/interfaces/base/nsIBrowserChild.idl
extra : rebase_source : a6c42a661e35b19e46c60f6f6a6f3dab64c0a1bc
extra : histedit_source : 1eb475bd840bf37a3f86294685c9b3c250684e79
2019-04-09 18:15:02 -05:00
Ian Moody be1cc378ed Bug 1379466 - Make editor listen for auxclick mouse events. r=smaug,masayuki
Editable elements will no longer get click events for non-primary mouse buttons
since they are being unshipped from the web in favour of auxclick events.
Listen for auxclick as well so middle-click paste still works.
Don't stop propagation after middle-click paste, instead ignore clicks on
contenteditable elements in ClickHandlerChild.
Update test_middle_click_paste.html for the new behaviour.

Also remove the mNoContentDispatch overrides in HTMLInputElement and
HTMLTextAreaElement that were needed for middle-pasting.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 12:57:36 +00:00
Ian Moody 1cabd68a41 Bug 1379466 - Use auxclick event to trigger new tab on middle click. r=smaug
So it is still preventDefault()able once non-primary clicks aren't web visible.

Don't let browser.js' contentAreaClick handle any non-primary clicks.
ClickHandlerChild.jsm handles them first anyway.  Can probably rip it out
entirely in another bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 12:57:36 +00:00
Johann Hofmann cdd6d741fd Bug 1536454 - Part 1 - Add userHadInteractedWithDocument and documentDOMContentLoadedTimestamp attributes to nsIContentPermissionPrompt. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26942

--HG--
extra : moz-landing-system : lando
2019-04-18 13:43:05 +00:00
Syeda Asra Arshia Qadri aaa3bfa63b Bug 1477875: _getErrorMessageFromCode in NetErrorContent.jsm doesn't handle e.g. NSPR errors well. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27331

--HG--
extra : moz-landing-system : lando
2019-04-16 20:40:27 +00:00
Thomas Nguyen 3c8351815e Bug 1539408 Pass referrerInfo to gContextMenuContentData in non-remote r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D25419

--HG--
extra : moz-landing-system : lando
2019-04-02 08:53:28 +00:00
Paul Zuehlcke 7e178a2c6f Bug 1540685 - Fixed duplicate definition of URL getter. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D25606

--HG--
extra : moz-landing-system : lando
2019-04-01 13:39:04 +00:00
Tom Schuster 7ad50e3460 Bug 1540396 - Remove Array.slice and Array.map from PageStyleChild.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25543

--HG--
extra : moz-landing-system : lando
2019-04-01 18:02:16 +00:00
Johann Hofmann 204f870fd6 Bug 1530348 - Unfork aboutNetError.{xhtml,css}. r=nhnt11
The larger changesets in this patch are simply moving code from one file into the other with hg mv.

A short summary of the changes:

- I removed the forked redirection from AboutRedirector.cpp
- I deleted the original aboutNetError.xhtml and aboutNetError.css files
  and moved aboutNetError-new.xhtml and aboutNetError-new.css in their place instead.
- I removed the browser.security.newcerterrorpage.enabled pref and all its usages.
- I removed some localization strings and resources that went unused because of the above changes.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 09:33:58 +00:00
Christian Frey ab47477977 Bug 1523734 - Migrate about:blocked to Fluent r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23611

--HG--
extra : moz-landing-system : lando
2019-03-28 17:08:34 +00:00
Oana Pop Rus 47e94b5d6e Merge inbound to mozilla-central. a=merge 2019-03-28 12:11:35 +02:00
Carolina Jimenez Gomez 6db642bc0c Bug 1535786 - Fix the missing current date. r=johannh
The solution is to get which of all the errors is being shown in the web page, we can know that resting msg.data.code with the bases and getting which is the name of the parent div where we need to put the date on its child with id="wrongSystemTime_systemDate2".

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

--HG--
extra : moz-landing-system : lando
2019-03-27 11:13:26 +00:00
Kris Maglione e7796b70b4 Bug 1525511: Part 1 - Remove LWT install gunk. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18781

--HG--
extra : rebase_source : cfd98054b2098bc4fee6eeea0736bcd42a036bcf
2019-02-05 21:29:58 -08:00
Mike Conley c218b68adf Bug 1535760 - Update strings and controls for toggling Picture-in-Picture from the context menu. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23947

--HG--
extra : moz-landing-system : lando
2019-03-21 13:58:05 +00:00
Ian Moody 67fb55f3b9 Bug 1536653 - browser/ automated ESLint no-throw-literal fixes. r=Gijs
Result of running:
$ mach eslint -funix browser/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

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

--HG--
extra : moz-landing-system : lando
2019-03-20 10:17:42 +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 50371e1fee Bug 1535760 - Update strings and controls for toggling Picture-in-Picture from the context menu. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23947

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:37 +00:00
Thomas Nguyen 26bd1e060c Bug 1528695 - Part 2 : Use referrerInfo in openWindow, contextmenu and openLinkIn r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D21911

--HG--
extra : moz-landing-system : lando
2019-03-15 05:10:17 +00:00
Carolina Jimenez Gomez 0f33068ca0 Bug 1483626 - Checks if subjectAltNames has elements that are not empty string, and if it has them, they will be remove, preventing incomplete r=johannh
messages to show to the user. r=johannh

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

--HG--
extra : moz-landing-system : lando
2019-03-14 15:45:55 +00:00
Johann Hofmann 6b5b6ed403 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 23:36:54 +00:00
Gurzau Raul c747f02899 Backed out 2 changesets (bug 1529643) for eslint failure at NetErrorChild.jsm on a CLOSED TREE.
Backed out changeset 000dfd4caca0 (bug 1529643)
Backed out changeset e4718a35d70b (bug 1529643)
2019-03-14 01:09:43 +02:00
Johann Hofmann 1235c91131 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 21:04:02 +00:00
Syeda Asra Arshia Qadri ca143a6bd0 Bug 1284835: Replaced Hardcoded URLs with Services.urlFormatter.formatURLPref r=johannh
Bug 1284835: Replaced Hardcoded URLs with Services.urlFormatter.formatURLPref r=reviewers

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

--HG--
extra : moz-landing-system : lando
2019-03-13 08:23:00 +00:00
Mike Conley e429592a56 Bug 1529762 - Send PageStyle information up from pageshow events only after idle. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D22521

--HG--
extra : moz-landing-system : lando
2019-03-08 20:22:37 +00:00
Noemi Erli 978b96980f Backed out 2 changesets (bug 1529762) for failures in browser_page_style.js CLOSED TREE
Backed out changeset f49189976e12 (bug 1529762)
Backed out changeset 459979fd1d25 (bug 1529762)
2019-03-07 23:27:43 +02:00
Mike Conley d8a1aaa5de Bug 1529762 - Send PageStyle information up from pageshow events only after idle. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D22521

--HG--
extra : moz-landing-system : lando
2019-03-07 19:04:35 +00:00
Johann Hofmann 0788e90a43 Bug 1485670 - Improve error page styles in iframes. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D21907

--HG--
extra : moz-landing-system : lando
2019-03-06 15:58:18 +00:00
SresthaSrivastava c55c512a05 Bug 1515943 - Generate telemetry events from context menu or middle click on cert error pages. r=johannh CLOSED TREE
--HG--
extra : rebase_source : 0a5fa640e2beb09a0d699480e32f2deaf36f5fca
extra : amend_source : 3c01a850ae6305bb8231b2aaffdb82e3950cde10
2019-03-01 11:15:37 +01:00
Christoph Kerschbaumer 8124d3a763 Bug 1518454: Part 2, frontend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=gijs 2019-02-22 09:19:26 +01:00
Matthew Noorenberghe a3c141f088 Bug 1474143 - Rename FormSubmitChild.jsm to FormValidationChild.jsm. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16653

--HG--
rename : browser/actors/FormSubmitChild.jsm => browser/actors/FormValidationChild.jsm
extra : moz-landing-system : lando
2019-02-23 00:24:30 +00:00