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

7123 Коммитов

Автор SHA1 Сообщение Дата
Kashav Madan 4ea86a1e83 Bug 1580176 - Part 1: Make some common actor utility methods virtual, r=nika
Adds GetManager on JSWindowActor (returns the associated WindowGlobalActor),
and IsInProcess on WindowGlobalActor (returns whether the actor is in process
or not).

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

--HG--
extra : moz-landing-system : lando
2020-03-06 18:10:38 +00:00
Ehsan Akhgari 5a4c537105 Bug 1620322 - Part 1: Refactor the code for content blocking allow list out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65662

--HG--
extra : moz-landing-system : lando
2020-03-06 16:36:01 +00:00
Simon Giesecke ac33c1f119 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/ipc. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D65179

--HG--
extra : moz-landing-system : lando
2020-03-06 09:11:40 +00:00
alwu 1d40019c19 Bug 1592037 - part3 : notifty updating media session's metadata. r=MeFisto94
Whenever media session's metadata changes in the content process, we would like to propogate the updated metadata to the media controller in the parent process in order to show that in the virtual media control interface, which would only be set in the chrome process.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 20:58:54 +00:00
Tim Huang 04d44bae12 Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan
Given that we are going to add ContentBlockingAllowList in
CookieSettings, so CookieSettings will be responsible for more stuff than the
cookie behavior and cookie permission. We should use a proper name to
reflect the purpose of it. The name 'CookieSettings' is misleading that
this is only for cookie related stuff. So, we decide to rename
'CookieSettins' to 'CookieJarSettings' which serves better meaning here.

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

--HG--
rename : netwerk/cookie/CookieSettings.cpp => netwerk/cookie/CookieJarSettings.cpp
rename : netwerk/cookie/nsICookieSettings.idl => netwerk/cookie/nsICookieJarSettings.idl
extra : moz-landing-system : lando
2020-03-04 08:59:08 +00:00
Makoto Kato 6279258383 Bug 1503656 - Part 7. Notify of safe area insets changed. r=smaug
Since safe area insets uses on content, we need send it from chrome process to
content process.

SafeAreaInsetsChanged will be called per window position/size change (Next
patch is Android implementation for it), we have to calculate safe area insets
on widget/window per change.

Current implementation is that this value is top level document only like Blink
since https://github.com/w3c/csswg-drafts/issues/4670 isn't resolved yet.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 08:16:31 +00:00
Csoregi Natalia aa5b814fee Backed out 6 changesets (bug 1503656) as per request. CLOSED TREE
Backed out changeset 27faa3b167a9 (bug 1503656)
Backed out changeset 7111f9b5ad06 (bug 1503656)
Backed out changeset 43fdc889beac (bug 1503656)
Backed out changeset 332ceea26151 (bug 1503656)
Backed out changeset f31efa4ea2ec (bug 1503656)
Backed out changeset 91b847efe591 (bug 1503656)
2020-03-04 10:07:42 +02:00
Makoto Kato 00949ff265 Bug 1503656 - Part 7. Notify of safe area insets changed. r=smaug
Since safe area insets uses on content, we need send it from chrome process to
content process.

SafeAreaInsetsChanged will be called per window position/size change (Next
patch is Android implementation for it), we have to calculate safe area insets
on widget/window per change.

Current implementation is that this value is top level document only like Blink
since https://github.com/w3c/csswg-drafts/issues/4670 isn't resolved yet.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 07:28:04 +00:00
Matt Woodrow 0b6366e23e Bug 1617434 - Don't recreate ClientSource when we process switch. r=perry
Now that we're guaranteed to not have an existing ClientSource in the old process, we no longer need to allocate a new ClientInfo in the new process.
This lets us just create a ClientSource around the ClientInfo already on the channel (exactly as we do for same-process loads), and we no longer need to reconcile changes with the parent.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 02:47:57 +00:00
Daniel Varga 8d900cf3ef Backed out changeset e51b4e883adc (bug 1507287) for not having proper review 2020-03-03 18:23:07 +02:00
Alphan Chen 9ead74bd10 Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D46281

--HG--
extra : moz-landing-system : lando
2020-03-03 16:16:03 +00:00
Mihai Alexandru Michis f049ee5a93 Backed out 4 changesets (bug 1589493) for causing failures in test_process_error_oom.xhtml
CLOSED TREE

