You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/PuppeteerSharp/ExecutionContext.cs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,16 @@ public class ExecutionContext
24
24
privatereadonlyCDPSession_client;
25
25
privatereadonlyint_contextId;
26
26
27
+
internalDOMWorldWorld{get;}
28
+
27
29
internalExecutionContext(
28
30
CDPSessionclient,
29
31
ContextPayloadcontextPayload,
30
-
Frameframe)
32
+
DOMWorldworld)
31
33
{
32
34
_client=client;
33
35
_contextId=contextPayload.Id;
34
-
Frame=frame;
36
+
World=world;
35
37
}
36
38
37
39
/// <summary>
@@ -40,7 +42,7 @@ internal ExecutionContext(
40
42
/// <remarks>
41
43
/// NOTE Not every execution context is associated with a frame. For example, workers and extensions have execution contexts that are not associated with frames.
0 commit comments