MCPcopy Index your code
hub / github.com/darkreader/darkreader / getURL

Method getURL

tests/browser/environment.js:154–160  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

152 }
153
154 async getURL(path) {
155 // By this point browser should be loaded and extension should be started, but
156 // let's wait anuway
157 await this.waitForStartup();
158 const url = new URL(path, this.extensionOrigin);
159 return url.href;
160 }
161
162 async getChromiumMV2BackgroundPage() {
163 const targets = this.browser.targets();

Callers 3

index.tsFile · 0.80
messageListenerMethod · 0.80
openExtensionPageFunction · 0.80

Calls 1

waitForStartupMethod · 0.95

Tested by

no test coverage detected