mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
browser(webkit): do not clear existing contexts from map when exiting (#3750)
This commit is contained in:
parent
7671e8e8be
commit
6b085a349c
@ -1,2 +1,2 @@
|
|||||||
1337
|
1338
|
||||||
Changed: pavel.feldman@gmail.com Tue Sep 1 13:26:04 PDT 2020
|
Changed: yurys@chromium.org Wed Sep 2 18:07:53 PDT 2020
|
||||||
|
@ -10010,10 +10010,10 @@ index 0000000000000000000000000000000000000000..f356c613945fd263889bc74166bef2b2
|
|||||||
+} // namespace WebKit
|
+} // namespace WebKit
|
||||||
diff --git a/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp
|
diff --git a/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..8e3989ef7f9947c685dcbe30d58561dab7f5ea5b
|
index 0000000000000000000000000000000000000000..1af880600f7a0b4034ea88be0ace8b8408870970
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp
|
+++ b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp
|
||||||
@@ -0,0 +1,855 @@
|
@@ -0,0 +1,854 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (C) 2019 Microsoft Corporation.
|
+ * Copyright (C) 2019 Microsoft Corporation.
|
||||||
+ *
|
+ *
|
||||||
@ -10499,7 +10499,6 @@ index 0000000000000000000000000000000000000000..8e3989ef7f9947c685dcbe30d58561da
|
|||||||
+ if (!callback->isActive())
|
+ if (!callback->isActive())
|
||||||
+ return;
|
+ return;
|
||||||
+
|
+
|
||||||
+ m_browserContexts.clear();
|
|
||||||
+ if (m_client == nullptr) {
|
+ if (m_client == nullptr) {
|
||||||
+ callback->sendFailure("no platform delegate to close browser");
|
+ callback->sendFailure("no platform delegate to close browser");
|
||||||
+ } else {
|
+ } else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user