mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
04bf053d91
According to the JSON RFC [1] the official mime type is "application/json". If we do not send this, Gecko will not fire the onload event for a frame trying to load such a URL but will instead load an error page. Several service worker tests rely on loading 'fake' iframes that 404 but contribute to the progress of the test by watching for the onload event. These tests are fixed by this patch. [1]: http://www.ietf.org/rfc/rfc4627.txt --HG-- extra : commitid : 1sHk7zvboJq extra : rebase_source : 40b4891a3ba1d485e4cb82bca9a0d0cb507b8744 extra : source : 03f74eacbc7569bc6e425f0d4fd7dceaa0e3f3b3 |
||
---|---|---|
.. | ||
config | ||
crashtest | ||
docker | ||
gtest | ||
instrumentation | ||
luciddream | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
profiles | ||
runtimes | ||
specialpowers | ||
talos | ||
taskcluster | ||
tools | ||
tps | ||
web-platform | ||
xpcshell | ||
cppunittest.ini | ||
mach_commands.py | ||
machine-configuration.json | ||
README.txt | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testsuite-targets.mk |
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff