Skip to content

Commit 5c8c780

Browse files
author
copybara-service
committed
deploy: 5563496
1 parent 06a3900 commit 5c8c780

File tree

233 files changed

+9909
-9693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+9909
-9693
lines changed

front_end/core/host/UserMetrics.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ export declare enum DevtoolsExperiments {
519519
'live-heap-profile' = 11,
520520
'protocol-monitor' = 13,
521521
'sampling-heap-profiler-timeline' = 17,
522-
'show-option-tp-expose-internals-in-heap-snapshot' = 18,
522+
'show-option-to-expose-internals-in-heap-snapshot' = 18,
523523
'timeline-invalidation-tracking' = 26,
524524
'timeline-show-all-events' = 27,
525525
'timeline-v8-runtime-call-stats' = 28,

front_end/core/host/UserMetrics.js

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/host/UserMetrics.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/host/host.js

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/host/host.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/root/Runtime.d.ts

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,42 +43,49 @@ export interface Option {
4343
export declare class ExperimentsSupport {
4444
#private;
4545
allConfigurableExperiments(): Experiment[];
46-
register(experimentName: string, experimentTitle: string, docLink?: string, feedbackLink?: string): void;
47-
isEnabled(experimentName: string): boolean;
48-
setEnabled(experimentName: string, enabled: boolean): void;
49-
enableExperimentsTransiently(experimentNames: string[]): void;
50-
enableExperimentsByDefault(experimentNames: string[]): void;
51-
setServerEnabledExperiments(experimentNames: string[]): void;
52-
enableForTest(experimentName: string): void;
53-
disableForTest(experimentName: string): void;
46+
register(experimentName: ExperimentName, experimentTitle: string, docLink?: string, feedbackLink?: string): void;
47+
isEnabled(experimentName: ExperimentName): boolean;
48+
setEnabled(experimentName: ExperimentName, enabled: boolean): void;
49+
enableExperimentsTransiently(experimentNames: ExperimentName[]): void;
50+
enableExperimentsByDefault(experimentNames: ExperimentName[]): void;
51+
setServerEnabledExperiments(experiments: string[]): void;
52+
enableForTest(experimentName: ExperimentName): void;
53+
disableForTest(experimentName: ExperimentName): void;
5454
clearForTest(): void;
5555
cleanUpStaleExperiments(): void;
5656
private checkExperiment;
5757
}
58+
/**
59+
* @deprecated Experiments should not be used anymore, instead use base::Feature.
60+
* See docs/contributing/settings-experiments-features.md
61+
*/
5862
export declare class Experiment {
5963
#private;
60-
name: string;
64+
name: ExperimentName;
6165
title: string;
6266
docLink?: Platform.DevToolsPath.UrlString;
6367
readonly feedbackLink?: Platform.DevToolsPath.UrlString;
64-
constructor(experiments: ExperimentsSupport, name: string, title: string, docLink: Platform.DevToolsPath.UrlString, feedbackLink: Platform.DevToolsPath.UrlString);
68+
constructor(experiments: ExperimentsSupport, name: ExperimentName, title: string, docLink: Platform.DevToolsPath.UrlString, feedbackLink: Platform.DevToolsPath.UrlString);
6569
isEnabled(): boolean;
6670
setEnabled(enabled: boolean): void;
6771
}
6872
/** This must be constructed after the query parameters have been parsed. **/
6973
export declare const experiments: ExperimentsSupport;
70-
/**
71-
* @deprecated Experiments should not be used anymore, instead use base::Feature.
72-
* See docs/contributing/settings-experiments-features.md
73-
*/
74-
export declare const enum ExperimentName {
74+
export declare enum ExperimentName {
75+
ALL = "*",
7576
CAPTURE_NODE_CREATION_STACKS = "capture-node-creation-stacks",
76-
CSS_OVERVIEW = "css-overview",
7777
LIVE_HEAP_PROFILE = "live-heap-profile",
78-
ALL = "*",
7978
PROTOCOL_MONITOR = "protocol-monitor",
79+
SAMPLING_HEAP_PROFILER_TIMELINE = "sampling-heap-profiler-timeline",
80+
SHOW_OPTION_TO_EXPOSE_INTERNALS_IN_HEAP_SNAPSHOT = "show-option-to-expose-internals-in-heap-snapshot",
81+
TIMELINE_INVALIDATION_TRACKING = "timeline-invalidation-tracking",
82+
TIMELINE_SHOW_ALL_EVENTS = "timeline-show-all-events",
83+
TIMELINE_V8_RUNTIME_CALL_STATS = "timeline-v8-runtime-call-stats",
84+
APCA = "apca",
85+
FONT_EDITOR = "font-editor",
8086
FULL_ACCESSIBILITY_TREE = "full-accessibility-tree",
81-
HEADER_OVERRIDES = "header-overrides",
87+
CONTRAST_ISSUES = "contrast-issues",
88+
EXPERIMENTAL_COOKIE_FEATURES = "experimental-cookie-features",
8289
INSTRUMENTATION_BREAKPOINTS = "instrumentation-breakpoints",
8390
AUTHORED_DEPLOYED_GROUPING = "authored-deployed-grouping",
8491
JUST_MY_CODE = "just-my-code",

front_end/core/root/Runtime.js

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

front_end/core/root/Runtime.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/root/root.js

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

front_end/core/root/root.js.map

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

0 commit comments

Comments
 (0)