Commit Graph

128 Commits

Author SHA1 Message Date
Arthur Iakab
7dc57054cd Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione
9b4f095126 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 21:03:58 +00:00
Noemi Erli
5296ed257e Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione
0523739f93 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 19:39:25 +00:00
Rob Wu
62827d3bfb Bug 1609000 - Stop logspam when <browser> is removed r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D60720
2020-01-23 23:21:06 +00:00
Mike Conley
49abd29c1d Bug 1576917 - Port PopupBlocker to JSWindowActors to make it Fission-compatible. r=NeilDeakin
This patch was started by Alex Vamvounis <a.vamvounis@gmail.com> and finished by
Mike Conley <mconley@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D53075
2020-01-22 21:24:19 +00:00
Neil Deakin
4dce72cc6b Bug 1603020, allow sendMessageToActor to send the message to all descendants, not just process roots, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D58990
2020-01-20 15:14:31 +00:00
Dimi Lee
113588eb24 Bug 1600896 - P2. Use getContentBlockingLog in WindoowGlobalParent instead of getContentBlockingEvent in nsIRemoteTab. r=timhuang,Ehsan
Depends on D55779

Differential Revision: https://phabricator.services.mozilla.com/D55780
2019-12-17 11:34:41 +00:00
Dimi Lee
8b6ef12b45 Bug 1600878 - P3. Do not store contentBlockingEvent in RemoteSecurityUI.jsm r=timhuang,Ehsan
ContentBlockingEvents is now accessed via WindowGlobalActor::ContentBlockingEvents.
Updating and storing contentBlockingEvent in RemoteSecurityUI are no longer needed.

Depends on D55622

Differential Revision: https://phabricator.services.mozilla.com/D55623
2019-12-17 11:25:27 +00:00
Dimi Lee
e83925623c Bug 1600878 - P2. Use contentBlockingEvents in WindowGlobalParent instead of contentBlockingEvent in RemoteSecurityUI r=timhuang,Ehsan
ContentBlockingEvent in RemoteSecurityUI is updated after receiving a notification from a child process.
Since contentBlockingEvent will be removed from the child, this patch removes the use of
contentBlockingEvent in RemoteSecurityUI and uses the API defined in WindowGlobalActor.

Depends on D55621

Differential Revision: https://phabricator.services.mozilla.com/D55622
2019-12-17 11:25:23 +00:00
Alexander Surkov
5ba93ef6ba Bug 1606108 - Autoscroll works only once in iframe r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58390
2020-01-10 13:41:27 +00:00
Kris Maglione
4c7c557b5b Bug 1604003: Part 2 - Convert RemoteController.js to a JSM. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D57557
2020-01-07 00:04:57 +00:00
Kris Maglione
8e3ab18307 Bug 1604003: Part 1 - Correctly unregister controller when destroying browser. r=NeilDeakin
It was being set to null before we tried to remove it, which left a dead
controller registered and consuming commands after a frameloader rebuild.

Differential Revision: https://phabricator.services.mozilla.com/D57556
2019-12-27 15:24:15 +00:00
Alexander Surkov
24e3c7fe9c Bug 1597765 - support auto scroll in out of process frames r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54596
2019-12-19 02:35:57 +00:00
Tyler
d8bd12f370 Bug 1601475 - Remove ImageContentLoaded event and ImageDocumentLoaded message handling code across the tree r=Gijs,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D56051
2019-12-18 21:46:51 +00:00
Bogdan Tara
8251e6e929 Backed out changeset c53bf87f1e5d (bug 1597765) for test_login_item.html failures CLOSED TREE 2019-12-19 04:31:36 +02:00
Alexander Surkov
9a13236b7f Bug 1597765 - support auto scroll in out of process frames r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54596
2019-12-18 15:09:50 +00:00
Daniel Varga
c3a6307d14 Backed out changeset e65c1bcb013f (bug 1601475) for causing build bustage. On a CLOSED TREE 2019-12-09 12:51:07 +02:00
Tyler
8b1da25252 Bug 1601475 - Remove ImageContentLoaded event and ImageDocumentLoaded message handling code across the tree r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D56051
2019-12-09 10:18:25 +00:00
Wendy Wigg
ab3b807d67 Bug 1431214 - removed _setCurrentURI function as it was unused r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D55394
2019-12-04 10:59:42 +00:00
Tim Nguyen
5afeb64516 Bug 1597120 - Replace usages of XUL mousethrough with CSS pointer-events. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D53348
2019-11-22 13:15:00 +00:00
Tim Nguyen
53c6a85b67 Bug 1597844 - Fix positioning of form validation and date/time input popups. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D53902
2019-11-22 00:13:15 +00:00
Kris Maglione
ff3e04cd41 Bug 1595927 - Remove XPCOM gunk around RemoteWebNavigation creation. r=mconley
It just adds a lot of unnecessary overhead and indirection.

