Always use `getResourcePath()` to get the appropriate path to these resources depending on the context (WPT, standalone, worker, etc.)