testing/mochitest/jar.mn
author Mike Hommey <mh@glandium.org>
Fri, 25 Feb 2011 12:53:36 +0100
changeset 69247 4820d39b86d725bd2770b4b37ccbb8aca2c4c928
parent 56327 bb6dddf8ebdafc1e4d3e5460e8ced6c241f2aceb
child 69634 10c4c19e0868cf91497cae2ca865c729f1086bb4
permissions -rw-r--r--
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu We now store two independent locations for an omni.jar, allowing GRE/XRE and XUL application to each have their own omni.jar. And since xulrunner setups are very independent from the XUL applications, we implement support for both omni.jar and non omni.jar cases in the same runtime, with the side effect of allowing to switch from one to the other manually without rebuilding the binaries. We let the mozilla::Omnijar API handle both cases, so that callers don't need too much work to support them. We also make the preferences service load the same set of preferences in all the various cases (unified vs. separate, omni.jar vs. no omni.jar). The child process launcher for IPC is modified to pass the base directories needed for the mozilla::Omnijar API initialization in the child process. Finally, the startupcache file name canonicalization is modified to separate APP and GRE resources.

mochikit.jar:
% content mochikit %content/
  content/browser-harness.xul (browser-harness.xul)
  content/browser-test.js (browser-test.js)
  content/browser-test-overlay.xul (browser-test-overlay.xul)
  content/chrome-harness.js (chrome-harness.js)
  content/harness-a11y.xul (harness-a11y.xul)
  content/harness-overlay.xul (harness-overlay.xul)
  content/harness.xul (harness.xul)
  content/ipc.js (ipc.js)
  content/ipc-overlay.xul (ipc-overlay.xul)
  content/mozprefs.js (mozprefs.js)
  content/redirect-a11y.html (redirect-a11y.html)
  content/redirect.html (redirect.html)
  content/redirect.js (redirect.js)
  content/server.js (server.js)
  content/dynamic/getMyDirectory.sjs (dynamic/getMyDirectory.sjs)
  content/static/harness.css (static/harness.css)
  content/tests/SimpleTest/EventUtils.js (tests/SimpleTest/EventUtils.js)
  content/tests/SimpleTest/MozillaFileLogger.js (tests/SimpleTest/MozillaFileLogger.js)
  content/tests/SimpleTest/PluginUtils.js (tests/SimpleTest/PluginUtils.js)
  content/tests/SimpleTest/quit.js (tests/SimpleTest/quit.js)
  content/tests/SimpleTest/setup.js (tests/SimpleTest/setup.js)
  content/tests/SimpleTest/SimpleTest.js (tests/SimpleTest/SimpleTest.js)
  content/tests/SimpleTest/test.css (tests/SimpleTest/test.css)
  content/tests/SimpleTest/TestRunner.js (tests/SimpleTest/TestRunner.js)
  content/tests/SimpleTest/WindowSnapshot.js (tests/SimpleTest/WindowSnapshot.js)
  content/tests/SimpleTest/mockObjects.js (../../toolkit/content/tests/browser/common/mockObjects.js)
  content/tests/SimpleTest/docshell_helpers.js (../..//docshell/test/chrome/docshell_helpers.js)

  content/MochiKit/packed.js (MochiKit/packed.js)