Backed out changeset d914e968de2c (bug 1589493)
Backed out changeset 2c23fed6b2ff (bug 1589493)
Backed out changeset 416b95911b6d (bug 1589493)
Backed out changeset 47e745b389d0 (bug 1589493)
2020-03-03 12:21:11 +02:00
David Teller 726cc381c7 Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2020-03-03 08:35:09 +00:00
David Teller c04d208ad5 Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129

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

--HG--
extra : moz-landing-system : lando
2020-03-03 08:34:29 +00:00
Oana Pop Rus 9f4dae4db5 Backed out 4 changesets (bug 1589493) for mochitest multiple failures in test_process_error_oom.xhtml on a CLOSED TREE
Backed out changeset 6ab5b9391f95 (bug 1589493)
Backed out changeset 4c3d736d0259 (bug 1589493)
Backed out changeset 8e5458038d38 (bug 1589493)
Backed out changeset 716e6cd5245f (bug 1589493)
2020-03-02 15:57:39 +02:00
David Teller 4d433f1b47 Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2020-03-02 11:24:21 +00:00
David Teller 7706533531 Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129

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

--HG--
extra : moz-landing-system : lando
2020-03-02 11:22:13 +00:00
Matt Woodrow ba75e2fd89 Bug 1615966 - Try to compute topWindowURI/contentblockingallowlistprincipal in the parent process for DocumentChannel. r=nika,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63041

--HG--
extra : moz-landing-system : lando
2020-03-01 19:25:01 +00:00
Andrew McCreight 4babb2b5ab Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 17:39:15 +00:00
Boris Zbarsky aa65e88c73 Bug 911444 part 2. Allow sending an nsIPrincipal in a variant over IPC. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63708

--HG--
extra : moz-landing-system : lando
2020-02-27 14:54:53 +00:00
Daniel Varga 860a0279eb Backed out 4 changesets (bug 1589493) for causing mochitest failures at dom/ipc/tests/test_process_error.xhtml
CLOSED TREE

Backed out changeset 5b1b813bbdab (bug 1589493)
Backed out changeset aed44db455c4 (bug 1589493)
Backed out changeset 9f357dded30f (bug 1589493)
Backed out changeset 87c463f53ea9 (bug 1589493)

--HG--
extra : amend_source : 0b1fb8afac0d4cd7ee5680fb88fbd5ce5b99688f
2020-02-27 16:31:56 +02:00
David Teller a43f540f7d Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2020-02-27 13:21:36 +00:00
David Teller aa195f1a76 Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129

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

--HG--
extra : moz-landing-system : lando
2020-02-27 11:05:14 +00:00
Daniel Varga 1e0ceaa672 Backed out 4 changesets (bug 1589493) for causing mochitest failure at dom/ipc/tests/test_process_error_oom.xhtml
CLOSED TREE

Backed out changeset 46183b72cf37 (bug 1589493)
Backed out changeset 3621ad792a38 (bug 1589493)
Backed out changeset 4c242e542545 (bug 1589493)
Backed out changeset f0ab64c7765b (bug 1589493)

--HG--
extra : rebase_source : 74643ea36f7fc0d90647bc79c939e36fdeb14839
2020-02-27 12:52:39 +02:00
David Teller f370e3346e Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2020-02-26 20:32:35 +00:00
David Teller 7dd5bc5b03 Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129

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

--HG--
extra : moz-landing-system : lando
2020-02-26 20:30:54 +00:00
Ciure Andrei 00dd87f6f4 Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE
--HG--
extra : histedit_source : b2c748e31e0f6ba8fcf9960a336e0bbd361b07e6
2020-02-27 07:05:19 +02:00
Andrew McCreight b197e1f783 Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 04:43:48 +00:00
Nika Layzell 9a986dc911 Bug 1617063 - Part 3: Allow creating WindowContext for discarded, but not cleaned up, BrowsingContexts, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64225

--HG--
extra : moz-landing-system : lando
2020-02-26 18:22:31 +00:00
Nika Layzell 73c537ec74 Bug 1617063 - Part 2: Share mBrowsingContext field between WindowGlobalParent and WindowContext, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64224

--HG--
extra : moz-landing-system : lando
2020-02-26 18:21:07 +00:00
Nika Layzell 09ea5ff76e Bug 1617063 - Part 1: Remove duplicate InnerWindowId and OuterWindowId fields from WindowGlobalParent, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64223

