MozillaQualityAssurance:l10n Search URL Lister

From MozillaWiki
Jump to: navigation, search

I wrote a shell script and some xul/js stuff to extract search urls from a browser. I ran this on an intel mac against all the builds in ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2.0b2-candidates/rc2

The script

  • installs firefox
  • creates a new profile using the newly-installed version
  • runs the sbtests.xul doc test, which
    • opens a browser window
    • selects the first search engine
    • runs a search for "foofoo"
    • prints out the end-result url
    • and repeats for all search engines visible in the drop-down
  • cleans up