Differential Revision: https://phabricator.services.mozilla.com/D52753
2019-11-15 01:23:40 +00:00
Ciure Andrei
f52996a55d Backed out changeset 70304898d836 (bug 1595927) for causing browser_cmd_click.js to permafail CLOSED TREE 2019-11-14 23:35:19 +02:00
Kris Maglione
a89166c8f0 Bug 1595927 - Remove XPCOM gunk around RemoteWebNavigation creation. r=mconley
It just adds a lot of unnecessary overhead and indirection.

Differential Revision: https://phabricator.services.mozilla.com/D52753
2019-11-14 19:09:22 +00:00
Carson Greene
c59f4bad09 Bug 1576911 - Make ThumbnailsChild a JSWindowActorChild instead of ActorChild r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45957
2019-11-06 23:32:35 +00:00
Anny Gakhokidze
48627a2649 Bug 1592829 - Remove hasContentOpener logic from C++ and check for content opener directly from JavaScript, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51318
2019-11-06 20:14:32 +00:00
Daniel Varga
f2d44e3c32 Backed out 2 changesets (bug 1592829) for gecko build failure. On a CLOSED TREE
Backed out changeset 73013c2281fb (bug 1592829)
Backed out changeset 3257e8902653 (bug 1592829)
2019-11-06 22:09:41 +02:00
Anny Gakhokidze
ce3b31a063 Bug 1592829 - Remove hasContentOpener logic from C++ and check for content opener directly from JavaScript, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51318
2019-11-05 22:25:56 +00:00
Kirk Steuber
ae61533d4c Bug 1448807 - Remove showWindowResizer from browser Custom Element r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D50274
2019-10-30 13:46:55 +00:00
Gijs Kruitbosch
07ce706b62 Bug 1585732 - cache fission.rebuild_frameloaders_on_remoteness_change pref instead of refetching it, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50956
2019-10-29 23:33:54 +00:00
Kashav Madan
0f967b4d27 Bug 1586050 - Don't blow away progress listeners when switching between local and remote processes, r=kmag
Whenever we do a process switch, the <browser> gets a new WebProgress instance.
When that happens, we currently handle transferring listeners from one
RemoteWebProgress instance to another, but not from a local to remote, or vice
versa. This patch changes that by tracking listeners added to the <browser> and
manually re-adding them after a process switch occurs.

Differential Revision: https://phabricator.services.mozilla.com/D48233
2019-10-09 16:56:07 +00:00
Julian Descottes
682028d1a5 Bug 1586680 - Prevent showing caret browsing prompt when using StyleEditor shortcut r=bgrins
Depends on D48313

caret browsing is enabled by the F7 shortcut, and devtools style editor is toggled via shift+F7.
When the DevTools toolbox is using a browser element, using shift+F7 in the toolbox will first trigger caret browsing and then toggle the style-editor.
The DevTools shortcut is added via a XUL key in DevToolsStartup.jsm but I didn't manage to prevent the shift+F7 event from triggering the caret-browsing keypress callback.
So instead, check if shiftKey is true in the caret-browsing callback and bail out.
In theory, unless explicitly supported, the callback should bailout if any modifier is pressed.

