MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / merge

Method merge

scripts/devtools_build.mjs:145–152  ·  view source on GitHub ↗

* Merge the other `featureSet` into this. * * @param featureSet the other `FeatureSet` to apply.

(featureSet)

Source from the content-addressed store, hash-verified

143 * @param featureSet the other `FeatureSet` to apply.
144 */
145 merge(featureSet) {
146 for (const feature of featureSet.#disabled) {
147 this.disable(feature);
148 }
149 for (const [feature, parameters] of featureSet.#enabled) {
150 this.enable(feature, parameters);
151 }
152 }
153
154 /**
155 * Yields the command line parameters to pass to the invocation of

Callers 2

startFunction · 0.95

Calls 2

disableMethod · 0.95
enableMethod · 0.95

Tested by

no test coverage detected