Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
There should be no user-noticeable delay when closing a tab
https://bugs.webkit.org/show_bug.cgi?id=205069
<rdar://problem/57797494>

Reviewed by Ryosuke Niwa.

There should be no user-noticeable delay when closing a tab. To achieve this, use a timeout of 50ms for doing the
IPC handshake with the WebContent process, instead of 500ms.

* UIProcess/WebPageProxy.cpp:


Canonical link: https://commits.webkit.org/218331@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
cdumez committed Dec 11, 2019
1 parent a65bb27 commit 290f26d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Source/WebKit/ChangeLog
@@ -1,3 +1,16 @@
2019-12-11 Chris Dumez <cdumez@apple.com>

There should be no user-noticeable delay when closing a tab
https://bugs.webkit.org/show_bug.cgi?id=205069
<rdar://problem/57797494>

Reviewed by Ryosuke Niwa.

There should be no user-noticeable delay when closing a tab. To achieve this, use a timeout of 50ms for doing the
IPC handshake with the WebContent process, instead of 500ms.

* UIProcess/WebPageProxy.cpp:

2019-12-11 Chris Dumez <cdumez@apple.com>

[iOS] Issue load sooner on swipe back/forward navigation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit/UIProcess/WebPageProxy.cpp
Expand Up @@ -276,7 +276,7 @@ static const unsigned wheelEventQueueSizeThreshold = 10;
static const Seconds resetRecentCrashCountDelay = 30_s;
static unsigned maximumWebProcessRelaunchAttempts = 1;
static const Seconds audibleActivityClearDelay = 10_s;
static const Seconds tryCloseTimeoutDelay = 500_ms;
static const Seconds tryCloseTimeoutDelay = 50_ms;

namespace WebKit {
using namespace WebCore;
Expand Down

0 comments on commit 290f26d

Please sign in to comment.