--HG--
extra : moz-landing-system : lando
2020-02-26 18:19:17 +00:00
Coroiu Cristina 9d56d9389b Backed out 4 changesets (bug 1589493) for multiple failures and crashes on CrashReporterHost on a CLOSED TREE
Backed out changeset 59fc685edca2 (bug 1589493)
Backed out changeset 275b66a8c77a (bug 1589493)
Backed out changeset 23601d10e69d (bug 1589493)
Backed out changeset e8e7bc5c8a00 (bug 1589493)
2020-02-26 18:11:44 +02:00
David Teller 048a2c638e Bug 1605072 - Updating assertion check in MinTabSelect;r=nika
Forgot a negation in the assertion check. Ideally, this should be squashed with a previous patch
but this would require backouting a patch for a one-character change, so adding this patch separately.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 15:10:50 +00:00
David Teller dff8adaa9a Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2020-02-26 14:52:55 +00:00
David Teller d35076d793 Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129

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

--HG--
extra : moz-landing-system : lando
2020-02-25 18:16:31 +00:00
Kris Maglione c31aa68fb4 Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00:00
Olli Pettay d9972ce888 Bug 1561488 - null check document in RecvUIResolutionChanged and RecvThemeChanged, r=bdahl
These were the worrisome missing null checks I noticed, and crash-stat shows that there areactually crashes in these two places

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

--HG--
extra : moz-landing-system : lando
2020-02-25 18:05:57 +00:00
Noemi Erli b3a7ad66b1 Backed out 4 changesets (bug 1589493) for causing lint failure in test_process_error_oom.xhtml
Backed out changeset 9dbe0bdd321b (bug 1589493)
Backed out changeset 900ec6b447c9 (bug 1589493)
Backed out changeset 3f7c15d29416 (bug 1589493)
Backed out changeset c1bc7695e720 (bug 1589493)
2020-02-25 20:10:35 +02:00
David Teller 2b49f57fa1 Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2020-02-25 17:38:47 +00:00
David Teller 713124183d Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129

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

--HG--
extra : moz-landing-system : lando
2020-02-25 17:37:29 +00:00
Simon Giesecke aaf6cb4e75 Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63899

--HG--
extra : moz-landing-system : lando
2020-02-25 17:03:36 +00:00
Olli Pettay d46a226467 Bug 1577432 - Null check document in BrowserChild::RecvSizeModeChanged, r=bdahl
Based on crash stats the crash is null+offset, and I think the issue can happen during closing down
BrowserChild if there is a pending RecvSizeModeChanged message.
The crash has been there for ages, I think since bug 1104916

Note, BrowserChild::RecvUpdateDimensions does have a null check for the document.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 00:07:04 +00:00
Dorel Luca 1def5d818a Backed out 4 changesets (bug 911444) for Mochitest failures in dom/base/test/test_pdf_print.html. CLOSED TREE
Backed out changeset d156bbaabbd5 (bug 911444)
Backed out changeset a32592af0b11 (bug 911444)
Backed out changeset b96d0a37ed1a (bug 911444)
Backed out changeset fd2e3e8728d9 (bug 911444)
2020-02-25 00:11:50 +02:00
Boris Zbarsky 18a2411b3d Bug 911444 part 2. Allow sending an nsIPrincipal in a variant over IPC. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63708

--HG--
extra : moz-landing-system : lando
2020-02-21 21:48:21 +00:00
Kartikaya Gupta 85c3d9e6a5 Bug 1617565 - Convert additional compile-conditional logging bits to MOZ_LOG. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D63868

--HG--
extra : moz-landing-system : lando
2020-02-24 16:31:04 +00:00
Ehsan Akhgari a8ca0713ed Bug 1614831 - Speed up the transmission of permissions to content processes upon navigation; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D63674

--HG--
extra : moz-landing-system : lando
2020-02-24 15:21:51 +00:00
Matt Woodrow 230ce652a1 Bug 1614847 - Copy the load type across to the new nsDocShellLoadState. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63268

--HG--
extra : moz-landing-system : lando
2020-02-24 02:17:01 +00:00
Matt Woodrow ebf189ed47 Bug 1614847 - Construct nsDocShellLoadState in ContentChild to avoid needing to pass excess parameters into nsDocShell. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63267

