Open Bug 1391853 Opened 2 years ago

--filter option does not work with ./mach jstestbrowser


(Testing :: Reftest, enhancement)

Version 3
Not set


(Not tracked)


(Reporter: mccr8, Unassigned)


If I try to use the filter option, like this:
  ./mach jstestbrowser --filter transferables
Then it fails to actually run any tests.

The root of the issue seems to be:
REFTEST ERROR | EXCEPTION: [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService.newURI]"  nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)"  location: "JS frame :: chrome://reftest/content/reftest.jsm :: ReadTopManifest :: line 831"  data: no]

When StartTests() iterates does "manifestURLs.forEach(function(manifestURL) {", manifestURL seems to be undefined, and then we try to convert undefined into a URI and we get that error. I don't know how this is supposed to work, or why it only fails with --filter.
You need to log in before you can comment on or make changes to this bug.