summaryrefslogtreecommitdiff
path: root/mozilla-1434565.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-03-06 15:00:42 +0100
committerMartin Stransky <stransky@redhat.com>2018-03-06 15:00:42 +0100
commitbee8e7456aef10b3298647cb20f73f7b5803c852 (patch)
treecbfc930f57395b21dcbc6b1cfe3fa562e165ee97 /mozilla-1434565.patch
parentFix prefs because of rpm (diff)
parentFix crash when e10s is disabled and default wl_queue is processed. (diff)
downloadlibrewolf-fedora-ff-bee8e7456aef10b3298647cb20f73f7b5803c852.tar.gz
librewolf-fedora-ff-bee8e7456aef10b3298647cb20f73f7b5803c852.tar.bz2
librewolf-fedora-ff-bee8e7456aef10b3298647cb20f73f7b5803c852.zip
Merged with firefox-59
Diffstat (limited to 'mozilla-1434565.patch')
-rw-r--r--mozilla-1434565.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/mozilla-1434565.patch b/mozilla-1434565.patch
new file mode 100644
index 0000000..bb42348
--- /dev/null
+++ b/mozilla-1434565.patch
@@ -0,0 +1,16 @@
+diff -up mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/toolkit/components/remote/nsDBusRemoteService.cpp.1434565 mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/toolkit/components/remote/nsDBusRemoteService.cpp
+--- mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/toolkit/components/remote/nsDBusRemoteService.cpp.1434565 2018-02-01 14:14:38.902873024 +0100
++++ mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/toolkit/components/remote/nsDBusRemoteService.cpp 2018-02-01 14:18:02.906281711 +0100
+@@ -89,7 +89,11 @@ nsDBusRemoteService::OpenURL(DBusMessage
+ errorMsg = nsPrintfCString("org.mozilla.%s.Error", mAppName.get());
+ reply = dbus_message_new_error(msg, errorMsg.get(), "Wrong argument");
+ } else {
+- nsRemoteService::HandleCommandLine(commandLine, nullptr, 0);
++ guint32 timestamp = gtk_get_current_event_time();
++ if (timestamp == GDK_CURRENT_TIME) {
++ timestamp = guint32(g_get_monotonic_time() / 1000);
++ }
++ nsRemoteService::HandleCommandLine(commandLine, nullptr, timestamp);
+ reply = dbus_message_new_method_return(msg);
+ }
+
bgstack15