--HG--
extra : moz-landing-system : lando
2020-02-24 02:16:24 +00:00
Arnaud Renevier 9d7abb9383 Bug 1607364 - CrashReporting API r=baku
Implement Crash Report for Reporting API.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 17:40:30 +00:00
Nika Layzell 199effbc30 Bug 1615403 - Part 9: Remove old BrowsingContext & WindowContext serializers, r=farre
These serializers have been superceded by the new
MaybeDiscarded<BrowsingContext> and MaybeDiscarded<WindowContext> serializers
added in earlier parts.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:56 +00:00
Nika Layzell 83006b3472 Bug 1615403 - Part 8: Use MaybeDiscarded for new focus methods, r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D63374

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:54 +00:00
Nika Layzell 38b8556d89 Bug 1615403 - Part 7: Use MaybeDiscarded for PExternalAppHelperParent, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D62934

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:52 +00:00
Nika Layzell b614aeff7b Bug 1615403 - Part 6: Use MaybeDiscarded for WindowGlobalInit, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D62837

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:50 +00:00
Nika Layzell 9fef430436 Bug 1615403 - Part 5: Use MaybeDiscarded for RestoreBrowsingContextChildren, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D62836

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:47 +00:00
Nika Layzell 86a0f60017 Bug 1615403 - Part 4: Use MaybeDiscarded for PSHistory, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D62835

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:45 +00:00
Nika Layzell 930087d6c6 Bug 1615403 - Part 3: Use MaybeDiscarded for postMessage source, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D62834

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:38 +00:00
Nika Layzell 476ad24af9 Bug 1615403 - Part 2: Use MaybeDiscarded for direct IPC arguments, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D62833

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:35 +00:00
Nika Layzell 77393e07dd Bug 1615403 - Part 1: Introduce a new MaybeDiscarded type, r=farre
Adds a new MaybeDiscarded wrapper type which allows sending a maybe-discarded
BrowsingContext over IPC to another process which must be explicitly checked for
nullness and discarded status before being used.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:33 +00:00
alwu b47157c216 Bug 1611328 - part1 : update document title via WindowGlobal r=nika
In order to generate media default metadata, we need to know document's title in the media session controller.

Therefore, store this property in `WindowGlobal` to allow we access document's title in chrome process.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 19:04:23 +00:00
Aaron Klotz e377847a3f Bug 1616562: Do not call GeckoProcessManager::MarkAsDead unless the ContentParent lifecycle state is ALIVE; r=geckoview-reviewers,snorp
`OtherPid()` release asserts when the process has not connected.

Since `MarkAsDead` is called under both success and failure conditions, we must
ensure that we are running under a success condition (ie, we successfully
started but are now shutting down) before we call into `GeckoProcessManager`.

Note that, in the failure case, `GeckoProcessManager` is already aware that the
process is not alive by virtue of the fact that it was responsible for creating
the process in the first place; it already saw the failure.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 21:12:05 +00:00
Simon Giesecke 9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Andrea Marchesini 688f40008c Bug 1577040 - Part 7: Get rid of nsIClassifiedChanel::IsTrackingResource(), r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63305

--HG--
extra : moz-landing-system : lando
2020-02-20 07:30:30 +00:00
Andrea Marchesini 58c13b1a1e Bug 1577040 - Part 4: Get rid of nsIClassifiedChannel::IsSocialTrackingResource(), r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63302

--HG--
extra : moz-landing-system : lando
2020-02-20 07:29:24 +00:00
Andrea Marchesini 09465dbf49 Bug 1577040 - Part 0: nsIClassifiedChannel.isThirdPartySocialTrackingResource(), r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63298

--HG--
extra : moz-landing-system : lando
2020-02-20 07:26:54 +00:00
Dorel Luca d5f9df8ee1 Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985)
Backed out changeset fb6d62b7f28d (bug 1613985)
2020-02-19 22:22:41 +02:00
Simon Giesecke 59b23375c0 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 18:05:38 +00:00
David Teller f4fcc09d90 Bug 1605072 - Rewriting ContentParent::GetNewOrUsedBrowserProcess;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D60499

--HG--
extra : moz-landing-system : lando
2020-02-18 18:53:17 +00:00
Jed Davis ee171b6406 Bug 1615155 - Don't generate default `Recv__delete__` if there are args. r=nika
The default method implementations cause problems when trying to
override them with different types in a direct call class.

For the `Recv__delete__` case there's a simple solution: omit it if
there are any arguments, because it doesn't make much sense to specify
arguments and then completely ignore them, and the no-arg case isn't a
problem for overriding.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 20:46:21 +00:00
Arthur Iakab d5dfd41c95 Backed out 2 changesets (bug 1605072) for causing reftest failures with splitText-normalize.html.
CLOSED TREE

Backed out changeset f9d038830cda (bug 1605072)
Backed out changeset 9431489d2688 (bug 1605072)
2020-02-18 17:58:31 +02:00
David Teller e5af5aaf62 Bug 1605072 - Rewriting ContentParent::GetNewOrUsedBrowserProcess;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D60499

