Commit Graph

662724 Commits

Author SHA1 Message Date
Mihai Alexandru Michis
fbddadbfab Backed out 3 changesets (bug 1569681) for causing build bustages. CLOSED TREE
Backed out changeset 292cc6853e82 (bug 1569681)
Backed out changeset 4d0a7b968eb0 (bug 1569681)
Backed out changeset be9e5f8f00d0 (bug 1569681)
2019-07-29 23:21:01 +03:00
Carolina
824e154440 Bug 1567561 - Render real certificate information in about:certificate.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D38696

--HG--
extra : moz-landing-system : lando
2019-07-29 19:51:48 +00:00
Aaron Klotz
dd7121c289 Bug 1569681: Part 3 - Update mfbt/Attributes.h with new MOZ_STATIC_LOCAL_CLASS macro; r=Ehsan
I did not add a separate macro for `MOZ_TRIVIAL_DTOR` as I could not really
think of a use case for it. Let me know if you prefer that I add it as a
distinct macro.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 20:10:39 +00:00
Aaron Klotz
b08dc4e5de Bug 1569681: Part 2 - Add new clang-plugin tests for moz_static_local_class and moz_trivial_destructor attributes; r=Ehsan
These tests are based on `moz_global_class` and `moz_trivial_ctor_dtor` tests,
respectively, but adapted for the semantics of the new attributes.

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

--HG--
rename : build/clang-plugin/tests/TestGlobalClass.cpp => build/clang-plugin/tests/TestStaticLocalClass.cpp
rename : build/clang-plugin/tests/TestTrivialCtorDtor.cpp => build/clang-plugin/tests/TestTrivialDtor.cpp
extra : moz-landing-system : lando
2019-07-29 20:10:22 +00:00
Aaron Klotz
f6ac9f6aff Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan
This patch is in support of adding a variant of Static{Auto,Ref}Ptr for use as
static locals, taking advantage of C++11 "magic statics" such that we can lazily
initialize those variables in a thread-safe way.

In support of those classes, this patch adds two new attributes:

* `moz_static_local_class` to ensure that any instantiations of that class only
  occur as static local variables;
* `moz_trivial_dtor` to ensure that these classes do not implicitly call `atexit`
  and add a whole bunch of shutdown crap.

`moz_static_local_class` works similarly to `moz_global_class`, except that its
object must only instantiate as static locals.

`TrivialDtorChecker` is based on `TrivialCtorDtorChecker`, with the ctor-specific
bits removed.

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

--HG--
rename : build/clang-plugin/TrivialCtorDtorChecker.cpp => build/clang-plugin/TrivialDtorChecker.cpp
rename : build/clang-plugin/TrivialCtorDtorChecker.h => build/clang-plugin/TrivialDtorChecker.h
extra : moz-landing-system : lando
2019-07-29 20:10:01 +00:00
harry
18161330d5 Bug 1565273 - Context menu clicks ignore browser.urlbar.clickSelectsAll pref. Add tests for selectAll behaviour. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D37796

--HG--
extra : moz-landing-system : lando
2019-07-29 16:55:39 +00:00
Nika Layzell
a4f8f4db51 Bug 1550560 - Part 5: Remove unnecessary Alloc method for PBrowserBridge, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39536

--HG--
extra : moz-landing-system : lando
2019-07-29 19:54:21 +00:00
Nika Layzell
efac1124a9 Bug 1550560 - Part 4: Don't generate helper ctors for refcounted actors, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39535

--HG--
extra : moz-landing-system : lando
2019-07-29 19:54:20 +00:00
Nika Layzell
2698092f32 Bug 1550560 - Part 3: Make BrowserBridgeParent refcounted in IPDL, r=mccr8
This is an example refcounted actor which was easy enough to port over as an
initial test. More can be ported in the future, potentially alongside removing
`mIPCOpen`.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:54:18 +00:00
Nika Layzell
5853ed26e9 Bug 1550560 - Part 2: Generate logic for refcounted IPDL actors, r=mccr8
This takes the approach of directly tying the `AddRef()` and `Release()` calls
on the underlying actor object to the lifecycle of the ActorLifecycleProxy
object, by adding another virtual `ActorAlloc()` method as the counterpart to
`ActorDealloc()`.

