Ehsan Akhgari
4a71ba49f8
Bug 1557887 - Part 3: Extend nsIDocShell.createAboutBlankContentViewer() to accept a storage principal argument; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D34457
--HG--
extra : moz-landing-system : lando
2019-06-12 09:04:24 +00:00
Sylvestre Ledru
993c03acb1
Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31769
--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Ryan Hunt
4683a8b07a
Bug 1525720, part 13 - Stop inheriting nsIRemoteTab interface in BrowserParent. r=nika
...
This commit removes nsIRemoteTab as a parent class from BrowserParent,
so that BrowserHost is the only concrete implementation of nsIRemoteTab.
Some static_cast's are updated to cast to BrowserHost, and other places
have to be updated to pass a BrowserHost instead of a BrowserParent.
WindowGlobalParent had a getter to return it's managing BrowserParent
as a nsIRemoteTab. I couldn't find a use of this in-tree, so I've just
opt-ed to remove it. If there's a use-case, we can add something back
in.
Differential Revision: https://phabricator.services.mozilla.com/D31444
--HG--
extra : source : 810b7371987139844429d0206f9da6a7701a1efc
2019-05-08 14:34:47 -05:00
Gurzau Raul
57f573a6ff
Backed out 18 changesets (bug 1525720) for mass failures on Windows platform e.g ProcessPriorityManager.cpp on a CLOSED TREE.
...
Backed out changeset 1f2e86c2d691 (bug 1525720)
Backed out changeset 9b79caa460a0 (bug 1525720)
Backed out changeset e65cb2d4c5a5 (bug 1525720)
Backed out changeset 99f971a02d87 (bug 1525720)
Backed out changeset d25963c72ff7 (bug 1525720)
Backed out changeset 810b73719871 (bug 1525720)
Backed out changeset ee10a8254481 (bug 1525720)
Backed out changeset 1bcf9f586c55 (bug 1525720)
Backed out changeset d3b2ac8d5ca4 (bug 1525720)
Backed out changeset 697774dd8984 (bug 1525720)
Backed out changeset eadeacbe4483 (bug 1525720)
Backed out changeset 32eeee79d628 (bug 1525720)
Backed out changeset 07678a2fa9e7 (bug 1525720)
Backed out changeset 757b4f595cc4 (bug 1525720)
Backed out changeset b255e0a84e12 (bug 1525720)
Backed out changeset 9a255864f75d (bug 1525720)
Backed out changeset 5f1c1b609ec1 (bug 1525720)
Backed out changeset 00d83f1d02e0 (bug 1525720)
2019-05-23 01:57:16 +03:00
Ryan Hunt
93d6ab4ec4
Bug 1525720, part 13 - Stop inheriting nsIRemoteTab interface in BrowserParent. r=nika
...
This commit removes nsIRemoteTab as a parent class from BrowserParent,
so that BrowserHost is the only concrete implementation of nsIRemoteTab.
Some static_cast's are updated to cast to BrowserHost, and other places
have to be updated to pass a BrowserHost instead of a BrowserParent.
WindowGlobalParent had a getter to return it's managing BrowserParent
as a nsIRemoteTab. I couldn't find a use of this in-tree, so I've just
opt-ed to remove it. If there's a use-case, we can add something back
in.
Differential Revision: https://phabricator.services.mozilla.com/D31444
--HG--
extra : rebase_source : 63070e3c2b90c9134f9106028e124935c8dad009
extra : histedit_source : 807f2ff684d86008077be07b0894f39a925fe778
2019-05-08 14:34:47 -05:00
Alphan Chen
2dbd18c6c8
Bug 1549973 - Force tabState flush from C++ listener before tab is closed r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D30475
--HG--
extra : moz-landing-system : lando
2019-05-22 09:06:14 +00:00
Christoph Kerschbaumer
b633427366
Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D27654
--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:27 +00:00
Alphan Chen
d12fbd8633
Bug 1474130 - Implement ScrollPosition/Privacy/DocCapability listeners in C++ r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D23057
--HG--
extra : moz-landing-system : lando
2019-05-04 10:42:52 +00:00
Myk Melez
1b3f6d1faf
Bug 1547877 - enable configuration of new XULStore implementation r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D29304
--HG--
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/new/XULStore.jsm
extra : moz-landing-system : lando
2019-05-02 23:01:57 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Ehsan Akhgari
7b7c739afe
Bug 1527287 - Add support for "noreferrer" feature argument to window.open(); r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D28396
2019-04-24 20:29:19 -04:00
Ryan Hunt
0eeced87be
Bug 1534395 - Rename TabParent to BrowserParent. r=nika
...
This commit renames TabParent to BrowserParent.
Differential Revision: https://phabricator.services.mozilla.com/D28133
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
rename : dom/ipc/TabParent.h => dom/ipc/BrowserParent.h
extra : rebase_source : d2706b9f42177d8de16068b7b1d088a44b8720a4
extra : histedit_source : a617ddac45c58050ef799116a67d2d983f2a8f6d%2C1d1dabd8761a32d548a6fbf1027be960698f6a5e
2019-04-09 16:38:15 -05:00
Ryan Hunt
3675f2449b
Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
...
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.
Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.
Differential Revision: https://phabricator.services.mozilla.com/D28132
--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Christoph Kerschbaumer
42672fde72
Bug 1544863: Explicitly pass csp to createContentWindow(). r=Gijs,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27871
--HG--
extra : moz-landing-system : lando
2019-04-23 14:37:40 +00:00
Dorel Luca
facaf244e4
Backed out changeset 7d3f2f4c53be (bug 1544863
) for eslint failure
2019-04-23 17:16:13 +03:00
Christoph Kerschbaumer
73a324ee2d
Bug 1544863: Explicitly pass csp to createContentWindow(). r=Gijs,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27871
--HG--
extra : moz-landing-system : lando
2019-04-23 13:02:40 +00:00
Myk Melez
e2338641e4
Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
...
Differential Revision: https://phabricator.services.mozilla.com/D25355
--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-22 02:59:51 +00:00
Coroiu Cristina
5f4315f3ee
Backed out changeset 37054e6d6bbb (bug 1460811) for marionette failures at marionette_harness/tests/unit/test_cli_arguments.py on a CLOSED TREE
2019-04-20 00:05:55 +03:00
Myk Melez
2eece48676
Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
...
Differential Revision: https://phabricator.services.mozilla.com/D25355
--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-19 17:42:48 +00:00
Razvan Maries
1f6c35708a
Backed out changeset 2f8f0e53a7db (bug 1460811) for leakcheck perma failures. CLOSED TREE
2019-04-19 00:16:32 +03:00
Myk Melez
f61d3b4399
Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
...
Differential Revision: https://phabricator.services.mozilla.com/D25355
--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-18 19:27:12 +00:00
Nika Layzell
40f96bcf80
Bug 1542791 - Part 1: Support enabling out-of-process iframes with per-frame granularity, r=mconley
...
This code builds on top of the E10S "remote tabs" configuration system to add a
system for specifying that remote subframes should be used. Fission can be
enabled for a window by including the "fission" flag in options when opening
the window.
Differential Revision: https://phabricator.services.mozilla.com/D26560
--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:22 +00:00
Brian Grinstead
911776d674
Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27458
--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Masayuki Nakano
e8514bbdc6
Bug 1543315 - part 4: Mark ResizeReflow() as MOZ_CAN_RUN_SCRIPT r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D27220
--HG--
extra : moz-landing-system : lando
2019-04-13 12:39:47 +00:00
Masayuki Nakano
1f3059e916
Bug 1542663 - Make nsViewManager and nsView (nsIWidgetListener) use mozilla::PresShell directly rather than via nsIPresShell r=tnikkel
...
This patch makes `nsViewManager::GetPresShell()` and
`nsIWidgetListener::GetPresShell()` (overridden by `nsView` and
`nsWebShellWindow::WidgetListenerDelegate`) return `mozilla::PresShell*`.
Additionally, makes `nsWebShellWindow::GetPresShell()` also return
`mozilla::PresShell()`.
Differential Revision: https://phabricator.services.mozilla.com/D26454
--HG--
extra : moz-landing-system : lando
2019-04-13 01:05:21 +00:00
Masayuki Nakano
0986fb819b
Bug 1542506 - Make nsDocShell use mozilla::PresShell* directly rather than nsIPresShell* r=bzbarsky
...
This patch makes `nsDocShell::GetPresShell()` and
`nsDocShell::GetEldestPresShell()` return `mozilla::PresShell*` and
some non-public methods use `mozilla::PresShell*` directly.
Differential Revision: https://phabricator.services.mozilla.com/D26424
--HG--
extra : moz-landing-system : lando
2019-04-13 01:03:13 +00:00
Boris Zbarsky
d0bcf72821
Bug 1543564 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D27027
--HG--
extra : moz-landing-system : lando
2019-04-11 14:12:43 +00:00
Boris Zbarsky
6d78fdff25
Bug 1543564 part 1. Get rid of pointless nsPIDOMWindowOuter::AsOuter() methods. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D27026
--HG--
extra : moz-landing-system : lando
2019-04-11 12:12:04 +00:00
Gijs Kruitbosch
750ee88f29
Bug 1540170 - don't use history for windowless browsers, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D25587
--HG--
extra : rebase_source : ec367a840c573caa5eadc8332e4137023d735c35
2019-04-01 11:59:40 +01:00
Sylvestre Ledru
ef0bfc3822
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D24168
--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Felipe Gomes
581be0ee79
Bug 1533405 - Do not create the hidden window if it's too early on startup or during shutdown. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D24252
--HG--
extra : moz-landing-system : lando
2019-03-20 19:35:59 +00:00
meandave
a20801ef25
Bug 1522848 - Add Lock Aspect Ratio feature. r=mconley,jmathies.
...
***
Bug 1522848 - Smoothing out Lock Aspect Ratio feature r?mconley.
Differential Revision: https://phabricator.services.mozilla.com/D20713
--HG--
extra : moz-landing-system : lando
2019-03-18 20:07:31 +00:00
Nika Layzell
eaf6c2306e
Bug 1529684 - Part 2: Create BrowsingContext for remote browsers in parent, r=farre
...
Depends on D21095
Differential Revision: https://phabricator.services.mozilla.com/D21096
--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:45 +00:00
Felipe Gomes
638c0ebfd5
Bug 827976 - Improve usage of the hidden window for nsXULWindow::Destroy. r=aklotz
...
Differential Revision: https://phabricator.services.mozilla.com/D21075
--HG--
extra : moz-landing-system : lando
2019-03-04 18:52:49 +00:00
Felipe Gomes
11a6e872ed
Bug 827976 - Create the hidden window lazily on non-Mac platforms. r=aklotz
...
Differential Revision: https://phabricator.services.mozilla.com/D21071
--HG--
extra : moz-landing-system : lando
2019-03-05 20:18:25 +00:00
Brindusan Cristian
8a1c4fbd47
Backed out 4 changesets (bug 1530550, bug 1529684) for bc crashes at [@ mozilla::dom::BrowsingContext::Detach(bool)]. CLOSED TREE
...
Backed out changeset 289c2b4126c9 (bug 1530550)
Backed out changeset 9f3e65f6b1dd (bug 1529684)
Backed out changeset 257d45117af3 (bug 1529684)
Backed out changeset 7f2bda80e479 (bug 1529684)
2019-03-05 23:11:48 +02:00
Nika Layzell
332f3940ad
Bug 1529684 - Part 2: Create BrowsingContext for remote browsers in parent, r=farre
...
Depends on D21095
Differential Revision: https://phabricator.services.mozilla.com/D21096
--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:22 +00:00
Cosmin Sabou
a706bb3916
Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
...
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Felipe Gomes
0335f9445a
Bug 827976 - Improve usage of the hidden window for nsXULWindow::Destroy. r=aklotz
...
Differential Revision: https://phabricator.services.mozilla.com/D21075
--HG--
extra : moz-landing-system : lando
2019-03-01 21:06:48 +00:00
Felipe Gomes
970e70533a
Bug 827976 - Create the hidden window lazily on non-Mac platforms. r=aklotz
...
Differential Revision: https://phabricator.services.mozilla.com/D21071
--HG--
extra : moz-landing-system : lando
2019-03-01 21:04:48 +00:00
Florian Quèze
8fdb652c2e
Bug 1531836 - only look for a window specific icon on the disk if an 'icon' attribute has been specified on the XUL window, r=NeilDeakin.
...
Differential Revision: https://phabricator.services.mozilla.com/D21753
--HG--
extra : moz-landing-system : lando
2019-03-01 18:32:17 +00:00
Christoph Kerschbaumer
7c441f1bcb
Bug 1518454: Part 1, backend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=bz
2019-02-21 16:00:32 +01:00
Kris Maglione
b2f85650a1
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : source : 625f71135038f79c075f758e316fbb00097c9a18
extra : intermediate-source : 7a1ef487a9e74d66b112034051e49b77023860b8
extra : histedit_source : 88d19dbee4a99faa191e49e2847c4c59aba05b0c%2C5ee702f97153152d31124e0c5f3e8318cbeb3195
2019-01-29 16:03:41 -08:00
arthur.iakab
470dbf03b6
Backed out 5 changesets (bug 1524687) for causing build bustages on platform.h CLOSED TREE
...
Backed out changeset 0f06a6b51bfe (bug 1524687)
Backed out changeset 7a1ef487a9e7 (bug 1524687)
Backed out changeset accad7b4cbc7 (bug 1524687)
Backed out changeset eb33f7e6467c (bug 1524687)
Backed out changeset 86cf09db340b (bug 1524687)
2019-02-21 02:04:02 +02:00
Kris Maglione
95c0cf7aa9
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : rebase_source : ccc1b4f8559152237e523b67ea76e2b406c1cb11
extra : intermediate-source : e8ad5619116c31fc4d38e0e789ddb9b5d2a5bb25
extra : source : 625f71135038f79c075f758e316fbb00097c9a18
2019-01-29 16:03:41 -08:00
Kyle Machulis
2bb286e58e
Bug 1524683 - Move all nsIFrameLoaderOwner references to nsFrameLoaderOwner; r=nika
...
Depends on D19728
Differential Revision: https://phabricator.services.mozilla.com/D19729
--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:53 +00:00
Kris Maglione
eb14dd1d2c
Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D15040
--HG--
extra : rebase_source : d89ac470241cb6f6a43c29c6e90b1c0e4fc78028
extra : source : b0444e0bc801f828b49f9953a73498cf5ff5024b
2018-12-16 17:27:58 -08:00
arthur.iakab
c1fae83952
Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE
...
Backed out changeset fce62c77a56b (bug 1478124)
Backed out changeset eb2fa3b5edf7 (bug 1478124)
Backed out changeset 8dacce59fcc0 (bug 1478124)
Backed out changeset 012fd0107204 (bug 1478124)
Backed out changeset 496aaf774697 (bug 1478124)
Backed out changeset 21f4fda03159 (bug 1478124)
Backed out changeset b0444e0bc801 (bug 1478124)
Backed out changeset d94039b19943 (bug 1478124)
Backed out changeset 5d85deac61c2 (bug 1478124)
Backed out changeset 929fd654c9df (bug 1478124)
Backed out changeset 1ddd80d9e91a (bug 1478124)
Backed out changeset b8d2dfdfc324 (bug 1478124)
Backed out changeset f500020a273a (bug 1478124)
Backed out changeset dd00365ebb55 (bug 1478124)
Backed out changeset 538e40c5ee13 (bug 1478124)
Backed out changeset bedaa9c437ad (bug 1478124)
2019-01-29 10:03:06 +02:00
Kris Maglione
586d1722ec
Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D15040
--HG--
extra : rebase_source : 4de6207229742168f534f618fe4881f19e3135c9
extra : absorb_source : 63106bea2b2a9c9a90e2d8cd08429b5de0f2cd09
extra : histedit_source : 02a263131b092b1d1ac4901f1a37a1b842b3103f
2018-12-16 17:27:58 -08: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