[Webkit-unassigned] [Bug 146439] Web page doesn't update its loading state when web process becomes suspended if there are pending network requests (XHR).
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 1 11:52:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146439
--- Comment #8 from Yongjun Zhang <yongjun_zhang at apple.com> ---
(In reply to comment #7)
> Comment on attachment 255810 [details]
> Patch v2.
>
> I donât know which state transitions are possible. Is it a concern that the
> outcomes of the following transitions are different?
> Foreground -> Suspended -> Background
> Foreground -> Background
I could be wrong, but based on code inspection and my own test, I didn't find a scenario where the web process could go from Suspended to Background.
>
> Is it a concern that this transition will fail to restore the state?
> Foreground -> Suspended -> Background -> Suspended -> Foreground
> (because on the second entry into Suspended, m_hasNetworkRequestsOnSuspended
> will change to false)
Again, this ties to whether Suspended -> Background transition is possible.
Thanks for the review! I will fix the typo on commit.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150701/2d311432/attachment.html>
More information about the webkit-unassigned
mailing list