RESOLVED DUPLICATE of bug 165158 163873
REGRESSION (r207424): ERROR: Unhandled web process message 'WebPage:SetPageSuppressed'
https://bugs.webkit.org/show_bug.cgi?id=163873
Summary REGRESSION (r207424): ERROR: Unhandled web process message 'WebPage:SetPageSu...
Michael Catanzaro
Reported 2016-10-23 12:10:51 PDT
This error prints once when opening every page: ERROR: Unhandled web process message 'WebPage:SetPageSuppressed' ../../Source/WebKit2/WebProcess/WebProcess.cpp(654) : virtual void WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) Not sure why the message isn't being handled by WebPage. Maybe it's being received before the WebPage object is created.
Attachments
Patch (2.27 KB, patch)
2016-11-19 14:24 PST, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2016-10-23 12:11:06 PDT
(In reply to comment #0) > This error prints once when opening every page: (when opening a new browser tab)
Carlos Garcia Campos
Comment 2 2016-10-24 01:52:19 PDT
I don't think this is specific to GTK+, the updateThrottleState() can be called too early. Actually, I think the problem is that is called right after the web process is launched, but before the WebPage has registered its message receiver.
Tim Horton
Comment 3 2016-11-04 14:18:41 PDT
Yeah, this is a regression from r207424 I believe.
Tim Horton
Comment 4 2016-11-04 14:39:03 PDT
Gavin, we can't send messages (like updateThrottleState does) before WebPageProxy::initializeWebPage(). Do you think it's safe to move it?
Michael Catanzaro
Comment 5 2016-11-19 14:23:43 PST
(In reply to comment #4) > Do you think it's safe to move it? Well we should either move it or roll it out. Here's an attempt at the former. It avoids the warning and it *looks* like it's right, but I'm not sure.
Michael Catanzaro
Comment 6 2016-11-19 14:24:50 PST
Darin Adler
Comment 7 2016-11-20 16:10:25 PST
Comment on attachment 295270 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=295270&action=review > Source/WebKit2/UIProcess/WebPageProxy.cpp:-468 > - updateThrottleState(); What’s the reasoning behind removing this one?
Darin Adler
Comment 8 2016-11-20 16:11:19 PST
Gavin should look!
Michael Catanzaro
Comment 9 2016-11-20 16:36:38 PST
(In reply to comment #7) > > Source/WebKit2/UIProcess/WebPageProxy.cpp:-468 > > - updateThrottleState(); > > What’s the reasoning behind removing this one? That's in the constructor before the first call to WebPageProxy::initializeWebPage, which only ever occurs in reattachToWebProcess. I moved the calls in that function to be right after initializeWebPage to ensure it's called ASAP. Is it right? I don't know; we don't have an implementation of throttling to test. :(
Darin Adler
Comment 10 2016-11-20 16:45:55 PST
Seems likely we’d want to do the same thing with updateActivityState. Ultimately I do want Gavin to look at this. Should we land some kind of change in the mean time?
Michael Catanzaro
Comment 11 2016-11-20 17:43:48 PST
If Gavin's not available to look at it soon, then we should roll out r207699 and r207424.
Michael Catanzaro
Comment 12 2016-11-28 06:34:46 PST
(In reply to comment #11) > If Gavin's not available to look at it soon, then we should roll out r207699 > and r207424. I looked into this. There are a few more quite significant commits that would need to be rolled out, including bringing back the PageThrottler class. I'll roll them out if Gavin doesn't respond soon (he's been CCed on this for a month now) but it'd certainly be better to avoid doing that.
Gavin Barraclough
Comment 13 2016-11-29 14:29:57 PST
We should just remove SetPageSuppressed – we've got to the point we can do so. *** This bug has been marked as a duplicate of bug 165158 ***
Michael Catanzaro
Comment 14 2016-11-29 15:12:08 PST
Super, thanks for handling this properly Gavin!
Note You need to log in before you can comment on or make changes to this bug.