CodeQL library for JavaScript

Member predicate HTML::ScriptElement::resolveSourcePath

Gets the absolute file system path the value of the src attribute of this script tag resolves to, if any.

Path resolution is currently limited to absolute file:// URLs, absolute file system paths starting with /, and paths relative to the enclosing HTML file. Base URLs are not taken into account.

string resolveSourcePath()