The changes to the methods called from C++ are relatively minimal:

1. The `SendPFooConstructor(...)` methods have the same signature, but now will
   AddRef() internally (through `ActorAlloc()`), so an `do_AddRef(foo).take()`
   isn't needed. Same with the `{Bind,Open}PFooEndpoint` methods.

   This was done to reduce the number of invasive internal changes in the
   codegen which were required to pipe a passed-in `already_AddRefed` to the
   underlying `ActorLifecycleProxy` which is created by generic code.

2. The `AllocPFoo{Parent,Child}` methods have been modified to return an
   `already_AddRefed` by default, and the callsites will store the result in a
   `RefPtr<T>` if the type is refcounted.

3. No `DeallocPFoo...` method is called anymore. Unfortunately due to
   devirtualization, it won't be an error if an unused method is still present,
   though it won't be called.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:54:16 +00:00
Nika Layzell
17ed6763d2 Bug 1550560 - Part 1: Parse refcounted protocols in IPDL, r=mccr8
The syntax for the new construct looks like the following, and re-uses the
refcounted keyword from refcounted using statements:

async refcounted protocol PFoo { ... }

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:54:14 +00:00
Mihai Alexandru Michis
ab5f499ef3 Backed out 3 changesets (bug 1569681) for causing build bustages. CLOSED TREE
Backed out changeset 075b818a46fe (bug 1569681)
Backed out changeset 2c543b239808 (bug 1569681)
Backed out changeset 21ea6fea046e (bug 1569681)
2019-07-29 22:53:13 +03:00
Aaron Klotz
567add1b38 Bug 1569681: Part 3 - Update mfbt/Attributes.h with new MOZ_STATIC_LOCAL_CLASS macro; r=Ehsan
I did not add a separate macro for `MOZ_TRIVIAL_DTOR` as I could not really
think of a use case for it. Let me know if you prefer that I add it as a
distinct macro.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:38:37 +00:00
Aaron Klotz
efde6ee120 Bug 1569681: Part 2 - Add new clang-plugin tests for moz_static_local_class and moz_trivial_destructor attributes; r=Ehsan
These tests are based on `moz_global_class` and `moz_trivial_ctor_dtor` tests,
respectively, but adapted for the semantics of the new attributes.

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

--HG--
rename : build/clang-plugin/tests/TestGlobalClass.cpp => build/clang-plugin/tests/TestStaticLocalClass.cpp
rename : build/clang-plugin/tests/TestTrivialCtorDtor.cpp => build/clang-plugin/tests/TestTrivialDtor.cpp
extra : moz-landing-system : lando
2019-07-29 19:38:24 +00:00
Aaron Klotz
b802d4c147 Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan
This patch is in support of adding a variant of Static{Auto,Ref}Ptr for use as
static locals, taking advantage of C++11 "magic statics" such that we can lazily
initialize those variables in a thread-safe way.

In support of those classes, this patch adds two new attributes:

* `moz_static_local_class` to ensure that any instantiations of that class only
  occur as static local variables;
* `moz_trivial_dtor` to ensure that these classes do not implicitly call `atexit`
  and add a whole bunch of shutdown crap.

`moz_static_local_class` works similarly to `moz_global_class`, except that its
object must only instantiate as static locals.

`TrivialDtorChecker` is based on `TrivialCtorDtorChecker`, with the ctor-specific
bits removed.

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

--HG--
rename : build/clang-plugin/TrivialCtorDtorChecker.cpp => build/clang-plugin/TrivialDtorChecker.cpp
rename : build/clang-plugin/TrivialCtorDtorChecker.h => build/clang-plugin/TrivialDtorChecker.h
extra : moz-landing-system : lando
2019-07-29 19:40:19 +00:00
Ehsan Akhgari
5aacc9192f Bug 1569677 - Part 2: Move HTMLDocument.userInteractionForTesting to Document; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D39724

--HG--
extra : moz-landing-system : lando
2019-07-29 19:32:53 +00:00
Ehsan Akhgari
373fbdc037 Bug 1569677 - Part 1: Move the Safebrowsing helpers from HTMLDocument to Document; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D39723