--HG--
extra : moz-landing-system : lando
2020-02-18 14:02:01 +00:00
Henri Sivonen ac7d3f7b2a Bug 1556627 - Make nsFocusManager::SetFocus work in Fission. r=NeilDeakin,farre,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D55651

--HG--
extra : moz-landing-system : lando
2020-02-18 13:30:04 +00:00
shindli bc91508b05 Backed out 2 changesets (bug 1605072) for causing reftest failures in layout/reftests/selection/splitText-normalize-ref.html CLOSED TREE
Backed out changeset 973f1e5baebf (bug 1605072)
Backed out changeset 038b50303733 (bug 1605072)
2020-02-17 21:39:58 +02:00
David Teller 361a4f6284 Bug 1605072 - Rewriting ContentParent::GetNewOrUsedBrowserProcess;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D60499

--HG--
extra : moz-landing-system : lando
2020-02-17 17:31:32 +00:00
Emilio Cobos Álvarez 7dbe3f32c3 Bug 1615609 - Rename nsRefreshDriver::IntersectionObservationAdded. r=hiro
The existing name is wrong since recently.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 07:23:51 +00:00
sotaro 385addd8c7 Bug 1614570 - Make VRManagerChild life time handling more like CompositorManagerChild r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D62710

--HG--
extra : moz-landing-system : lando
2020-02-14 15:10:40 +00:00
Mihai Alexandru Michis 7a12252825 Backed out changeset 93c88e36d8ea (bug 1615609) for causing bustages in DOMIntersectionObserver.cpp
CLOSED TREE
2020-02-15 03:17:43 +02:00
Emilio Cobos Álvarez bb6f2791e3 Bug 1615609 - Rename nsRefreshDriver::IntersectionObservationAdded. r=hiro
The existing name is wrong since recently.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 21:16:06 +00:00
Boris Zbarsky 6c66fa85a4 Bug 1615022 part 2. Require an rvalue reference to reject a Promise with an ErrorResult. r=farre,kvark
The rejection process consumes the ErrorResult, so an rvalue reference is the honest thing here.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 15:42:30 +00:00
Hiroyuki Ikezoe 796e6049b6 Bug 1550800 - Call BrowserParent::UpdateDimensions() in BrowserBridgeParent::RecvUpdateDimensions. r=nika,hsivonen
So that we can get the correct client offset value and store other metrics
there and reuse them when the top browser window moves.

The client offset, browser window title bar and window decorated frame width,
is necessary to get element positions in OOP iframes in screen coordinates
for drag-and-drop etc.

This change also fixes event.screen{X,Y}. A mochitest in this commit fails
without this change with enabling fission at least on Linux. Note that in the
mochitest we have to use nsIDOMWindowUtils.synthesizeNativeMouseClick instead
of nsIDOMWindowUtils.sendMouseEvent since sendMouseEvent doesn't work in fission
world (bug 1528935).

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

--HG--
extra : moz-landing-system : lando
2020-02-13 22:30:56 +00:00
Simon Giesecke b50347f917 Bug 1611415 - Prefer using std::move over forget. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
shindli 91aa0518dd Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE 2020-02-12 20:13:29 +02:00
Simon Giesecke f604a47fa5 Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
alwu f4e6a6b835 Bug 1611332 - part3 : notify media session being created and destroyed. r=chunmin,bzbarsky
Update media session status from the content process to the chrome process in order to track all alive media session.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 09:30:03 +00:00
Hiroyuki Ikezoe b7929f74c3 Bug 1614573 - Don't use EffectsInfo.mVisibleRect in BrowserChild::GetTopLevelViewportVisibleRectInSelfCoords(). r=emilio
It's not clipped by scroll viewports at all.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 22:04:01 +00:00
Andrew McCreight 2dd1938ded Bug 1605218 - Add telemetry for large window actor messages that we didn't send. data-review=nshadowen r=jdai
Collecting this telemetry will let us fix the large messages, if they
are common.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 20:44:24 +00:00
Ehsan Akhgari 9a797d2cc9 Bug 1614353 - Remove the remaining usages of nsIPrincipal::GetURI() in AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D62334

--HG--
extra : moz-landing-system : lando
2020-02-11 09:33:32 +00:00
Hiroyuki Ikezoe b9fb72c857 Bug 1599795 - Make IntersectionObserver work in fission world. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61938

