Nika Layzell
143941e2d4
Bug 1523638
- Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37656
--HG--
extra : moz-landing-system : lando
2019-08-08 16:07:12 +00:00
Kris Maglione
22592538f5
Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop
...
This is the first step in making it possible to return remote WindowProxy
objects from window.open() and related APIs.
This patch also incidentally fixes a bug where getContentWindowOrOpenURI
returned the top-level browser window rather than the new content window when
passed OPEN_NEWWINDOW for the `aWhere` parameter. This was not the expected
behavior, and was a potentially major footgun for any new users who expected
to always get the content window for the URL they were loading, rather than
sometimes getting a chrome browser window instead.
For now, that case just returns null, which is only a minor footgun, rather
than the major one we had before.
Differential Revision: https://phabricator.services.mozilla.com/D35688
--HG--
extra : moz-landing-system : lando
2019-08-02 20:48:33 +00:00
Thomas Nguyen
180aa6b0a1
Bug 1566833 - Update to use ReferrerInfo in nsIWebBrowserChrome3 r=Gijs,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D38381
--HG--
extra : moz-landing-system : lando
2019-07-29 10:13:45 +00:00
Ciure Andrei
c0756f3389
Backed out 10 changesets (bug 1523638
) for causing high frequency Android 7.0 mochitests failures CLOSED TREE
...
Backed out changeset 644ceb2fe568 (bug 1523638
)
Backed out changeset 27647ee7a927 (bug 1523638
)
Backed out changeset 96f1ccb95570 (bug 1523638
)
Backed out changeset b60a17ea716a (bug 1523638
)
Backed out changeset 507e63186c5f (bug 1523638
)
Backed out changeset 33255408ca61 (bug 1523638
)
Backed out changeset d97b2d223616 (bug 1523638
)
Backed out changeset eba2a0514cde (bug 1523638
)
Backed out changeset d7065174c5c4 (bug 1523638
)
Backed out changeset c21b361e175d (bug 1523638
)
2019-07-23 05:13:32 +03:00
Nika Layzell
83236ff0f4
Bug 1523638
- Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37656
--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:22 +00:00
Bogdan Tara
ca45889546
Backed out 9 changesets (bug 1523638
) for browser_contextmenu.js failures CLOSED TREE
...
Backed out changeset 0a584a07b696 (bug 1523638
)
Backed out changeset 8c5af2289900 (bug 1523638
)
Backed out changeset 40ed1bd64b09 (bug 1523638
)
Backed out changeset 9a99a0391979 (bug 1523638
)
Backed out changeset 07fb4748b91a (bug 1523638
)
Backed out changeset 49047c3ebae9 (bug 1523638
)
Backed out changeset d606d072126c (bug 1523638
)
Backed out changeset 76dc1937fc77 (bug 1523638
)
Backed out changeset c784c14b5d5d (bug 1523638
)
2019-07-16 23:40:47 +03:00
Nika Layzell
89d26ca7eb
Bug 1523638
- Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37656
--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:56 +00:00
Alphan Chen
bd4a8d7302
Bug 1563171 - Move the sessionStore related functions from nsIXULBrowserWindow.idl r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D37424
--HG--
extra : moz-landing-system : lando
2019-07-15 10:29:06 +00:00
Alphan Chen
02e1dcbe25
bug 1562889 - Convert content-sessionStore to C++: add browser epochs support r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D36606
--HG--
extra : moz-landing-system : lando
2019-07-11 09:46:14 +00:00
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