--HG--
extra : moz-landing-system : lando
2019-07-29 19:32:51 +00:00
Matthew Noorenberghe
e8b9384922 Bug 1554458 - Increase min-width for login autocomplete popups. r=sfoster,flod
Regular login popups go to 17em whereas a popup containing password generation goes to 21em.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:35:53 +00:00
Vijay Budhram
d99505ac96 Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37961

--HG--
extra : moz-landing-system : lando
2019-07-29 16:21:22 +00:00
Kevin Morehouse
940cd11160 Bug 1566903 - Work-in-Progress Patch - Ensure that Ctrl/Cmd + F shortcut always re-selects the search bar query. r=jlast
This patch ensures that any existing query text in the search bar is highlighted when the Cmd/Ctrl + F shortcut is used.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:33:17 +00:00
Erica Wright
f403d7852a Bug 1563547 - Update app menu to lead to the protection report. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39549

--HG--
extra : moz-landing-system : lando
2019-07-29 19:15:11 +00:00
Kristen Wright
cdc44f7728 Bug 1559659 - 3. Get rid of per-thread jscontext instantiation and use the global pool instead r=jandem
Got rid of the per-thread JSContext created at the start of each thread. Tasks that require JSContext (ParseTasks, IonBuilder, Wasm tier 2 generators, GCParallel) now request an unused context to set to their thread. Tasks which do not use JSContext will not request one.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:09:00 +00:00
Kristen Wright
14ba95cb01 Bug 1559659 - 2. Create, initialize, destroy vector of JSContext* with GlobalHelperThreadState r=jandem
Created a vector of JSContext*, initialized at creation of GlobalHelperThreadState, destroyed when GlobalHelperThreadState.finish() is called. Note that this implementation makes the assumption that the creation and destruction of these objects always happens in the same order (helper thread state created -> main thread context created -> main thread context destroyed -> helper thread state destroyed). In this scenario context checks can clear by each context claiming the main thread during its ctor/dtor but this is only possible if the main thread context is not set at the time.

Also, removed GlobalHelperThreadState::lock() and unlock(), as they are not being used - AutoLockHelperThreadState is used instead.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:08:45 +00:00
Kristen Wright
8e396c03e4 Bug 1559659 - 1. Liberate TlsContext.set() process from JSContext ctor, add thread id ptr, make it possible to clear thread context & id without destroying JSContext r=jandem
Created SetThread/ClearThread functions to handle JSContext/tid setting/clearing & updated existing implementation of JSContext to reflect. CurrentThread is ContextData because JSContext should already have a "claim" on the thread if it's clearing these.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:03:13 +00:00
Timothy Nikkel
274b2a9485 Bug 1565542. We need to check to resolve image decode promises when we get the frame update notification too. r=aosmond
When we reload the document the destruction of the old document triggers a discard request for the image. If timing is right we haven't locked the image in the new document yet so it discards.

We call LoadImage on the image, it returns the existing entry from the image cache, but it needs to validate. When it validates we send out all the progress in the progress tracker already. This includes frame complete and decode complete even though we have no decoded surfaces for this image right now.

The RequestDecodeForSize call in nsImageLoadingContent::MaybeResolveDecodePromises triggers a decode. When the decode finishes we send a frame update notification but we never send frame complete or decode complete because those are permanent once they happen.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 13:05:14 +00:00
Andrei Lazar
95c2abace2 Bug 1566406 Upgrade Leanplum SDK from 3.0.2 to 4.2.7 r=petru
Differential Revision: https://phabricator.services.mozilla.com/D38675

--HG--
extra : moz-landing-system : lando
2019-07-24 14:27:19 +00:00
Drew Willcoxon
5638261f4a Bug 1568617 - Add a newtab option to browser.urlbar.topSites.get that returns the top sites exactly as shown on newtab r=mixedpuppy,Mardak
This is based on D39589, which moves the top sites API from toolkit to browser.

* Add a `newtab` option to `browser.urlbar.topSites.get` (similar to the abandoned D36200) that returns exactly the top sites shown on newtab
* Add a `AboutNewTab.getTopSites` function that returns those sites from activity stream
* Keep the changes made in bug 1547669

