File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- 1307
2
- Changed:
[email protected] Wed Jul
15 10:44:00 PDT 2020
1
+ 1308
2
+ Changed:
[email protected] Thu Jul
16 15:39:22 PDT 2020
Original file line number Diff line number Diff line change @@ -9803,10 +9803,10 @@ index 0000000000000000000000000000000000000000..f356c613945fd263889bc74166bef2b2
9803
9803
+} // namespace WebKit
9804
9804
diff --git a/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp
9805
9805
new file mode 100644
9806
- index 0000000000000000000000000000000000000000..012629e3d4e4b892a8c23c3984ab30409b9c2b1a
9806
+ index 0000000000000000000000000000000000000000..d9218841c5ca436d291e5c0918906be084146cb8
9807
9807
--- /dev/null
9808
9808
+++ b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp
9809
- @@ -0,0 +1,821 @@
9809
+ @@ -0,0 +1,823 @@
9810
9810
+/*
9811
9811
+ * Copyright (C) 2019 Microsoft Corporation.
9812
9812
+ *
@@ -10007,7 +10007,9 @@ index 0000000000000000000000000000000000000000..012629e3d4e4b892a8c23c3984ab3040
10007
10007
+
10008
10008
+Vector<WebPageProxy*> BrowserContext::pages() const {
10009
10009
+ Vector<WebPageProxy*> pages;
10010
- + for (auto& process : processPool->processes()) {
10010
+ + for (auto* process : WebProcessProxy::allProcessesForInspector()) {
10011
+ + if (process->processPoolIfExists() != processPool)
10012
+ + continue;
10011
10013
+ for (auto* page : process->pages())
10012
10014
+ pages.append(page);
10013
10015
+ }
You can’t perform that action at this time.
0 commit comments