Commit Graph

377 Commits

Author SHA1 Message Date
Ed Morley
cc9e8c3305 Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted 2012-10-06 16:46:09 +01:00
Matthew Noorenberghe
0aaedea0f9 Bug 784028: password manager doesn't prompt to save passwords in popup windows - tests. r=gavin
--HG--
extra : rebase_source : 6b9200bbc70ae9866acedf3c6e1eb8b8be21b52d
2012-10-03 14:47:15 -07:00
Gavin Sharp
554e740355 Bug 784028: password manager doesn't prompt to save passwords in popup windows. r=MattN
--HG--
extra : rebase_source : 77036469f2173361d5cbc492a937e272cf8e0c97
2012-09-27 19:32:38 -07:00
Patrick McManus
f6050df8f3 bug 769764 - followup fix error check and whitespace r=josh 2012-09-30 21:29:42 -04:00
Patrick McManus
b0eb649bd8 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Andres Hernandez
38f08637b8 Bug 395681 - Password manager dialogs observe topics that are never fired r=MattN
--HG--
extra : rebase_source : 15898bc9b2575860ba031c0d0fc6a604044fc7b4
2012-09-25 10:00:46 -06:00
Bobby Holley
16293a6f1e Bug 792036 - More manual fixes requested by Andrew. r=mccr8 2012-09-24 14:46:29 +02:00
Bobby Holley
9f03f90fb7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Ed Morley
946a13d148 Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
Patrick McManus
cafe3619a5 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
1525bc6440 Backout 3182f9d08c2d (bug 347307), 2a30593cca79 (bug 507578), b87b27f5a417 (bug 769764) for m-oth permaorange in browser_463205.js 2012-09-13 22:42:29 +01:00
Patrick McManus
22205a5249 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-13 15:22:56 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ms2ger
c7a5b33778 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
babf67cce2 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Saurabh Anand
b7fa805b17 Bug 723003 - nsLoginManager.js uses global Private Browsing state to make decisions; r=ehsan 2012-07-19 18:45:14 +05:30
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Sankha Narayan Guria
655afa5cc1 Bug 656011 - Password Manager now allows to copy username; r=MattN
--HG--
extra : rebase_source : 570214fbb1e966d73bd715988dafee9b7cf628a1
2012-07-04 13:14:00 -07:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Neil Rashbrook
0c34361ca7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
58e896dd49 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
7e7b835fdc Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Jonathan Wilde
5a88378428 Bug 762528 - Remove enablePrivilege from password manager tests. r=fryn 2012-06-11 18:13:20 -07:00
Marcos Santiago
a048ff70c4 Bug 699533 - Save/update password doorhanger does not restore focus to the webpage. r=felipe
Patch by Marcos Santiago and Jimmy Phan
2012-05-28 21:31:48 -07:00
Wes Johnston
36e0453355 Bug 756701 - Don't add items to the deleted tables when removeAll is called. r=dolske,mfinkle 2012-05-22 15:33:34 -07:00
Wes Johnston
f70251fbce Bug 756701 - Backout original patch. r=mfinkle 2012-05-22 15:33:31 -07:00
Wes Johnston
cf81a5fd89 Bug 756701 - Clear private data should not move things to the deleted items table. r=mfinkle,dolske 2012-05-21 13:55:28 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Serge Gautherie
83dde9bd83 Bug 635825. (Av1) Re-enable test_notifications.html, test_privbrowsing.html and test_prompt.html on SeaMonkey. rs=Callek (a=test-only). 2012-05-02 12:24:40 +02:00
Justin Dolske
1b4202b666 Bug 699707 - Limit form parsing to first + last N forms in a document. r=mnoorenberghe 2012-04-27 12:11:27 -04:00
Veeraya Pupatwibul
e3cbc5d26d Bug 742396 - Change stored password notification should truncate long usernames [r=zpao] 2012-04-05 14:42:58 -07:00
Neil Rashbrook
2cdd0ebaf9 Bug 728790 test_prompt_async.html doesn't track its dialogs correctly r=mayhemer 2012-03-16 21:57:13 +00:00
Serge Gautherie
81e334026f Bug 627616. (AAv1) Add missing text to is() calls. r=honzab. 2012-03-07 22:11:52 +01:00
Justin Dolske
2a9115724e Bug 717481 - login manager storage should use default encryption type from the crypto provider. r=zpao 2012-02-28 11:50:05 +01:00
Josh Matthews
d925dff7b1 Bug 627616 - Test for interaction of anonymous loads and proxy authentication. 2012-02-15 11:29:46 -05:00
Geoff Lankow
b0321a6413 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg 2012-01-17 14:18:29 +13:00
Phil Ringnalda
6ac6b8f60d Back out be556c99ef81 and 13c3c54d067b (bug 627616) for orange 2012-02-12 10:53:31 -08:00
Josh Matthews
2355dc894c Bug 627616 - Test for interaction of anonymous loads and proxy authentication. 2012-02-12 11:54:51 -05:00
Wes Johnston
b46635199b Bug 718817 - Tests for deleted passwords database migration. r=dolske 2012-02-09 09:56:03 -08:00
Wes Johnston
7566c55a51 Bug 718817 - Create a deleted passwords table for sync. r=dolske 2012-02-09 09:56:03 -08:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Karun Dambiec
d4cbdb1337 Bug 721495 - Passwordmgr tests: Use EventUtils sendChar() and sendKey(), instead of calling synthesizeKey() directly, r=zpao 2012-01-26 14:13:00 -08:00
Margaret Leibovic
87670e37c9 Bug 718708 - Don't prompt to remember password when there is an invalid hostname. r=zpao 2012-01-20 12:56:19 -08:00
Ehsan Akhgari
d29aa34f08 Bug 717871 - Remove two superfluous SimpleTest.finish calls to fix SeaMonkey perma-orange; r=gavin
--HG--
extra : rebase_source : f4c1d52c0bed4b3795e68e3cd141a18bac5e024d
2012-01-13 15:49:36 -05:00
Rafael Ávila de Espíndola
ad77d67696 Bug 711570 - finalize statements and close connection. r=zpao.
--HG--
extra : rebase_source : 6816e8f2b0d8edaea7b39e0a0fa4a4c2c288b8a2
2011-12-20 17:17:33 -05:00
Rafael Ávila de Espíndola
fe837d4e56 Bug 712345 - brace loop. r=zpao. 2011-12-20 13:54:24 -05:00
Rafael Ávila de Espíndola
aa5355a6f4 Bug 712342 - make dbStmts an object. r=zpao. 2011-12-20 13:50:33 -05:00