There are a couple of missing things related to the default top sites that this doesn't address but ideally we would have. I think we can come back to these if necessary.

* Actual favicons for the default top sites instead of using the bigger tile images since they don't seem to be the same for every site.
* Proper names names for the default sites. There's a `hostname` property, but it would be nice to have e.g. "YouTube" instead of "youtube".

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

--HG--
extra : moz-landing-system : lando
2019-07-29 18:30:59 +00:00
Andreea Pavel
68a1531201 Bug 1568717 - update redirect-https-downgrade.tentative.sub.html expectations r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39341

--HG--
extra : moz-landing-system : lando
2019-07-29 18:28:01 +00:00
lesleynorton
1b17257b95 Bug 1564539 - Add breach alerts to login items r=jaws,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D38571

--HG--
extra : moz-landing-system : lando
2019-07-29 17:54:23 +00:00
Cosmin Sabou
8e83d4b8ba Bug 1568835 - restore release_or_beta expectation metadata on the-audioworklet-interface tests. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39628

--HG--
extra : moz-landing-system : lando
2019-07-29 18:19:38 +00:00
Geoff Brown
2c32a72538 Bug 1569688 - Use e10s by default for geckoview mochitest; r=jmaher
The default, options.app == None, implies geckoview, with e10s.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:54:25 +00:00
Carolina
61f289efbe Bug 1567161 - Fixes leak sanitizer error.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39671

--HG--
extra : moz-landing-system : lando
2019-07-29 14:04:27 +00:00
Kristen Wright
05b0ade9f4 Bug 1569004 - Convert dom.timeout.enable_budget_timer_throttling to static pref. r=njn
Converts dom.timeout.enable_budget_timer_throttling from varcache pref to static pref, removes entry from all.js, adds entry to StaticPrefList.yaml. Uses the all.js value and not the value declared in TimeoutManager.cpp. Since this removes the last varcache pref from TimeoutManager::Initialize(), I also removed the Initialize() function and its call in nsGlobalWindowInner.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:14:48 +00:00
Kristen Wright
c6f7b5dbfa Bug 1569004 - Convert dom.timeout.budget_throttling_max_delay to static pref. r=njn
Converts dom.timeout.budget_throttling_max_delay varcache pref to static pref, removes entry from all.js, and adds entry to StaticPrefList.yaml

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:11:41 +00:00
kriswright
340d7a78d1 Bug 1569004 - Convert dom.timeout.foreground_throttling_max_budget to static pref. r=njn
Converts dom.timeout.foreground_throttling_max_budget to static pref, removes all.js entry, updates usage, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:09:34 +00:00
kriswright
17e79b1478 Bug 1569004 - Convert dom.timeout.background_throttling_max_budget to static pref. r=njn
Converts dom.timeout.background_throttling_max_budget varcache pref to static pref, removes all.js entry, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:06:08 +00:00
kriswright
f9c7a23a96 Bug 1569004 - Convert dom.timeout.foreground_budget_regeneration_rate to StaticPref. r=njn
Converts dom.timeout.foreground_budget_regeneration_rate varcache pref in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry in StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:32:25 +00:00
kriswright
a717c209a1 Bug 1569004 - Convert dom.timeout.background_budget_regeneration_rate to StaticPref. r=njn
Converts dom.timeout.background_budget_regeneration_rate varcache pref in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:42 +00:00
kriswright
8e4a9f02c1 Bug 1569004 - convert dom.disable_open_click_delay to StaticPref. r=njn
Converts dom.disable_open_click_delay from a VarCache pref in TimeoutManager.cpp to StaticPref, removes all.js entry, and corrects a typo where the value was mentioned in nsGlobalWindowInner.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 19:28:30 +00:00
kriswright
3d34dc8c5b Bug 1569004 - Convert dom.timeout.max_consecutive_callbacks_ms to static pref. r=njn
Converts dom.timeout.max_consecutive_callbacks_ms varcache pref in TimeoutManager.cpp to static pref, removes associated variables and all.js entry, and adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright
7c1f644ceb Bug 1569004 - Convert dom.timeout.throttling_delay to static pref. r=njn
Converts dom.timeout.throttling_delay in TimeoutManager.cpp from varcache pref to static pref, removes entry in all.js, and adds entry in StaticPrefList.yaml. Favors the all.js value over the declared value in TimeoutManager.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright
90656e48ae Bug 1569004 - Remove dom.min_tracking_timeout_value and dom.min_tracking_background_timeout_value varcache prefs. r=njn
Removes dom.min_tracking_timeout_value and dom.min_tracking_background_timeout_value, because they are never used.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright
49f219f27c Bug 1569004 - Convert dom.min_background_timeout_value to StaticPref. r=njn
Converts dom.min_background_timeout_value in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 19:21:47 +00:00
kriswright
0f96a859f0 Bug 1569004 - Convert dom.min_timeout_value to StaticPref r=njn
Converts dom.min_timeout_value varcache pref from TimeoutManager::Initialize() to a static pref, and removes its entry and associated constants from TimeoutManager.cpp and all.js

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

