Commit Graph

217 Commits

Author SHA1 Message Date
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
Adam Dane [:hobophobe]
b6842875b3 Bug 787624 - Test for bug 787624. r=roc 2012-09-14 15:00:21 -05:00
Phil Ringnalda
9d64853cc0 Back out 486dcdbdfa23 (bug 787624) for Android failures 2012-09-13 20:47:03 -07:00
Adam Dane [:hobophobe]
114932bff7 Bug 787624 - Test for bug 787624. r=roc 2012-09-13 19:38:38 -05:00
Adam Dane [:hobophobe]
817f867d4e Bug 787624 - Form scrolling for popups should use SCROLL_IF_NOT_VISIBLE. r=roc 2012-09-12 21:53:28 -05:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Bobby Holley
d806bf9ec7 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07: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
David Zbarsky
fe804d085c [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -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
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
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
Mounir Lamouri
e1126739b0 Bug 635281 - Implement the value sanitizing algorithm for <input type="number">. r=sicking
--HG--
extra : rebase_source : b4ca5ff2b2ce873012ba3a8e589130123eb40559
2012-06-10 22:24:03 +02:00
Mounir Lamouri
5885dd639e Bug 635498 - Make <input type='number'> behaves like <input type='text'>. r=sicking
--HG--
extra : rebase_source : 0754f845fd6223cd48ca8908ebf642636f0fd9ed
2012-06-10 22:23:17 +02: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
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Mats Palmgren
1d71d122a3 Bug 760082 - Move the last checkForm test so it comes before SimpleTest.finish(). Use info() for log messages that aren't tests. r=mounir 2012-06-01 20:52:37 +02: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
Matthew Noorenberghe
7cb795d1dd Bug 739697 - Don't begin a transaction for formhistory.sqlite if there's an existing one since we don't support nesting them. r=zpao,rnewman a=tracking-firefox
--HG--
extra : rebase_source : c78eed21037ffbd063230f9f16b1008eebb01310
2012-04-06 15:26:00 -04:00
Veeraya Pupatwibul
26e9a6a204 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Richard Newman
bb9254c9f5 Bug 735551 - cleanup and correction in nsFormHistory.js. rs=dolske 2012-03-23 10:56:12 -07:00
Adam Dane [:hobophobe]
3c986b3780 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Ed Morley
0610770d3b Merge mozilla-central to mozilla-inbound 2012-02-28 02:55:32 +00:00
Olli Pettay
c9f38d8e1d Bug 730470, FormFillController crashes, r=gavin 2012-02-28 01:31:23 +02:00
Wes Johnston
a1a4d92d44 Bug 725881 - Add a missing rollback. r=dolske 2012-02-27 14:14:42 -08:00
Wes Johnston
e05ad0c8aa Bug 725881 - Add a deleted form history table. r=dolske 2012-02-27 10:10:16 -08:00
Olli Pettay
552768cf47 Bug 726334, FormFillController should not have strong references to content objects, r=gavin 2012-02-22 14:59:39 +02: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
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
Neil Rashbrook
0a1cf802b8 Better test for bug 649840. r=ehsan. + bustage-fix by sgautherie. 2012-02-02 22:54:58 +01:00
Rafael Ávila de Espíndola
9661967223 Bug 714960 - Use asyncClose in toolkit/components/satchel/nsFormHistory.js. r=paul. 2012-02-01 11:16:24 +01:00
Ehsan Akhgari
25e8c06950 Backout changeset 8b6e498d5933 (bug 649840) because it landed without reviews 2012-01-31 12:07:56 -05:00
Neil Rashbrook
366e19724f Better test for bug 649840. r=ehsan. + bustage-fix by sgautherie. 2012-01-31 00:27:23 +01:00
Ed Morley
d1b367f3d5 Backout 8705f07a49ec (bug 649840) for bustage 2012-01-30 23:20:54 +00:00
Neil Rashbrook
8f27b20bd2 Better test for bug 649840 r=ehsan 2012-01-30 22:28:21 +00:00
Ehsan Akhgari
fddc8df2f3 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
Matthew Noorenberghe
323f3ddfa8 Bug 461820 - prevent accessing searchbar history from content (tests) r=dolske
--HG--
extra : rebase_source : c83545f7fa62353bad8cdd783fdd09626b9a23e0
2012-01-10 16:53:16 -08:00
Serge Gautherie
029e7ef276 Bug 705957. (Bv2) test_bug_511615.html: Improve the spelling of "priviledged". r=ehsan.
DONTBUILD (test-only, spelling-only).
2012-01-05 14:19:14 +01:00
Rafael Ávila de Espíndola
e4a725e877 Bug 696486 - Close dbConnection. r=mak. 2011-12-28 13:04:37 -05:00