Note that the importScripts() calls to /resources/testharness.js had to be manually adjusted to use relative paths.