B2G/gecko/browser/devtools/webconsole/test/browser_webconsole_abbreviate_source_url.js
// hand side of the Web Console.
hand side of the Web Console.
hand side of the Web Console .
function test() {
  testAbbreviation("http://example.com/x.js", "x.js");
  testAbbreviation("http://example.com/foo/bar/baz/boo.js", "boo.js");
  testAbbreviation("http://example.com/foo/bar/", "bar");
  testAbbreviation("http://example.com/foo.js?bar=1&baz=2", "foo.js");
  testAbbreviation("http://example.com/foo/?bar=1&baz=2", "foo");
  finishTest();
}
function test ( ) { testAbbreviation ( "http://example.com/x.js" , "x.js" ) ; testAbbreviation ( "http://example.com/foo/bar/baz/boo.js" , "boo.js" ) ; testAbbreviation ( "http://example.com/foo/bar/" , "bar" ) ; testAbbreviation ( "http://example.com/foo.js?bar=1&baz=2" , "foo.js" ) ; testAbbreviation ( "http://example.com/foo/?bar=1&baz=2" , "foo" ) ; finishTest ( ) ; }
hand side of the Web Console.
hand side of the Web Console .