gecko-dev/testing/mochitest
Andrew Swan b904b2d437 Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging.  This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).

With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...

MozReview-Commit-ID: G6xk1mBJJL8

--HG--
extra : rebase_source : a0891e5ba308972c35813f55274badf9edde62f7
extra : source : e8818ef3c28489e196d1db92cabf224861b693c9
2016-08-02 16:04:37 -07:00
..
BrowserTestUtils Bug 1292239 - Add utility to BrowserTestUtils to wait for load of selected browser in a brand new window. r=Felipe 2016-08-04 15:48:31 -04:00
MochiKit Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps 2016-01-27 17:46:34 -08:00
chrome Bug 1249522, when a file is present, only specify file type, r=smaug 2016-05-11 10:04:19 -04:00
dynamic Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps 2016-01-27 17:46:34 -08:00
embed Bug 1282038 - Allow allowfullscreen for rewritten YouTube Flash embeds. r=qdot,jst 2016-06-24 19:12:53 +09:00
manifests Bug 1289123: Remove test_zmedia_cleanup.html from Autophone WebRTC job manifest; r=drno 2016-07-25 09:49:05 -04:00
pywebsocket
ssltunnel Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
static Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps 2016-01-27 17:46:34 -08:00
tests Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag 2016-08-02 16:04:37 -07:00
Makefile.in Bug 1250961 - Move testing/mochitest/Makefile.in to moz.build. r=gps 2016-02-26 13:20:31 -08:00
README.txt
ShutdownLeaksCollector.jsm
bisection.py
bootstrap.js Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests 2016-02-03 17:38:12 -08:00
browser-harness.xul Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
browser-test-overlay.xul Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests 2016-02-03 17:38:12 -08:00
browser-test.js Bug 1256984 - Indicate whether tests ran in e10s mode in the mochitest-* summary; r=mconley 2016-03-18 16:09:12 -04:00
browser.eslintrc merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
cc-analyzer.js
chrome-harness.js
chrome.eslintrc Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe 2016-01-06 10:10:35 -08:00
chunkifyTests.js
gen_template.pl
harness.xul Backed out changeset d7d0413af62b (bug 1199023) for test failures. 2016-04-10 17:54:11 -05:00
install.rdf Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong 2016-01-27 11:36:16 -05:00
jar.mn
jetpack-addon-harness.js Bug 1251412 - use installTemporaryAddon for jetpack-addons tests r=mossop 2016-02-25 15:45:31 -08:00
jetpack-addon-overlay.xul
jetpack-package-harness.js Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests 2016-02-03 17:38:12 -08:00
jetpack-package-overlay.xul
leaks.py Bug 1195777 - When LSan detects leaks, tell the user about the report_objects option. r=chmanchester 2016-07-29 16:08:06 -07:00
mach_commands.py Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
mach_test_package_commands.py Bug 1288827 - Allow running mochitest from test-package without specifying --appname, r=armenzg 2016-07-20 11:13:30 -04:00
manifest.webapp Bug 1261009 - Remove the Data Store API, r=fabrice 2016-04-29 09:02:45 +08:00
manifestLibrary.js
mochitest-e10s-utils.js
mochitest.eslintrc Bug 1270357 Add isDeeply to mochitest eslintrc r=kmag 2016-05-31 16:16:37 -07:00
mochitest_options.py Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nested_setup.js
pywebsocket_wrapper.py
redirect.html Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
runrobocop.py Bug 1261494 - Reduce telemetry init delay to 1 second for integration testing. r=gbrown 2016-07-27 08:05:12 -07:00
runtests.py Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
runtestsb2g.py Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
runtestsremote.py Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
server.js Bug 1274104 part 1 - Allow mochitest main document to request fullscreen. r=jmaher 2016-05-25 09:39:38 +10:00
shutdown-leaks-collector.js
start_b2g.js Bug 1123506 - Update references to __webDriverArguments; r=automatedtester 2016-05-09 16:08:27 +01:00
start_desktop.js Bug 1123506 - Update references to __webDriverArguments; r=automatedtester 2016-05-09 16:08:27 +01:00

README.txt

See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.