Boris Zbarsky
5539520106
Bug 1535124 part 3. Add MOZ_CAN_RUN_SCRIPT annotations to geolocation code as needed. r=jdm
...
Differential Revision: https://phabricator.services.mozilla.com/D23521
--HG--
extra : moz-landing-system : lando
2019-03-20 18:05:09 +00:00
Alastor Wu
bbb2e64dde
Bug 1524065 - part1 : implement the way to resume delayed autoplay media via browsing context. r=farre
...
After enable Fission, we're not able to resume media in the different process, because the current way we use can only notify one process and would cause the media on other process can't be resumed.
Therefore, we should use the browsing context to notify the web content which might be on different processes.
Differential Revision: https://phabricator.services.mozilla.com/D18136
--HG--
extra : moz-landing-system : lando
2019-03-20 03:15:36 +00:00
Alex Gaynor
177fb00eba
Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D22975
--HG--
extra : moz-landing-system : lando
2019-03-18 22:31:59 +00:00
Henri Sivonen
76985857be
Bug 1535537 - Maintain information about focused TabParent on chrome main thread independently of APZ. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D23632
--HG--
extra : moz-landing-system : lando
2019-03-19 13:37:14 +00:00
Andrea Marchesini
6b62a78cfd
Bug 1536372 - Get rid of PURLClassifierInfo MaybeInfo, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D23992
--HG--
extra : moz-landing-system : lando
2019-03-19 09:31:07 +00:00
Edwin Gao
07abfb743a
Bug 1531150 - disable test_temporaryfile_stream.html r=jmaher
...
Fails frequently on windows10-aarch64; disable for the time being.
Differential Revision: https://phabricator.services.mozilla.com/D23920
--HG--
extra : moz-landing-system : lando
2019-03-18 21:42:19 +00:00
Gabriele Svelto
8acb0afdce
Bug 1533842 - When creating the ContentParent object explicitly flag it as not shutting down r=Alex_Gaynor
...
Differential Revision: https://phabricator.services.mozilla.com/D23740
--HG--
extra : moz-landing-system : lando
2019-03-18 12:54:11 +00:00
Thomas Nguyen
33d78105b7
Bug 1528695 - Part 1 : Use referrerInfo in openWindow, cpp file r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D21910
--HG--
extra : moz-landing-system : lando
2019-03-15 05:11:43 +00:00
Nika Layzell
75c02c72ea
Bug 1532661 - Part 6: Clean up BrowsingContext references more reliably, r=farre
...
Depends on D23047
Differential Revision: https://phabricator.services.mozilla.com/D23048
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:13 +00:00
Nika Layzell
f6a5c73c2a
Bug 1532661 - Part 5: Make the BrowsingContext opener edge a weak reference, r=farre
...
Depends on D22193
Differential Revision: https://phabricator.services.mozilla.com/D23047
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:11 +00:00
Nika Layzell
1b8834985a
Bug 1532661 - Part 4: Support initializing complete BrowsingContextGroups in a single op with an IPCInitializer struct, r=farre
...
Depends on D22192
Differential Revision: https://phabricator.services.mozilla.com/D22193
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:09 +00:00
Nika Layzell
1ebd4ff025
Bug 1532661 - Part 2: Use a field list macro header for synced fields, r=farre
...
Depends on D22190
Differential Revision: https://phabricator.services.mozilla.com/D22191
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:05 +00:00
Nika Layzell
88e15f606d
Bug 1532661 - Part 1: Perform basic validation on CanonicalBrowsingContext, r=farre
...
Depends on D21134
Differential Revision: https://phabricator.services.mozilla.com/D22190
--HG--
extra : moz-landing-system : lando
2019-03-14 18:51:03 +00:00
Nika Layzell
b388b0df00
Bug 1530550 - Synchronize mOpener and mIsActivatedByUserGesture with SYNCED_BC_FIELD, r=farre
...
Depends on D22764
Differential Revision: https://phabricator.services.mozilla.com/D21134
--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:55 +00:00
Nika Layzell
1dc7594957
Bug 1529684 - Part 3: Create BrowsingContext for remote iframes in embedder, r=farre
...
Depends on D21096
Differential Revision: https://phabricator.services.mozilla.com/D21097
--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:47 +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
Nika Layzell
6a04609cc9
Bug 1529684 - Part 1: Allow Attaching BrowsingContext from parent to child, r=farre
...
This is important to allow creating BrowsingContexts outside of the process
where they are going to be used. This is largely a re-arrangement of existing
code.
There is currently no way to do this type of attaching for browsing contexts in
existing BrowsingContextGroups, which creates some limitations, but happens to
be sufficient for us in the current situation.
Differential Revision: https://phabricator.services.mozilla.com/D21095
--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:38 +00:00
Henri Sivonen
b5a365766b
Bug 1535282 - Add logging of content process-level focus changes. r=nika
...
Depends on D22468
Differential Revision: https://phabricator.services.mozilla.com/D23479
--HG--
extra : moz-landing-system : lando
2019-03-14 15:55:35 +00:00
Henri Sivonen
83788eac4c
Bug 1524983 - Make nsFocusManager::Blur() hand off focus one level up only. r=NeilDeakin
...
Depends on D22974
Differential Revision: https://phabricator.services.mozilla.com/D22468
--HG--
extra : moz-landing-system : lando
2019-03-14 16:25:33 +00:00
Henri Sivonen
f31daadc47
Bug 1533716 - Make out-of-process iframes able to request focus. r=masayuki,NeilDeakin
...
Depends on D22969
Differential Revision: https://phabricator.services.mozilla.com/D22974
--HG--
extra : moz-landing-system : lando
2019-03-14 16:20:51 +00:00
Henri Sivonen
35fba3ee0b
Bug 1534258 - Send Deactivate() messages to out-of-process iframes. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D22969
--HG--
extra : moz-landing-system : lando
2019-03-14 16:00:32 +00:00
Jean-Yves Avenard
dfa04f21b3
Bug 1521370 - Add crash guard around VPX decoder creation. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D21477
--HG--
extra : moz-landing-system : lando
2019-03-13 02:36:08 +00:00
Boris Zbarsky
ccfb4f16b1
Bug 1534370 part 1. Annotate doCommandWithParams as MOZ_CAN_RUN_SCRIPT. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D23036
--HG--
extra : moz-landing-system : lando
2019-03-13 00:43:48 +00:00
Boris Zbarsky
5bf2e408e6
Bug 1534608. MOZ_CAN_RUN_SCRIPT should disallow non-stack refptr arguments. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D23217
--HG--
extra : moz-landing-system : lando
2019-03-13 00:30:11 +00:00
Henri Sivonen
69686abca6
Bug 1534267
- Make BrowserBridgeParent* available via TabParent. r=rhunt
...
Differential Revision: https://phabricator.services.mozilla.com/D22972
--HG--
extra : moz-landing-system : lando
2019-03-11 18:47:20 +00:00
Jan Varga
559e8234e4
Bug 1534208 - LSNG: DOM File thread and PBackground child for it must be created as soon as possible; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D22976
2019-03-11 15:35:04 +01:00
Henri Sivonen
decc78f432
Bug 1530661 - Make APZ report the per LayersId layer-to-screen transform matrices to the chrome process. r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D22082
--HG--
extra : moz-landing-system : lando
2019-03-09 20:33:17 +00:00
Ryan Hunt
c39b1f89d0
Bug 1532725
- Rename PRemoteFrame to PBrowserBridge. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D22132
--HG--
rename : dom/ipc/RemoteFrameChild.cpp => dom/ipc/BrowserBridgeChild.cpp
rename : dom/ipc/RemoteFrameChild.h => dom/ipc/BrowserBridgeChild.h
rename : dom/ipc/RemoteFrameParent.cpp => dom/ipc/BrowserBridgeParent.cpp
rename : dom/ipc/RemoteFrameParent.h => dom/ipc/BrowserBridgeParent.h
rename : dom/ipc/PRemoteFrame.ipdl => dom/ipc/PBrowserBridge.ipdl
extra : rebase_source : d5ca117b96c0d266041d23d80f0f4ab9b0471fb6
2019-03-04 20:15:58 -06:00
Ryan Hunt
67120bc4e1
Bug 1532725
- Make TabParent::Recv{MouseEvent, HandleTap, ..} a script boundary and hold a strong reference. r=bzbarsky
...
These message handlers are currently marked as MOZ_CAN_RUN_SCRIPT, but are called from
PBrowserChild::OnMessageReceived which is not marked to run script. For some reason this is not
currently an issue on tip.
I suspect it has something to do with unified builds as renaming files caused this issue to
happen. I haven't looked into it enough to say for certain.
This commit changes the message handlers to be script boundaries so that the analysis is
satisified. This seemed like an easier change than modifying IPDL to emit the script boundary
around PBrowserChild::OnMessageReceived.
Additionally, Nika pointed out that IPDL doesn't hold a strong reference when calling
message handlers. If the script enters a nested event loop, it may be possible for
the protocol to be freed before control returns to it. This commit adds strong
references to prevent this.
Differential Revision: https://phabricator.services.mozilla.com/D22450
--HG--
extra : rebase_source : 0d756e5a921be8154e5fb3715304a8588700e079
2019-03-06 16:54:58 -06:00
arthur.iakab
6ac3e940d9
Merge autoland to mozilla-central a=merge
2019-03-08 06:38:18 +02:00
John Dai
06e6e0dbbf
Bug 1533401 - Use native maybe support IPDL in JSWindowActorEventDecl instead of two booleans, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D22509
--HG--
extra : moz-landing-system : lando
2019-03-07 15:11:32 +00:00
John Dai
a299029020
Bug 1531837 - Part 2: Add testcase with allFrames and includeChrome for JS Window Actors, r=nika
...
Depends on D22472
Differential Revision: https://phabricator.services.mozilla.com/D22473
--HG--
extra : moz-landing-system : lando
2019-03-07 15:13:44 +00:00
John Dai
12d7184ab0
Bug 1531837 - Part 1: Save WindowActorOptions's includeChrome from webidl, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D22472
--HG--
extra : moz-landing-system : lando
2019-03-07 15:12:09 +00:00
Alex Gaynor
e5279ff3f7
Bug 1532727 - replace OptionalURIParams with URIParams? in IPDL; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D22138
--HG--
extra : moz-landing-system : lando
2019-03-06 14:05:50 +00:00
Henri Sivonen
7eb9ff208c
Bug 1524980 - Use RemoteFrameChild if present in nsFocusManager::Focus(). r=nika
...
Depends on D21913
Differential Revision: https://phabricator.services.mozilla.com/D21927
--HG--
extra : moz-landing-system : lando
2019-03-05 19:33:52 +00:00
Henri Sivonen
8d2a0bd7ac
Bug 1524977 - Use RemoteFrameChild if present in nsFocusManager::GetNextTabbableContent(). r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21913
--HG--
extra : moz-landing-system : lando
2019-03-05 19:33:09 +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
8b4e459999
Bug 1530550 - Synchronize mOpener and mIsActivatedByUserGesture with SYNCED_BC_FIELD, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D21134
--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:52 +00:00
Nika Layzell
3c1dfd1e77
Bug 1529684 - Part 3: Create BrowsingContext for remote iframes in embedder, r=farre
...
Depends on D21096
Differential Revision: https://phabricator.services.mozilla.com/D21097
--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:29 +00: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
Nika Layzell
95cc8c68c0
Bug 1529684 - Part 1: Allow Attaching BrowsingContext from parent to child, r=farre
...
This is important to allow creating BrowsingContexts outside of the process
where they are going to be used. This is largely a re-arrangement of existing
code.
There is currently no way to do this type of attaching for browsing contexts in
existing BrowsingContextGroups, which creates some limitations, but happens to
be sufficient for us in the current situation.
Differential Revision: https://phabricator.services.mozilla.com/D21095
--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:19 +00:00
John Dai
eb73069288
Bug 1527625 - Fill required arguments for ReceiveMessageArgument, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21987
--HG--
extra : moz-landing-system : lando
2019-03-05 17:12:40 +00:00
Nika Layzell
d99a73ae5b
Bug 1531163 - Add support for 'allFrames' and 'includeChrome' to JS Window Actors, r=jdai
...
Differential Revision: https://phabricator.services.mozilla.com/D21453
--HG--
extra : moz-landing-system : lando
2019-03-01 17:25:44 +00:00
Henri Sivonen
fe3241cdd4
Bug 1529237 - Use matrix instead of offset for converting between chrome and content process event coordinates in TabParent. r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D20634
--HG--
extra : moz-landing-system : lando
2019-03-04 17:35:47 +00:00
Alex Gaynor
dccb3bee8b
Bug 1531827
- replace OptionalLoadInfoArgs with LoadInfoArgs? in IPDL; r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D21722
--HG--
extra : moz-landing-system : lando
2019-03-04 06:30:00 +00:00
Jan Varga
2e11851013
Bug 1517089 - Part 13: Use separate IPC params and response for datastore preloading; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D19207
2019-02-08 21:02:11 +01:00
John Dai
12e61efb81
Bug 1526406 - Part 2: Add tests for observers on JS Window Actor Protocols. r=nika
...
Depends on D21364
Differential Revision: https://phabricator.services.mozilla.com/D21365
--HG--
extra : moz-landing-system : lando
2019-03-01 18:24:58 +00:00
John Dai
834792ab94
Bug 1526406 - Part 1: Add support for observers to JS Window Actor Protocols. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21364
--HG--
extra : moz-landing-system : lando
2019-03-01 18:24:55 +00:00
Ryan Hunt
12efcac84c
Bug 1527960 - Rename 'browser.fission.oopif.attribute' to 'fission.oopif.attribute'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21716
--HG--
extra : moz-landing-system : lando
2019-03-01 16:54:39 +00:00
Gurzau Raul
6b94d177d1
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-03-01 09:28:28 +02:00