Skip to content

Commit cdbfc4c

Browse files
authored
browser(webkit): report inspector pipe is listening via stdout (#892)
1 parent 8c2302d commit cdbfc4c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

browser_patches/webkit/BUILD_NUMBER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1138
1+
1139

browser_patches/webkit/patches/bootstrap.diff

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8398,10 +8398,10 @@ index 8a871bf2916d5eab86becf5fde0faed79283d88c..a19a429c4d53edf81c3028c7053265e6
83988398

83998399
diff --git a/Source/WebKit/UIProcess/RemoteInspectorPipe.cpp b/Source/WebKit/UIProcess/RemoteInspectorPipe.cpp
84008400
new file mode 100644
8401-
index 0000000000000000000000000000000000000000..0b4ec2de5671723f4045e98b3e398fc11180b3b8
8401+
index 0000000000000000000000000000000000000000..6d19c534e58e35ec2012a36238e25a78706f2786
84028402
--- /dev/null
84038403
+++ b/Source/WebKit/UIProcess/RemoteInspectorPipe.cpp
8404-
@@ -0,0 +1,219 @@
8404+
@@ -0,0 +1,222 @@
84058405
+/*
84068406
+ * Copyright (C) 2019 Microsoft Corporation.
84078407
+ *
@@ -8584,6 +8584,9 @@ index 0000000000000000000000000000000000000000..0b4ec2de5671723f4045e98b3e398fc1
85848584
+
85858585
+void RemoteInspectorPipe::workerRun()
85868586
+{
8587+
+ fprintf(stdout, "\nWeb Inspector is reading from pipe #3\n\n");
8588+
+ fflush(stdout);
8589+
+
85878590
+ const size_t bufSize = 256 * 1024;
85888591
+ auto buffer = makeUniqueArray<char>(bufSize);
85898592
+ Vector<char> line;

0 commit comments

Comments
 (0)