Commit Graph

253 Commits

Author SHA1 Message Date
Ehsan Akhgari
ab9253304f Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.

--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Watt
969fe59ba3 Bug 755247 - Have automation.py.in set browser.startup.page to 0 so it initial loads about:blank. r=ted.
--HG--
extra : rebase_source : 179bf28ad82e9544a43715ae4708689efcfc9f4c
2012-05-16 11:07:50 +01:00
Ted Mielczarek
d404b0a0a0 bug 740242 - add some diagnostics to get more info about Python exceptions during Mochitest. r=jmaher, a=test-only 2012-05-02 07:15:07 -04:00
Jonathan Griffin
aa96c84424 Bug 748159 - Let mochitest handle extra prefs that contain an equal sign, r=ted, a=testonly 2012-04-25 10:34:53 -07:00
Gavin Sharp
2ade4912d0 Bug 589668: take screenshots on test failures on Windows, screenshot utility written by Ted Mielczarek <ted.mielczarek@gmail.com>, build goop by me and jhford, r=khuey
--HG--
extra : transplant_source : %2A%07%B3w%DEg%DB%99%7EQR8Wq/%96J%E8%8D%D8
2012-02-08 12:30:07 -08:00
Rob Campbell
b13d39e0b9 merge fx-team to m-c 2012-03-08 10:30:11 -04:00
Sam Garrett
fc52aca7e2 Bug 637103 - Adding a reminder so that the runner knows only one screenshot was taken. r=karlt 2012-03-07 09:27:45 -08:00
Tim Taubert
d38bf6dd12 Backed out changeset bbd44e01ef9f (bug 683953) 2012-02-26 20:28:37 +01:00
Tim Taubert
5eed436b65 Bug 683953 - Follow up, make logger argument optional to fix Android bustage; r=bustage-fix 2012-02-26 19:12:33 +01:00
Tim Taubert
39e83d0057 Bug 683953 - Part 1 - Parse log output and collect statistics about leaked DOMWindows and DocShells; r=ted 2012-02-25 12:48:05 +01:00
Blair McBride
1129b6f8bd Bug 711679 - Send background version checks to new domain. r=darktrojan,dtownsend 2012-03-07 21:18:28 +13:00
Gregory Szorc
c55a6ed196 Bug 716736 - Re-add performance data to daily add-on update check; r=Unfocused 2012-01-31 17:22:42 -08:00
Bobby Holley
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Dave Townsend
1cd8e3f6d4 Bug 704988: Check the add-on hotfix is signed by a specific certificate. r=robstrong, r=Unfocused 2011-12-16 12:04:28 -08:00
Blair McBride
e2e21cb17f Bug 709531 - Addons Manager tests should have AMO-related prefs reset after each test to disallow network access. r=dtownsend a=mbrubeck 2011-12-15 14:00:19 +13:00
L. David Baron
89ed9560ba Run existing tests without font size inflation, even when it is enabled. (Bug 627842, patch 17) r=roc 2011-11-23 18:48:24 -08:00
Benjamin Smedberg
0ede45e46d Bug 429592 part whatever - disable the hang monitor during all tests which also disable the DOM script timeout, since the hang monitor relies on the DOM script timeout to avoid firing on long content script, r=jmaher
--HG--
extra : rebase_source : 9ab0290b869fdb6cfa63605383728a7edcbd54a1
2011-11-11 10:37:24 -05:00
Phil Ringnalda
fb732c5149 Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
William Lachance
a3bbb32ede Bug 679759 - Drop MINIDUMP_STACKWALK_CGI support, let harness download symbols as needed; r=ted 2011-11-15 04:33:21 +00:00
L. David Baron
e41515d994 Run existing tests without font size inflation, even when it is enabled. (Bug 627842, patch 17) r=roc 2011-11-15 17:02:01 +13:00
Chris Leary
db2933b49f Bug 700822: Add javascript.options.jit_hardening pref, default enabled. (r=dmandelin) 2011-11-08 13:28:49 -08:00
Matt Brubeck
6c9762482a Back out cd695cdb3b4f (bug 679759) because of test failures 2011-11-07 13:40:42 -08:00
William Lachance
34239550eb Bug 679759 - MINIDUMP_STACKWALK_CGI support, let harness download symbols as needed, r=ted 2011-11-07 13:14:22 -08:00
Gavin Sharp
f6b003aea1 Bug 691951: make startup notifications persist until the users close them (disable auto-dismissal), r=zpao
--HG--
extra : transplant_source : %16%B44%1C%03%FC%C3%04%00%EA%8E%A6%D5%96%16%F2%16O%D4%40
2011-11-04 14:45:01 -07:00
Patrick McManus
ec64b8b07b bug 599295 r=jduell
--HG--
extra : rebase_source : b376fd42a37c8b92389b43fac2e253a8466c3349
2011-11-02 17:43:27 -04:00
John Ford
50dccbf86f bug 695274 - unconditionally define dumpScreen in automation.py r=ted 2011-11-02 07:56:35 -07:00
John Ford
fb8cd1e54f bug 695274 - UNIXISH, IS_MAC and IS_WIN32 are class variables not globals r=khuey 2011-11-01 13:12:50 -07:00
John Ford
5367de15eb bug 695274 - unit test timeouts on Mac should print a screenshot r=ted 2011-10-21 13:09:05 -07:00
Rafael Ávila de Espíndola
82bf6d0e6b Bug 696281 - disable trace malloc stacks on OS X too. r=dbaron.
This patch disables trace malloc stacks on OS X too. To make this work,
we still have to look on the stack to decide if we must set immediate_abort,
but we can avoid other work like decoding the addresses.
2011-10-28 18:43:49 -04:00
Dave Townsend
71d2048435 Bug 693743: Some 3rd party add-ons are getting installed into the profile and are not disabled on start-up. r=Unfocused 2011-10-22 11:37:15 -07:00
Brian Hackett
c9d5e8629e Remove JIT prefs from automation.py, bug 693815. r=dmandelin 2011-10-19 08:28:50 -07:00
Ben Turner
448688702f Bug 688300 - 'mochitest runtests.py --install-extension is totally broken'. r=ted. 2011-10-14 08:45:58 -07:00
Ted Mielczarek
b3dc798c06 bug 686807 - Refactor checkForCrashes to make it more usable for remote automation. r=jmaher 2011-09-21 10:27:16 -04:00
Jesse Ruderman
239578ef49 Bug 670016 - Only append a -bin suffix if app-bin exists. This makes it possible to test Fennec on Mac. r=ted 2011-09-09 17:04:36 -07:00
Mark Finkle
569023b32e Bug 683167 - Disable tablet UI during unit testing [r=jmaher] 2011-08-30 23:06:58 -04:00
Gavin Sharp
950202394e Bug 669483: automation.py should handle logging non-ASCII stdout, r=ted 2011-06-27 19:49:41 -04:00
Gavin Sharp
3223b9e259 Bug 668134: telemetry notification should be disabled in the testing profile
--HG--
extra : rebase_source : 1d0dfa183b8228366af2cb06297d40a43a16285a
2011-07-05 12:15:06 -04:00
Josh Matthews
643228bd78 Bug 665316 - Initialize variable before use. r=ted 2011-06-18 16:29:57 -04:00
Wes Johnston
c3674d938d Bug 662785 followup, disable uidiscovery UI in tests to fix some orange, r=mfinkle 2011-06-10 15:14:02 -07:00
Wes Johnston
a28aa25436 Bug 653141 - Allow language choice on first-run. r=mfinkle 2011-06-07 12:11:37 -07:00
Patrick McManus
c2f7522f58 bug 640003 - websockets, fixup tests for new server r=smaug r=biesi 2011-05-21 21:27:52 -04:00
Olli Pettay
46d7b33a70 Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default 2011-04-26 15:30:17 +03:00
Serge Gautherie
e819234122 Bug 647404 - automation.py: fix extractZip() and installExtension(); (Bv2) Rewrite installExtension() to copy xpi file without extracting it, Remove now unused extractZip().
r=jmaher.
2011-04-14 13:03:47 +02:00
Serge Gautherie
c7c390ed1d Bug 647404 - automation.py: fix extractZip() and installExtension(); (Av1) s|os.sep|'/'|, Add shutil.rmtree() call, Fix some code nits.
r=jmaher.
2011-04-14 13:03:31 +02:00
Bill McCloskey
42e73fa7bc Bug 631951 - Shrink methodjit memory usage by interpreting a few times before compiling (r=dvander) 2011-02-11 16:31:32 -08:00
L. David Baron
8ea27a6080 By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-24 16:23:08 -08:00
L. David Baron
97a3f60be3 Backout changeset 3248feddc867 (bug 608030). 2011-01-23 22:00:04 -08:00
L. David Baron
0ac20ad07d By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-23 20:21:40 -08:00
Dave Townsend
54346e4306 Missed review part from bug 474289, disable distribution add-ons in test runs. rs=me, a=dtownsend DONTBUILD 2011-01-19 14:56:01 -08:00
Serge Gautherie
5dc273330e Bug 622398 - automation.py.in: add missing early return_s to installExtension(); (Av1) Just add them.
r=ctalbert a=(test only).
2011-01-04 12:06:53 +01:00
Serge Gautherie
8d1e7359a9 Bug 622392 - 1 s/TEST-UNEXPECTED FAIL/TEST-UNEXPECTED-FAIL/; (Av1) Just substitute it.
r=ted.mielczarek a=(test only).
2011-01-03 15:48:38 +01:00
Phil Ringnalda
6970bbfdfb Bug 621018 - Some browser-chrome tests hit the network by loading about:addons, r=mossop, a=test 2010-12-25 08:34:28 -08:00
Joel Maher
4b2ccbce75 Bug 611230 Remote mochitest fails to honor --utility-path r=ctalbert a=NPOTB 2010-12-09 14:47:21 -08:00
Michael Yoshitaka Erlewine
d8d94abf6e Bug 596075 - Move First-Run Video To Be A Tab Pointing To A Mozilla-Hosted Web Page [r=dolske, a=blocking2.0:betaN+]
--HG--
extra : rebase_source : b05376dd45ebceaadd35b6f628ba28e47037f24e
2010-10-26 17:06:20 -04:00
Andreas Gal
de49671a75 Merge from mozilla-central. 2010-10-22 19:46:37 -07:00
Bill McCloskey
58582215b9 Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin) 2010-10-21 09:36:39 -07:00
Bill McCloskey
507ea140a2 Backed out changeset 55597c32701d 2010-10-19 17:40:53 -07:00
Bill McCloskey
7583dc9166 Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin) 2010-10-19 16:23:05 -07:00
Dave Townsend
9470b65896 Bug 595915: Download metadata for new add-ons when installed. r=robstrong, a=blocks-betaN 2010-10-12 12:15:04 -07:00
Ted Mielczarek
a2bce37bbd bug 598507 - wrap test harness process execution with 'arch -arch i386' on OS X 10.5. r=catlee, a=blocking
--HG--
extra : rebase_source : 7212fa8332fe6853f6dedd6bd23dc937f4b9ec86
2010-09-23 12:19:31 -04:00
L. David Baron
4fbb745b8c Revert bug 549561 for Mac only, since it seems to have caused the 10.5 (32-bit) Mac debug trace-malloc leak test to hang. a=bustage 2010-09-21 22:36:32 -07:00
L. David Baron
d4d5b77472 Disable trace-malloc stack walking for tests that use automation.py. (Bug 549561) r=ted a2.0=tests 2010-09-21 19:32:49 -07:00
Johnny Stenback
80fa2ae7df Fixing bug 61098. Give users a way out of inifinite modal dialog loops. Original patch by Nochum Sossonko. r=jonas@sicking.cc a=beta7+ 2010-09-16 18:24:14 -07:00
Dave Townsend
031d17cd13 Bug 595831: Stop update and blocklist checks from touching the network. rs=gavin, a=tests 2010-09-14 16:51:12 -07:00
Karl Tomlinson
ced1720162 Bug 606048: Relax "Test timed out." requirement for screenshots. r=robcee, a=tests 2010-10-21 10:01:35 -07:00
Robert Sayre
e7de428249 jaegermonkey. what. a=arewefastyet 2010-09-11 15:07:27 -04:00
Gavin Sharp
9e88a1148d Bug 595527: enable error console in testing profile, rs=Mossop a=tests only 2010-09-11 14:41:39 -04:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Makoto Kato
6103055406 Bug 593133 - TM: PGO doesn't use tracejit profile. r=dmandelin 2010-09-09 16:55:59 +09:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Robert Sayre
357a4a6366 Merge mozilla-central to tracemonkey. 2010-09-01 22:27:07 -07:00
Justin Lebar
5b10defe9e Bug 592527 - runtest.py and runxpcshelltest.py should ignore ctrl-c when using an interactive debugger. r=ted, a=only-sorta-potb 2010-08-31 18:03:38 -07:00
Jonas Sicking
21b686ea6a Bug 590870: Allow mochitest domains that don't support XUL/XBL. r=ted a=test-only 2010-09-03 15:53:28 -07:00
Doug Turner
7ae483e1db Bug 489813 - Fire timeout error if provider fails to response after initial response. Also cleans up test. r=smaug a=jst 2010-08-31 09:15:52 -07:00
David Mandelin
78cdeefdf2 [JAEGER] Merge from Tracemonkey. 2010-08-24 11:56:29 -07:00
David Mandelin
67a9ce8c76 [JAEGER] Merge from tracemonkey. 2010-08-20 11:34:59 -07:00
David Mandelin
a21c621577 Merge from Tracemonkey. 2010-08-19 11:11:36 -07:00
Karl Tomlinson
a17dc95129 b=414049 dump screen on first mochitest time out (GTK) r=ted a=testing
--HG--
extra : rebase_source : bc550d298019baa44f719cdd2b88181ac9c670eb
2010-08-23 13:27:26 +12:00
Jonas Sicking
1fb16b80d7 Fix missing comments from patch for bug 546857 2010-08-21 18:48:01 +02:00
Bobby Holley
ae9d0e0ff2 Backout of changesets c866e73f3209 and baff7b7b32bc because of sicking's push-and-run bustage. a=backout 2010-08-20 23:42:24 -04:00
Jonas Sicking
c8ed6b7843 Fix missing comments from patch for bug 546857 2010-08-20 17:50:35 -07:00
David Mandelin
d7f6c4209b Merge from Tracemonkey. 2010-08-02 15:55:29 -07:00
Robert Sayre
72e587294e Backed out changeset e393b9673207. ( Bug 573803 - add SSL WebSocket support to mochitest. r=ted ) 2010-07-29 13:13:11 -07:00
Jonathan Griffin
ed48fbc343 Bug 573803 - add SSL WebSocket support to mochitest. r=ted 2010-07-29 10:23:58 -07:00
David Anderson
64fd3377e9 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00
David Mandelin
df6fc2e4a4 Browser prefs for enabling methodjit 2010-06-29 16:46:10 -07:00
Jesse Ruderman
7d6b19c176 Fix bug 574912 - leftover self.ctypes after fix for bug 543825 2010-06-25 22:40:13 -07:00
Jesse Ruderman
427777ed92 Bug 570287 - New stack fixer that uses breakpad symbol files. r=ted 2010-06-25 14:47:19 -07:00
Jonathan Griffin
9cc92295b6 Bug 572570 - allow ssltunnel to detect WebSocket traffic via header inspection. r=ted 2010-07-28 10:55:36 -07:00
Jonathan Griffin
889921576e Bug 572570 - backed out changeset 90ade0c197ed due to linux m0 oranges 2010-07-26 16:01:06 -07:00
Jonathan Griffin
e1a1e214a6 Bug 572570 - make ssltunnel recognize WebSocket traffic via header inspection. r=ted 2010-07-26 14:40:08 -07:00
Dave Townsend
e25c9920c1 Bug 555486: Add a scope property to add-ons and allow disabling loading add-ons from certain scopes. r=robstrong 2010-04-07 11:08:32 -07:00
Jonas Sicking
da390373cb Bug 546857 Part 5: Add a default permissions.sqlite to unit test profiles. r=ted a=blocker 2010-08-19 16:12:46 -07:00
Dave Townsend
b3dcc85c79 Bug 573079: Package Beta Feedback extension in beta release builds. r=ted, r=beltzner 2010-06-24 16:36:31 -07:00
Clint Talbert
cc2d4b85a1 Bug 573263 - Refactor remote reftest to work on android, create shared remoteautomation class r=jmaher 2010-06-24 02:32:01 -07:00
Robert Strong
c7a576dbd4 Bug 562795: Fix update tests to ignore application extensions. r=dtownsend 2010-06-18 08:54:22 -07:00
Dave Townsend
e3a4c442e6 Potential bustage fix for update tests, reverting the change to automation.py.in from bug 562795. 2010-06-17 17:26:55 -07:00
Dave Townsend
a9b6d77b43 Bug 562795: Sorting by name in the digest view is case-sensitive for all types of add-ons. r=Unfocused 2010-06-16 20:13:54 -07:00
Jonathan Griffin
2de6f1d18e Bug 570789. Change default websocket server port to 9988, as 9999 is used by something by default on fedora
--HG--
extra : rebase_source : d4e0d05f58ff82ec6d6300d9c3c9e943c07d77ef
2010-06-17 12:00:58 -07:00