Skip to content

Commit 077cac9

Browse files
author
copybara-service
committed
deploy: 0ba147c
1 parent 2128c45 commit 077cac9

23 files changed

Lines changed: 219 additions & 122 deletions

front_end/core/protocol_client/protocol_client.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/core/protocol_client/protocol_client.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/core/sdk/HeapProfilerModel.js

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/core/sdk/HeapProfilerModel.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/core/sdk/sdk.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21315,7 +21315,12 @@ var HeapProfilerModel = class extends SDKModel {
2131521315
return Boolean(response.getError());
2131621316
}
2131721317
async takeHeapSnapshot(heapSnapshotOptions) {
21318-
await this.#heapProfilerAgent.invoke_takeHeapSnapshot(heapSnapshotOptions);
21318+
await TargetManager.instance().suspendAllTargets("heap-snapshot");
21319+
try {
21320+
await this.#heapProfilerAgent.invoke_takeHeapSnapshot(heapSnapshotOptions);
21321+
} finally {
21322+
await TargetManager.instance().resumeAllTargets();
21323+
}
2131921324
}
2132021325
async startTrackingHeapObjects(recordAllocationStacks) {
2132121326
const response = await this.#heapProfilerAgent.invoke_startTrackingHeapObjects({ trackAllocations: recordAllocationStacks });

front_end/core/sdk/sdk.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/generated/InspectorBackendCommands.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/generated/InspectorBackendCommands.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/generated/protocol.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10400,7 +10400,7 @@ export declare namespace Network {
1040010400
*/
1040110401
remotePort?: integer;
1040210402
}
10403-
const enum PrivateNetworkRequestPolicy {
10403+
const enum LocalNetworkAccessRequestPolicy {
1040410404
Allow = "Allow",
1040510405
BlockFromInsecureToMorePrivate = "BlockFromInsecureToMorePrivate",
1040610406
WarnFromInsecureToMorePrivate = "WarnFromInsecureToMorePrivate",
@@ -10424,7 +10424,7 @@ export declare namespace Network {
1042410424
interface ClientSecurityState {
1042510425
initiatorIsSecureContext: boolean;
1042610426
initiatorIPAddressSpace: IPAddressSpace;
10427-
privateNetworkRequestPolicy: PrivateNetworkRequestPolicy;
10427+
localNetworkAccessRequestPolicy: LocalNetworkAccessRequestPolicy;
1042810428
}
1042910429
const enum CrossOriginOpenerPolicyValue {
1043010430
SameOrigin = "SameOrigin",

front_end/generated/protocol.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)