--HG--
extra : moz-landing-system : lando
2019-07-26 19:15:44 +00:00
Andrew Halberstadt
429fb9a444 Bug 1567264 - [mochitest] Add a convenience --enable-fission argument r=gbrown
This argument is an alias for '--setpref="fission.autostart=1"'.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:49:33 +00:00
Andrew Halberstadt
e3e6ea6d8e Bug 1567264 - [mozlog] Support log errors in the errorsummary and mach formatter r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39547

--HG--
extra : moz-landing-system : lando
2019-07-29 15:16:22 +00:00
Ryan Hunt
2094ef2928 Bug 1559965 - Wasm: Implement new atomic.fence instruction. r=bbouvier
This commit implements the 'atomic.fence' Wasm instruction.

Issue: https://github.com/WebAssembly/threads/issues/140
Overview: https://github.com/WebAssembly/threads/pull/141

The instruction is encoded as, 0xFE 0x03, with a reserved byte trailing for a future
memory order immediate. The instruction is implemented by emitting a memoryBarrier
through the macro assembler.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:26:45 +00:00
Drew Willcoxon
912ec74678 Bug 1569366 - Move the top sites API from toolkit to browser r=mixedpuppy
Bug 1547669 added some things to the top sites API, but it turned out to be not quite what we (the quantumbar team) needed (see bug 1568617). What we need is the list of top sites exactly as it appears on newtab. That list is determined by activity stream, which lives in browser. But the top sites API lives in toolkit.

There was an earlier, now abandoned revision for that bug [1] where it was suggested that top sites be moved to browser. So we should do that.

[1] https://phabricator.services.mozilla.com/D36200

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

--HG--
rename : toolkit/components/extensions/parent/ext-topSites.js => browser/components/extensions/parent/ext-topSites.js
rename : toolkit/components/extensions/schemas/top_sites.json => browser/components/extensions/schemas/top_sites.json
rename : toolkit/components/extensions/test/xpcshell/test_ext_topSites.js => browser/components/extensions/test/xpcshell/test_ext_topSites.js
extra : moz-landing-system : lando
2019-07-29 17:00:19 +00:00
Nika Layzell
7d9769c5e3 Bug 1565405 - Fail async ctor call if !Manager()->CanSend(), r=froydnj
The previous behaviour of failing unconditionally was performed as, during
shutdown, the channel could become unable to send without worker threads having
a chance to react. This change keeps that behaviour, isolating async message
senders from impending IPC shutdown, while performing expected actor teardown if
the manager actor has already been destroyed, and should no longer send messages.

An alternate behaviour here could be to crash if !Manager()->CanSend(). That
behaviour may be preferable if a sufficient number of callsites don't check the
return value of the `SendPFooConstructor()` method.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 16:37:40 +00:00
Jon Coppeard
039889ae92 Bug 1568476 - Root ScriptQuery::innermostForRealm for consistency and in case this ever becomes a hazard r=sfink?
Depends on D39201

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

--HG--
extra : moz-landing-system : lando
2019-07-24 17:28:41 +00:00