Differential Revision: https://phabricator.services.mozilla.com/D48315
2019-10-09 13:00:15 +00:00
Barret Rennie
d0d12fb0e4 Bug 1578304 - Correctly set content title from onLocationChange event r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D48413
2019-10-07 19:13:23 +00:00
Tyler
93ce80831a Bug 1576908 - uses fission model for sending purge history messages r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45959
2019-10-03 14:03:34 +00:00
Emilio Cobos Álvarez
ac821a9575 Bug 1582042 - Remove nsIRemoteTab.forceRepaint(). r=mconley
It's useless if the tab is already visible (i.e., has renderLayers=true), per
the previous patches, and that's the only point at which it gets called.

Differential Revision: https://phabricator.services.mozilla.com/D47131
2019-09-26 22:11:50 +00:00
Paul Zuehlcke
3dca5af03a Bug 1580189 - Clear geolocation permission for sub-frames with active sharing state. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45827
2019-09-25 09:16:32 +00:00
Neil Deakin
882729e27b Bug 1553384, find should iterate over each frame within a document in the parent process to allow out-of-process frames to be searched through, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41224
2019-09-17 23:28:41 +00:00
Kris Maglione
2a3f78dcc6 Bug 1542415: Part 4 - Always rebuild frameloaders on remoteness change in Fission windows. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D44738
2019-09-09 12:28:09 +00:00
Barret Rennie
21becf3bef Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

Differential Revision: https://phabricator.services.mozilla.com/D35091
2019-08-28 18:55:45 +00:00
Dorel Luca
1109944f24 Backed out 4 changesets (bug 1510569) for build bustage. CLOSED TREE
Backed out changeset d7db6a1935ce (bug 1510569)
Backed out changeset 03b7cf756a7f (bug 1510569)
Backed out changeset fa318eec0e76 (bug 1510569)
Backed out changeset cecb17bd8c03 (bug 1510569)
2019-08-28 21:46:40 +03:00
Barret Rennie
607704f60c Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

Differential Revision: https://phabricator.services.mozilla.com/D35091
2019-08-28 18:00:23 +00:00
Oana Pop Rus
0078164859 Backed out 4 changesets (bug 1510569) for causing build bustage on a CLOSED TREE
Backed out changeset eae555c11f25 (bug 1510569)
Backed out changeset 2fb8938d16db (bug 1510569)
Backed out changeset b480af862022 (bug 1510569)
Backed out changeset 642cd6323cdc (bug 1510569)
2019-08-21 22:55:43 +03:00
Barret Rennie
c27a14ff78 Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

Differential Revision: https://phabricator.services.mozilla.com/D35091
2019-08-21 18:25:04 +00:00
Ehsan Akhgari
31a92a143b Bug 1572240 - Part 2: Introduce nsIBrowser.contentBlockingAllowListPrincipal; r=baku
This patch also includes some spot fixes for the storage principal
support on the XUL browser element.

Differential Revision: https://phabricator.services.mozilla.com/D42203
2019-08-19 14:38:34 +00:00
Abdoulaye O. Ly
dfe95e81d9 Bug 1562990 - [Fission] Make AudioPlayback work with JSWindowActor. r=NeilDeakin,farre
Differential Revision: https://phabricator.services.mozilla.com/D36648
2019-08-19 21:17:21 +00:00
Jared Wein
abceb15a41 Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746
2019-08-08 16:18:24 +00:00
Bogdan Tara
b60cea4f7a 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
c5783efd3d Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746
2019-08-08 01:38:50 +00:00
Mike Conley
626e34e03c Bug 1555711 - Port RemotePrompt to a JS Window Actor to be Fission-compatible. r=NeilDeakin,layely
Differential Revision: https://phabricator.services.mozilla.com/D38189
2019-07-31 15:32:15 +00:00