Commit Graph

366 Commits

Author SHA1 Message Date
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
Masayuki Nakano
d82ad83346 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Masayuki Nakano
5aaeb19ce0 backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano
0cf8dbff4b Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Paul O’Shannessy
a6e8019a5b Bug 615479 - Password manager prompts can now ask a more complete question [r=dolske] 2011-11-28 13:02:47 -08:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Ed Morley
72ed7305fc Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
918444551f Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey 2011-10-06 17:15:07 +01:00
Matthew Noorenberghe
319514f099 Bug 639092 - Catch exception accessing nsIRequest.name from nsLoginManager r=dolske 2011-09-26 10:48:59 -07:00
Felix Fung
3cc87d7296 Bug 626626 - Reference Correct Strings in Password Manager. r=dolske 2011-09-08 12:36:35 -07:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00