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

Method disable

scripts/devtools_build.mjs:113–116  ·  view source on GitHub ↗

* Disables the given `feature`. * * @param feature the name of the feature to disable.

(feature)

Source from the content-addressed store, hash-verified

111 * @param feature the name of the feature to disable.
112 */
113 disable(feature) {
114 this.#disabled.add(feature);
115 this.#enabled.delete(feature);
116 }
117
118 /**
119 * Enables the given `feature`, and optionally adds the `parameters` to it.

Callers 4

mergeMethod · 0.95
startFunction · 0.95
run_start.mjsFile · 0.45

Calls 2

deleteMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected