Commit Graph

382 Commits

Author SHA1 Message Date
Honza Bambas
6b99a52009 Bug 654348 - Make XMLHttpRequest prefer explicit credentials (in the URL) over cached credentials, r=cbiesinger 2012-10-24 16:05:13 +02:00
Honza Bambas
5e928da6b1 Bug 776171 - Don't delete cached credentials when having ident from URI, XHR auth didn't work after first time, r=cbiesinger
--HG--
rename : toolkit/components/passwordmgr/test/authenticate.sjs => toolkit/components/passwordmgr/test/auth2/authenticate.sjs
2012-10-24 16:05:12 +02:00
Honza Bambas
9a23f3fc25 Backout of changeset 4dc26e9f3189 2012-10-23 17:37:58 +02:00
Honza Bambas
f44c07ddfc Bug 776171 - Don't delete cached credentials when having ident from URI, XHR auth didn't work after first time, r=cbiesinger
--HG--
rename : toolkit/components/passwordmgr/test/authenticate.sjs => toolkit/components/passwordmgr/test/auth2/authenticate.sjs
2012-10-23 17:03:49 +02:00
Ehsan Akhgari
e771ad5957 Bug 723004 - Port nsLoginManagerPrompter to the per-window private browsing API; r=dolske 2012-10-12 21:49:26 -04:00
Ed Morley
bd0d1f6c0a 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
f29dba6300 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
3413f2e05c 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
291d14faf0 bug 769764 - followup fix error check and whitespace r=josh 2012-09-30 21:29:42 -04:00
Patrick McManus
0f871afc27 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
f6f23e5f47 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
4000987cdb Bug 792036 - More manual fixes requested by Andrew. r=mccr8 2012-09-24 14:46:29 +02:00
Bobby Holley
5af5a73d3d 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
c64d31c5e0 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
51dcc7dff7 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
cd31dfef08 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
2ee5369324 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
183e115253 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
8c296bbcd4 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
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 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
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Saurabh Anand
ec056bd252 Bug 723003 - nsLoginManager.js uses global Private Browsing state to make decisions; r=ehsan 2012-07-19 18:45:14 +05:30
Nathan Froyd
5b30baa4c3 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
b671fc8086 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
a95b6edeea 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
7b61c655b7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
38b8947933 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
a95ac4a2a9 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Jonathan Wilde
44a8f0198b Bug 762528 - Remove enablePrivilege from password manager tests. r=fryn 2012-06-11 18:13:20 -07:00
Marcos Santiago
bf638ac9aa 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
c9b909c273 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
bd17386f20 Bug 756701 - Backout original patch. r=mfinkle 2012-05-22 15:33:31 -07:00
Wes Johnston
59c8802a53 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Serge Gautherie
7e4a7e0249 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
54906c1e2f 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
9fda58c69b Bug 742396 - Change stored password notification should truncate long usernames [r=zpao] 2012-04-05 14:42:58 -07:00
Neil Rashbrook
49c0c022d4 Bug 728790 test_prompt_async.html doesn't track its dialogs correctly r=mayhemer 2012-03-16 21:57:13 +00:00
Serge Gautherie
60e84cdc7b Bug 627616. (AAv1) Add missing text to is() calls. r=honzab. 2012-03-07 22:11:52 +01:00
Justin Dolske
745d1a55e7 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
0fdca48e26 Bug 627616 - Test for interaction of anonymous loads and proxy authentication. 2012-02-15 11:29:46 -05:00
Geoff Lankow
63ce20111b 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
750a584f05 Back out be556c99ef81 and 13c3c54d067b (bug 627616) for orange 2012-02-12 10:53:31 -08:00
Josh Matthews
875e0d257f Bug 627616 - Test for interaction of anonymous loads and proxy authentication. 2012-02-12 11:54:51 -05:00
Wes Johnston
b9723ddddb Bug 718817 - Tests for deleted passwords database migration. r=dolske 2012-02-09 09:56:03 -08:00
Wes Johnston
c010e305a9 Bug 718817 - Create a deleted passwords table for sync. r=dolske 2012-02-09 09:56:03 -08:00
Panagiotis Koutsourakis
583eb38038 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
1bf9c15cdd Bug 721495 - Passwordmgr tests: Use EventUtils sendChar() and sendKey(), instead of calling synthesizeKey() directly, r=zpao 2012-01-26 14:13:00 -08:00