WebKit Bugzilla
Attachment 369579 Details for
Bug 197791
: The active tab sometimes app naps even though it should not
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197791-20190510120542.patch (text/plain), 1.40 KB, created by
Chris Dumez
on 2019-05-10 12:05:43 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Chris Dumez
Created:
2019-05-10 12:05:43 PDT
Size:
1.40 KB
patch
obsolete
>Subversion Revision: 245177 >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index 22958a558829279cf5f38d04aa47877748e5d6cd..a5a578d0699d6dc7ab73be9deda46963983cfb48 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,16 @@ >+2019-05-10 Chris Dumez <cdumez@apple.com> >+ >+ The active tab sometimes app naps even though it should not >+ https://bugs.webkit.org/show_bug.cgi?id=197791 >+ <rdar://problem/48460054> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ The WebPage constructor was initializing m_activityState but not calling updateThrottleState(). >+ As a result, we would not take a UserActivity even when warranted by the initial activity state. >+ >+ * WebProcess/WebPage/WebPage.cpp: >+ > 2019-05-10 Michael Catanzaro <mcatanzaro@igalia.com> > > [WPE][GTK] Add webkit_frame_get_id() API >diff --git a/Source/WebKit/WebProcess/WebPage/WebPage.cpp b/Source/WebKit/WebProcess/WebPage/WebPage.cpp >index 944bea5404669dbbed857dae48de789eaf0c0107..4217c6550a430eff772d4e768996346dedeb2888 100644 >--- a/Source/WebKit/WebProcess/WebPage/WebPage.cpp >+++ b/Source/WebKit/WebProcess/WebPage/WebPage.cpp >@@ -676,6 +676,8 @@ WebPage::WebPage(uint64_t pageID, WebPageCreationParameters&& parameters) > #if USE(AUDIO_SESSION) > PlatformMediaSessionManager::setShouldDeactivateAudioSession(true); > #endif >+ >+ updateThrottleState(); > } > > #if ENABLE(WEB_RTC)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197791
: 369579