MCPcopy Create free account
hub / github.com/aeroxy/chrome-devtools-cli / is_empty

Method is_empty

src/cdp.rs:146–148  ·  view source on GitHub ↗

True when the tab has no overrides of any kind.

(&self)

Source from the content-addressed store, hash-verified

144impl TabEmulation {
145 /// True when the tab has no overrides of any kind.
146 fn is_empty(&self) -> bool {
147 self.blocklist.is_empty() && self.viewport.is_none() && self.geolocation.is_none()
148 }
149}
150
151/// Stash an outgoing tab's emulation state under its target id so it can be

Callers 15

parse_kvFunction · 0.80
print_outputFunction · 0.80
run_directFunction · 0.80
stash_tab_emulationFunction · 0.80
process_console_eventsFunction · 0.80
format_console_outputFunction · 0.80
find_ciFunction · 0.80
extract_title_from_htmlFunction · 0.80
extract_contentFunction · 0.80
format_outputFunction · 0.80
has_emulationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected