Commit Graph

48 Commits

Author SHA1 Message Date
Dave Townsend
ff24f46b45 Bug 611242: InstallTrigger should not use a prototype shared across all windows. r=robstrong, a=blocks-betaN 2011-01-11 09:42:50 -08:00
Dave Townsend
a43dfc057f Bug 613385: No notifications are sent out for webpage attempts to install add-ons when xpinstall.enabled=false. r=gavin, r=robstrong, a=blocks-betaN 2010-11-24 12:37:28 -08:00
Dave Townsend
7fbbf7b80a Bug 613568: InstallTrigger.install accepts null as a URL and attempts to download the current page as an extension. r=robstrong, a=blocks-beta9 2010-11-24 12:10:46 -08:00
Dave Townsend
a3fabe653e Bug 610810: Add file and line number information to ERROR and WARN messages in the console. r=robstrong, a=dtownsend 2010-11-11 10:48:06 -08:00
Dave Townsend
eb6a052b83 Backing out bug 610810. a=backout 2010-11-11 16:11:05 -08:00
Dave Townsend
76466d3ce2 Bug 610810: Add file and line number information to ERROR and WARN messages in the console. r=robstrong, a=dtownsend 2010-11-11 10:48:06 -08:00
Dave Townsend
be8fb0186c Bug 593535: Allow restarting extension downloads after failures. r=robstrong, a=blocks-betaN 2010-11-09 18:52:06 -08:00
Dave Townsend
771229d217 Backed out changeset 694dbf0d5ad1 from bug 593535 due to test failures 2010-11-05 16:57:44 -07:00
Dave Townsend
32997254b0 Bug 593535: Allow restarting extension downloads after failures. r=robstrong, a=blocks-betaN 2010-11-05 15:50:18 -07:00
Dave Townsend
86c4936ec0 Bug 608680: Throw an exception if illegal arguments are passed to InstallTrigger.install. r=Unfocused, a=blocks-betaN 2010-11-03 11:21:04 -07:00
Dave Townsend
ae7a168044 Bug 579540: Wait for focus before accepting extension installs. r=gavin, a=tests 2010-11-03 11:23:18 -07:00
Robert Strong
8cfb01a2d5 Bug 608507 - some minor test cleanup. r=dtownsend, a=test fix 2010-11-01 14:30:07 -07:00
Robert Strong
47566b56c6 Bug 607821 - intermittent timeout toolkit/mozapps/extensions/test/browser/browser_bug557956.js | Test timed out. r=dtownsend, a=b7 2010-10-29 12:05:26 -07:00
Robert Strong
78ab2ebe44 test cleanup - Bug 607545 - Intermittent browser_bug562797.js | Test timed out *followed* by other errors. r=dtownsend, a=test fix 2010-10-28 14:03:52 -07:00
Justin Dolske
be81f8d6f5 Bug 575485 - Refactor commonDialog code into a sharable JSM (Part 4, test fixes). r=gavin, a=beltzner 2010-10-27 14:16:17 -07:00
<kwierso@gmail.com>
225cc7254c Bug 603021: Hash comparisons should be case insensitive. r=dtownsend, a=blocks-betaN 2010-10-11 14:13:47 -07:00
Dave Townsend
b1db993132 Bug 593187: Request for authentication for an extension install doesn't focus the correct tab (test). r=dtownsend, a=blocks-betaN 2010-09-15 10:47:13 -07:00
Danny Moules
753acf6512 Bug 594329: Software Installation dialog reports wrong number of items to be installed. r=dtownsend, a=blocking-final 2010-09-13 11:47:07 -07:00
Joel Maher
3b1fb9d8ce Bug 592859 Update browser chrome tests to only use chrome paths for mochitest to prep for android support r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Alon Zakai
6e795edc77 Bug 589598 - InstallTrigger in iframes. r=Mossop, a=blocking2.0=betaN+ 2010-09-09 16:12:37 -04:00
Dave Townsend
d67000418a Bug 591070: Support specifying an XPI hash through the initial HTTPS request such that redirects to HTTP can be followed securely. r=robstrong, a=blocking-b6 2010-09-07 12:16:35 -07:00
Benoit Jacob
f7f3ca709a Backed out changeset be48a89b9561. Asked for by Mossop and dietrich. 2010-09-02 13:59:54 -04:00
Alon Zakai
ecc43f9193 Bug 589598: InstallTrigger is not defined for frames inside webpages. r=dtownsend, a=blocking-betaN 2010-09-01 10:32:14 -07:00
Dave Townsend
8c7b40022a Bug 572966: Test that InstallTrigger callbacks can redirect to a relative url. r=robstrong, a=blocking-b5 2010-08-20 15:48:05 -07:00
Dave Townsend
6b4bdba8e0 Bug 579779: Installing a new theme should mark it to be enabled. r=robstrong 2010-08-13 10:47:17 -07:00
Dave Townsend
e65cba989c Bug 552742: Support multi-package XPIs in the new add-ons manager. r=robstrong 2010-08-01 10:52:24 -07:00
Dave Townsend
c71293d35d Debugging code to try to figure out the reason behind the orange bug 573259; r=ehsan 2010-07-21 22:23:45 -04:00
Dave Townsend
8bc798989b Bug 575463: Rename AddonInstall.sourceURL to sourceURI and make it return an nsIURI rather than a string. r=robstrong 2010-07-01 20:36:50 -07:00
Dave Townsend
ecff834b44 Bug 552965 and bug 553455: Notify the application when add-on installs triggered by webpages fail or complete. r=robstrong 2010-07-01 10:56:48 -07:00
Dave Townsend
67aadd8d55 Backing out patches for bug 552965 and bug 553455 due to test failures. 2010-06-30 16:51:05 -07:00
Dave Townsend
3deb575eeb Bug 552965 and bug 553455: Notify the application when add-on installs triggered by webpages fail or complete. r=robstrong 2010-06-30 14:13:56 -07:00
Dave Townsend
8cc29264a1 Bug 562803: Add cleanup function to avoid one failing xpinstall test from messing up subsequent tests. r=robstrong 2010-06-22 18:59:52 -07:00
Dave Townsend
6296c03a24 Bug 572936: Add a test to ensure that passing relative URLs to InstallTrigger works. r=robstrong 2010-06-18 08:50:06 -07:00
Justin Dolske
b7385e681c Fix toolkit/mozapps/extensions tests for new prompter. 2010-06-16 21:29:53 -07:00
Dave Townsend
ec0a3cf17f Bug 570200: Errors aren't passed sanely from getInstallForFile. r=robstrong
--HG--
rename : toolkit/mozapps/extensions/test/xpinstall/corrupt.xpi => toolkit/mozapps/extensions/test/xpcshell/data/corrupt.xpi
rename : toolkit/mozapps/extensions/test/xpinstall/empty.xpi => toolkit/mozapps/extensions/test/xpcshell/data/empty.xpi
rename : toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi => toolkit/mozapps/extensions/test/xpcshell/data/unsigned.xpi
2010-06-10 16:39:47 -07:00
Dave Townsend
1b168f0440 Bug 570977: xpinstall tests get confused by multiple load events. r=robstring 2010-06-10 18:47:14 -07:00
Dave Townsend
c73df8e10d Bug 562803: Don't require a restart to turn on logging and turn on logging for browser chrome tests. r=robstrong 2010-05-10 11:10:25 -07:00
Dave Townsend
2fe9c32445 Bug 561876: Some tests aren't clearing active installs leading to later tests failing. r=robstrong 2010-04-29 13:11:28 -07:00
Dave Townsend
6c117ba932 Bug 561878: xpinstall.enabled isn't properly blocking installation by webpages. r=robstrong 2010-04-29 13:11:28 -07:00
Dave Townsend
06cc40d128 Bug 552758: Detect when the network goes offline and cancel downloads. r=robstrong 2010-04-08 14:04:03 -07:00
Dave Townsend
f25d880bc4 Bug 552759: Allow treating untrusted signers as unsigned. r=robstrong 2010-04-08 14:06:59 -07:00
Dave Townsend
7cb61c81ed Bug 553169: Port xpinstall browser chrome tests to the new extension manager API. r=robstrong
--HG--
rename : xpinstall/tests/authRedirect.sjs => toolkit/mozapps/extensions/test/xpinstall/authRedirect.sjs
rename : xpinstall/tests/browser_auth.js => toolkit/mozapps/extensions/test/xpinstall/browser_auth.js
rename : xpinstall/tests/browser_auth2.js => toolkit/mozapps/extensions/test/xpinstall/browser_auth2.js
rename : xpinstall/tests/browser_auth3.js => toolkit/mozapps/extensions/test/xpinstall/browser_auth3.js
rename : xpinstall/tests/browser_badhash.js => toolkit/mozapps/extensions/test/xpinstall/browser_badhash.js
rename : xpinstall/tests/browser_badhashtype.js => toolkit/mozapps/extensions/test/xpinstall/browser_badhashtype.js
rename : xpinstall/tests/browser_bug540558.js => toolkit/mozapps/extensions/test/xpinstall/browser_bug540558.js
rename : xpinstall/tests/browser_cookies.js => toolkit/mozapps/extensions/test/xpinstall/browser_cookies.js
rename : xpinstall/tests/browser_cookies2.js => toolkit/mozapps/extensions/test/xpinstall/browser_cookies2.js
rename : xpinstall/tests/browser_cookies3.js => toolkit/mozapps/extensions/test/xpinstall/browser_cookies3.js
rename : xpinstall/tests/browser_cookies4.js => toolkit/mozapps/extensions/test/xpinstall/browser_cookies4.js
rename : xpinstall/tests/browser_corrupt.js => toolkit/mozapps/extensions/test/xpinstall/browser_corrupt.js
rename : xpinstall/tests/browser_empty.js => toolkit/mozapps/extensions/test/xpinstall/browser_empty.js
rename : xpinstall/tests/browser_enabled2.js => toolkit/mozapps/extensions/test/xpinstall/browser_enabled2.js
rename : xpinstall/tests/browser_enabled3.js => toolkit/mozapps/extensions/test/xpinstall/browser_enabled3.js
rename : xpinstall/tests/browser_hash.js => toolkit/mozapps/extensions/test/xpinstall/browser_hash.js
rename : xpinstall/tests/browser_installchrome.js => toolkit/mozapps/extensions/test/xpinstall/browser_installchrome.js
rename : xpinstall/tests/browser_navigateaway.js => toolkit/mozapps/extensions/test/xpinstall/browser_navigateaway.js
rename : xpinstall/tests/browser_navigateaway2.js => toolkit/mozapps/extensions/test/xpinstall/browser_navigateaway2.js
rename : xpinstall/tests/browser_offline.js => toolkit/mozapps/extensions/test/xpinstall/browser_offline.js
rename : xpinstall/tests/browser_signed_multiple.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_multiple.js
rename : xpinstall/tests/browser_signed_naming.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_naming.js
rename : xpinstall/tests/browser_signed_tampered.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_tampered.js
rename : xpinstall/tests/browser_signed_trigger.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_trigger.js
rename : xpinstall/tests/browser_signed_untrusted.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_untrusted.js
rename : xpinstall/tests/browser_softwareupdate.js => toolkit/mozapps/extensions/test/xpinstall/browser_softwareupdate.js
rename : xpinstall/tests/browser_unsigned_trigger.js => toolkit/mozapps/extensions/test/xpinstall/browser_unsigned_trigger.js
rename : xpinstall/tests/browser_whitelist.js => toolkit/mozapps/extensions/test/xpinstall/browser_whitelist.js
rename : xpinstall/tests/browser_whitelist2.js => toolkit/mozapps/extensions/test/xpinstall/browser_whitelist2.js
rename : xpinstall/tests/browser_whitelist3.js => toolkit/mozapps/extensions/test/xpinstall/browser_whitelist3.js
rename : xpinstall/tests/browser_whitelist4.js => toolkit/mozapps/extensions/test/xpinstall/browser_whitelist4.js
rename : xpinstall/tests/bug540558.html => toolkit/mozapps/extensions/test/xpinstall/bug540558.html
rename : xpinstall/tests/cookieRedirect.sjs => toolkit/mozapps/extensions/test/xpinstall/cookieRedirect.sjs
rename : xpinstall/tests/corrupt.xpi => toolkit/mozapps/extensions/test/xpinstall/corrupt.xpi
rename : xpinstall/tests/empty.xpi => toolkit/mozapps/extensions/test/xpinstall/empty.xpi
rename : xpinstall/tests/enabled.html => toolkit/mozapps/extensions/test/xpinstall/enabled.html
rename : xpinstall/tests/installchrome.html => toolkit/mozapps/extensions/test/xpinstall/installchrome.html
rename : xpinstall/tests/installtrigger.html => toolkit/mozapps/extensions/test/xpinstall/installtrigger.html
rename : xpinstall/tests/signed-no-cn.xpi => toolkit/mozapps/extensions/test/xpinstall/signed-no-cn.xpi
rename : xpinstall/tests/signed-no-o.xpi => toolkit/mozapps/extensions/test/xpinstall/signed-no-o.xpi
rename : xpinstall/tests/signed-tampered.xpi => toolkit/mozapps/extensions/test/xpinstall/signed-tampered.xpi
rename : xpinstall/tests/signed-untrusted.xpi => toolkit/mozapps/extensions/test/xpinstall/signed-untrusted.xpi
rename : xpinstall/tests/signed.xpi => toolkit/mozapps/extensions/test/xpinstall/signed.xpi
rename : xpinstall/tests/signed2.xpi => toolkit/mozapps/extensions/test/xpinstall/signed2.xpi
rename : xpinstall/tests/startsoftwareupdate.html => toolkit/mozapps/extensions/test/xpinstall/startsoftwareupdate.html
rename : xpinstall/tests/unsigned.xpi => toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi
2010-04-29 13:11:24 -07:00
Dave Townsend
74b7768710 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Dave Townsend
887592beb7 Bug 561876: Some tests aren't clearing active installs leading to later tests failing. r=robstrong 2010-04-29 13:11:28 -07:00
Dave Townsend
0c109bb371 Bug 561878: xpinstall.enabled isn't properly blocking installation by webpages. r=robstrong 2010-04-29 13:11:28 -07:00
Dave Townsend
b13c90cd5c Bug 552758: Detect when the network goes offline and cancel downloads. r=robstrong 2010-04-08 14:04:03 -07:00
Dave Townsend
26bf2c75e2 Bug 552759: Allow treating untrusted signers as unsigned. r=robstrong 2010-04-08 14:06:59 -07:00
Dave Townsend
f507e9fbe7 Bug 553169: Port xpinstall browser chrome tests to the new extension manager API. r=robstrong
--HG--
rename : xpinstall/tests/authRedirect.sjs => toolkit/mozapps/extensions/test/xpinstall/authRedirect.sjs
rename : xpinstall/tests/browser_auth.js => toolkit/mozapps/extensions/test/xpinstall/browser_auth.js
rename : xpinstall/tests/browser_auth2.js => toolkit/mozapps/extensions/test/xpinstall/browser_auth2.js
rename : xpinstall/tests/browser_auth3.js => toolkit/mozapps/extensions/test/xpinstall/browser_auth3.js
rename : xpinstall/tests/browser_badhash.js => toolkit/mozapps/extensions/test/xpinstall/browser_badhash.js
rename : xpinstall/tests/browser_badhashtype.js => toolkit/mozapps/extensions/test/xpinstall/browser_badhashtype.js
rename : xpinstall/tests/browser_bug540558.js => toolkit/mozapps/extensions/test/xpinstall/browser_bug540558.js
rename : xpinstall/tests/browser_cookies.js => toolkit/mozapps/extensions/test/xpinstall/browser_cookies.js
rename : xpinstall/tests/browser_cookies2.js => toolkit/mozapps/extensions/test/xpinstall/browser_cookies2.js
rename : xpinstall/tests/browser_cookies3.js => toolkit/mozapps/extensions/test/xpinstall/browser_cookies3.js
rename : xpinstall/tests/browser_cookies4.js => toolkit/mozapps/extensions/test/xpinstall/browser_cookies4.js
rename : xpinstall/tests/browser_corrupt.js => toolkit/mozapps/extensions/test/xpinstall/browser_corrupt.js
rename : xpinstall/tests/browser_empty.js => toolkit/mozapps/extensions/test/xpinstall/browser_empty.js
rename : xpinstall/tests/browser_enabled2.js => toolkit/mozapps/extensions/test/xpinstall/browser_enabled2.js
rename : xpinstall/tests/browser_enabled3.js => toolkit/mozapps/extensions/test/xpinstall/browser_enabled3.js
rename : xpinstall/tests/browser_hash.js => toolkit/mozapps/extensions/test/xpinstall/browser_hash.js
rename : xpinstall/tests/browser_installchrome.js => toolkit/mozapps/extensions/test/xpinstall/browser_installchrome.js
rename : xpinstall/tests/browser_navigateaway.js => toolkit/mozapps/extensions/test/xpinstall/browser_navigateaway.js
rename : xpinstall/tests/browser_navigateaway2.js => toolkit/mozapps/extensions/test/xpinstall/browser_navigateaway2.js
rename : xpinstall/tests/browser_offline.js => toolkit/mozapps/extensions/test/xpinstall/browser_offline.js
rename : xpinstall/tests/browser_signed_multiple.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_multiple.js
rename : xpinstall/tests/browser_signed_naming.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_naming.js
rename : xpinstall/tests/browser_signed_tampered.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_tampered.js
rename : xpinstall/tests/browser_signed_trigger.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_trigger.js
rename : xpinstall/tests/browser_signed_untrusted.js => toolkit/mozapps/extensions/test/xpinstall/browser_signed_untrusted.js
rename : xpinstall/tests/browser_softwareupdate.js => toolkit/mozapps/extensions/test/xpinstall/browser_softwareupdate.js
rename : xpinstall/tests/browser_unsigned_trigger.js => toolkit/mozapps/extensions/test/xpinstall/browser_unsigned_trigger.js
rename : xpinstall/tests/browser_whitelist.js => toolkit/mozapps/extensions/test/xpinstall/browser_whitelist.js
rename : xpinstall/tests/browser_whitelist2.js => toolkit/mozapps/extensions/test/xpinstall/browser_whitelist2.js
rename : xpinstall/tests/browser_whitelist3.js => toolkit/mozapps/extensions/test/xpinstall/browser_whitelist3.js
rename : xpinstall/tests/browser_whitelist4.js => toolkit/mozapps/extensions/test/xpinstall/browser_whitelist4.js
rename : xpinstall/tests/bug540558.html => toolkit/mozapps/extensions/test/xpinstall/bug540558.html
rename : xpinstall/tests/cookieRedirect.sjs => toolkit/mozapps/extensions/test/xpinstall/cookieRedirect.sjs
rename : xpinstall/tests/corrupt.xpi => toolkit/mozapps/extensions/test/xpinstall/corrupt.xpi
rename : xpinstall/tests/empty.xpi => toolkit/mozapps/extensions/test/xpinstall/empty.xpi
rename : xpinstall/tests/enabled.html => toolkit/mozapps/extensions/test/xpinstall/enabled.html
rename : xpinstall/tests/installchrome.html => toolkit/mozapps/extensions/test/xpinstall/installchrome.html
rename : xpinstall/tests/installtrigger.html => toolkit/mozapps/extensions/test/xpinstall/installtrigger.html
rename : xpinstall/tests/signed-no-cn.xpi => toolkit/mozapps/extensions/test/xpinstall/signed-no-cn.xpi
rename : xpinstall/tests/signed-no-o.xpi => toolkit/mozapps/extensions/test/xpinstall/signed-no-o.xpi
rename : xpinstall/tests/signed-tampered.xpi => toolkit/mozapps/extensions/test/xpinstall/signed-tampered.xpi
rename : xpinstall/tests/signed-untrusted.xpi => toolkit/mozapps/extensions/test/xpinstall/signed-untrusted.xpi
rename : xpinstall/tests/signed.xpi => toolkit/mozapps/extensions/test/xpinstall/signed.xpi
rename : xpinstall/tests/signed2.xpi => toolkit/mozapps/extensions/test/xpinstall/signed2.xpi
rename : xpinstall/tests/startsoftwareupdate.html => toolkit/mozapps/extensions/test/xpinstall/startsoftwareupdate.html
rename : xpinstall/tests/unsigned.xpi => toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi
2010-04-29 13:11:24 -07:00