diff options
author | Moonchild <moonchild@palemoon.org> | 2022-01-11 15:34:17 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-08 00:55:37 +0200 |
commit | 56d9003017a94e7619f98e76b04929115514d08c (patch) | |
tree | 952bd79e8cb7cfa2d071b6dbf13d95caed9d24fa /widget | |
parent | e49b80dba7393d5baff831251f7981bc21324d81 (diff) | |
download | uxp-56d9003017a94e7619f98e76b04929115514d08c.tar.gz |
Issue #953 - Neuter the user-facing controls for e10s
This should prevent people using a massive footgun that would blow off
their entire legs. Requires appropriate FE changes.
Diffstat (limited to 'widget')
-rw-r--r-- | widget/PuppetWidget.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/widget/PuppetWidget.cpp b/widget/PuppetWidget.cpp index 657f70551d..35496d4971 100644 --- a/widget/PuppetWidget.cpp +++ b/widget/PuppetWidget.cpp @@ -1172,14 +1172,6 @@ PuppetWidget::MemoryPressureObserver::Remove() bool PuppetWidget::NeedsPaint() { - // e10s popups are handled by the parent process, so never should be painted here - if (XRE_IsContentProcess() && - Preferences::GetBool("browser.tabs.remote.desktopbehavior", false) && - mWindowType == eWindowType_popup) { - NS_WARNING("Trying to paint an e10s popup in the child process!"); - return false; - } - return mVisible; } |