[Webkit-unassigned] [Bug 219354] [GStreamer] SleepDisabler not created when "Skip Ads" is used to start a YouTube video
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 28 07:14:43 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=219354
Michael Catanzaro <mcatanzaro at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.webkit.org/sho
| |w_bug.cgi?id=219353
--- Comment #3 from Michael Catanzaro <mcatanzaro at gnome.org> ---
Simple debug patch:
diff --git a/Source/WebCore/PAL/pal/system/glib/SleepDisablerGLib.cpp b/Source/WebCore/PAL/pal/system/glib/SleepDisablerGLib.cpp
index 6f922e118afd..0b1dc294539b 100644
--- a/Source/WebCore/PAL/pal/system/glib/SleepDisablerGLib.cpp
+++ b/Source/WebCore/PAL/pal/system/glib/SleepDisablerGLib.cpp
@@ -41,6 +41,7 @@ SleepDisablerGLib::SleepDisablerGLib(const char* reason, Type type)
, m_cancellable(adoptGRef(g_cancellable_new()))
, m_reason(reason)
{
+WTFLogAlways("%s", __FUNCTION__);
// We ignore Type because we always want to inhibit both screen lock and
// suspend, but only when idle. There is no reason for WebKit to ever block
// a user from manually suspending the computer, so inhibiting idle
@@ -96,6 +97,7 @@ SleepDisablerGLib::SleepDisablerGLib(const char* reason, Type type)
SleepDisablerGLib::~SleepDisablerGLib()
{
+WTFLogAlways("%s", __FUNCTION__);
if (m_cancellable)
g_cancellable_cancel(m_cancellable.get());
else if (m_screenSaverCookie || m_inhibitPortalRequestObjectPath)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210628/6be47bf0/attachment-0001.htm>
More information about the webkit-unassigned
mailing list