Skip to content

Commit

Permalink
browser(webkit): do not clear existing contexts from map when exiting (
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s authored Sep 3, 2020
1 parent 7671e8e commit 6b085a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions browser_patches/webkit/BUILD_NUMBER
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1337
Changed: pavel.feldman@gmail.com Tue Sep 1 13:26:04 PDT 2020
1338
Changed: yurys@chromium.org Wed Sep 2 18:07:53 PDT 2020
5 changes: 2 additions & 3 deletions browser_patches/webkit/patches/bootstrap.diff
Original file line number Diff line number Diff line change
Expand Up @@ -10010,10 +10010,10 @@ index 0000000000000000000000000000000000000000..f356c613945fd263889bc74166bef2b2
+} // namespace WebKit
diff --git a/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..8e3989ef7f9947c685dcbe30d58561dab7f5ea5b
index 0000000000000000000000000000000000000000..1af880600f7a0b4034ea88be0ace8b8408870970
--- /dev/null
+++ b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp
@@ -0,0 +1,855 @@
@@ -0,0 +1,854 @@
+/*
+ * Copyright (C) 2019 Microsoft Corporation.
+ *
Expand Down Expand Up @@ -10499,7 +10499,6 @@ index 0000000000000000000000000000000000000000..8e3989ef7f9947c685dcbe30d58561da
+ if (!callback->isActive())
+ return;
+
+ m_browserContexts.clear();
+ if (m_client == nullptr) {
+ callback->sendFailure("no platform delegate to close browser");
+ } else {
Expand Down

0 comments on commit 6b085a3

Please sign in to comment.