getURL method
Converts a relative path within an app/extension install directory to a
fully-qualified URL.
path
A path to a resource within an app/extension expressed relative
to its install directory.
returns
The fully-qualified URL to the resource.
Implementation
String getURL(String path) {
return $js.chrome.runtime.getURL(path);
}