Currently, anytime an XR instrumentation test loads a URL served by the embedded test server, the test has to get a string from the framework pointing to the file, pass that to the server to get a URL, and load that. This is leftover from when the test server was not tied to the activity being tested (and thus the framework couldn't access it), so the best it could do was return a string to pass to the server.
This should be able to be updated now so that there is no difference between loading from a file:// URL or a URL for the local server other than calling the method to get the URL for the correct type.
Comment 1 by bugdroid1@chromium.org
, Jan 14