--HG--
extra : moz-landing-system : lando
2020-02-11 03:59:14 +00:00
Hiroyuki Ikezoe 1c0f15006d Bug 1599795 - Rename BrowserChild::GetRemoteDocumentRect to GetTopLevelViewportVisibleRectInBrowserCoords. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62183

--HG--
extra : moz-landing-system : lando
2020-02-11 03:35:56 +00:00
Hiroyuki Ikezoe 03eb44ed69 Bug 1599795 - Trigger UpdateIntersectionObservation in response to APZ changes. r=emilio
In out-of-process iframes, the refresh driver for the iframe process doesn't
trigger the UpdateIntersectionObservation function in cases where ancestor
document's viewports change because there is no way to know it happens inside
the iframe process.  So instead, we trigger the function in
BrowserChild::RecvChildToParentMatrix which is called in response to APZ.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 03:35:38 +00:00
Emilio Cobos Álvarez 14a5089845 Bug 1614208 - Remove unused WritingMode ipdl include. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D62168

--HG--
extra : moz-landing-system : lando
2020-02-11 01:22:22 +00:00
David Major 9457524c37 Bug 1613606 - Use nsIPrincipal in BlobURLRegistrationData r=nika
clang-10 hits a -Werror in IPDL headers about Principal's copy constructor not being explicitly defined. We could go and fix that constructor, but in light of bug 1443956, I'm guessing it's not really a bad thing to have a discouragement against Principal when nsIPrincipal is now usable directly.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 20:52:56 +00:00
Tetsuharu OHZEKI 1d1408a093 Bug 1597449 - Remove mozilla::dom::BrowserChild::Send/RecvSetWindowName() to remove usages of nsIDocShellTreeItem. r=kmag
Instead we should set a name to BrowsingContext directly.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 20:27:30 +00:00
Gabriele Svelto db44316423 Bug 1614337 - Turn dom.ipc.tabs.createKillHardCrashReports into a static preference r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D62268

--HG--
extra : moz-landing-system : lando
2020-02-10 22:36:37 +00:00
Tetsuharu OHZEKI 9934259eac Bug 1612483 - Remove mozilla::dom::TabContext::IsMozBrowser(). r=bzbarsky
Now, this method returns simply the result of of `IsMozBrowserElement()`.

In the old days, We used to have IsMozBrowserElement and IsMozBrowserOrApp,
where the latter was true if we had a mozapp or mozbrowser.
But with b2g removed, the app thing went away.

`IsMozBrowser()` is less used than `IsMozBrowserElement()`.

I think the former should be replaced by the later one.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 16:27:49 +00:00
Nika Layzell c56289e054 Bug 1557739 - Be more consistent with IPC Transport APIs, r=jld
Differential Revision: https://phabricator.services.mozilla.com/D60285

--HG--
extra : moz-landing-system : lando
2020-02-06 22:41:56 +00:00
Nika Layzell 9f47c9648c Bug 1611457 - Respect script blocker in JSWindowActor, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D61354

--HG--
extra : moz-landing-system : lando
2020-02-04 18:16:07 +00:00
Kris Maglione 1722817403 Bug 1582832: Part 1 - Make FrameLoader owner rather than DocShell responsible for discarding a BC. r=nika
There are all sorts of lifecycle issues which arise from making DocShell
responsible for discarding BrowsingContexts. In this particular bug, we tend
to run into them in cases where we create a BrowsingContext for a FrameLoader,
and then never create a DocShell for it, leading to it never being destroyed.
But there are myriad other issues as well.

This patch moves the responsibility for BrowsingContext lifecycle management
to the FrameLoader/FrameLoaderOwner, rather than the DocShell, which makes
things more consistent, and more closely aligns with spec-defined behavior.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 19:07:56 +00:00
Andrea Marchesini d59cd20bc8 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 8 - usage of IsSharedMemoryAllowed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61278

--HG--
extra : moz-landing-system : lando
2020-02-06 13:51:07 +00:00
Andrea Marchesini 8220fd1ad9 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 6 - CloneDataPolicy.allowSharedMemoryObjects(), r=sfink,smaug
Differential Revision: https://phabricator.services.mozilla.com/D61276

--HG--
extra : moz-landing-system : lando
2020-02-06 13:49:28 +00:00
Andrea Marchesini b13b3b72d2 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 2 - CloneDataPolicy in writing, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61182

--HG--
extra : moz-landing-system : lando
2020-02-06 13:46:25 +00:00