Commit Graph

107 Commits

Author SHA1 Message Date
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Ehsan Akhgari
e368dc9c85 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
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Justin Lebar
f5377cfc4f Bug 750454 - Fix FUEL leaks. Part 8: Reformat FUEL code. r=mak
--HG--
extra : rebase_source : f60cacaef0d993a4fde695140fcd3b6fab9e8c7e
2012-06-05 20:05:50 -04:00
Justin Lebar
fa5fbca01c Bug 750454 - Fix FUEL leaks. Part 7: Test fixes. r=mak
--HG--
extra : rebase_source : 0201c4b3ea9f621cf9ee49402683ee2ce95b017b
2012-06-05 20:05:50 -04:00
Justin Lebar
fffb3b814c Bug 750454 - Fix FUEL leaks. Part 4: Fix bookmarks leaks. r=mak
--HG--
extra : rebase_source : 1f3c91c0ebdaf883e78e0bd317f0dfda35334838
2012-06-05 20:05:50 -04:00
Justin Lebar
f606e833b8 Bug 750454 - Fix FUEL leaks. Part 2: Fix browser leaks. r=mak
--HG--
extra : rebase_source : c247f0792ec1db40c0781cff1353377f8c78781d
2012-06-05 20:05:50 -04:00
Justin Lebar
943b7e31fb Bug 750454 - Fix FUEL leaks. Part 1: Use weak refs in Application. r=mak
--HG--
extra : rebase_source : 04b4ce7ee1488481281a3073b4ba6900f14afbdf
2012-06-05 20:05:50 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Marco Bonardo
d20e75ed38 Bug 613588 (Frontend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:26 +01:00
Panagiotis Koutsourakis
9c7dfb9706 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
Ed Morley
7ea8e12caa 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
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Ms2ger
8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Peter Van der Beken
5cc319391d Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin.
--HG--
extra : rebase_source : 8463c6f8ba1f969278d4e33bfa08495fa3e36071
2011-05-25 10:46:51 +02:00
Jeff Walden
f15d2639f5 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
985dbafd23 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
ca2ed756b9 Another round of orange fixes, sigh. r=orange yet again 2011-01-23 00:12:05 -08:00
Shawn Wilsher
4e205a3fb7 Bug 607309 - Modify nsINavBookmarkObserver::onItemAdded to include the URI
r=mak
sr=mconnor
a=blocking
2010-10-26 17:20:53 -05:00
Joel Maher
8c31c92e64 Bug 592859 Update browser chrome tests to only use chrome paths for mochitest to prep for android support r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Justin Dolske
5772854f67 Bug 583885 - Fix FUEL browser_Bookmarks.js to not make bad assumption about annotations. r=sdwilsh 2010-08-02 16:02:19 -07:00
Benjamin Smedberg
29e089defb Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
e6c416859c Fix fuelApplication.manifest to register the correct category for the Application global. 2010-06-25 13:54:15 -04:00
Benjamin Smedberg
4f8e7bcf17 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
31432df1fb Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Dave Townsend
f62e034455 Bug 573246: Fix tests that are failing with the Feedback extension installed. r=gavin 2010-06-24 15:01:27 -07:00
Michael Kohler
8550fb091a Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Dão Gottwald
5d8c953e7d follow-up to changeset 8e48c8fb8299 2010-05-17 09:36:22 +02:00
Dão Gottwald
fca0eea041 Let browser_Browser.js use the status filter instead of a raw progress listener to see if it makes a difference for bug 458688 2010-05-16 22:27:20 +02:00
Dave Townsend
f7cfa7038f Bug 552731: Update FUEL to use the new EM APIs. r=mfinkle 2010-04-20 15:14:15 -07:00
Dave Townsend
bfd56a86b8 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Dave Townsend
e853b6f3b4 Bug 552731: Update FUEL to use the new EM APIs. r=mfinkle 2010-04-20 15:14:15 -07:00
L. David Baron
fff7eaa000 Fix spelling of existence. 2010-04-08 20:58:17 -07:00
Dão Gottwald
986b546ddd use Services.* in browser chrome tests 2010-04-02 09:20:42 +02:00
Dão Gottwald
f809d4ea43 Bug 554005 - Implement tabbrowser.tabs, deprecate mTabs and mTabContainer. r=gavin 2010-03-22 15:12:04 +01:00
Dão Gottwald
6f14dd916d Bug 347930 - Move the tabs outside the tabbrowser, put them in a toolbar. r=vlad
--HG--
extra : rebase_source : e1662b549464d68417cf3b0f07d9624fe1a670ef
2010-03-17 07:36:13 +01:00
Dão Gottwald
5dda4c5428 fix up tests 2010-03-13 17:55:44 +01:00
Dão Gottwald
4c2a8592be Use ordinary JS functions as observer callbacks in browser chrome tests 2010-02-06 09:47:42 +01:00
Dietrich Ayala
cac24f0445 Bug 543672 - Warning: setting a property that has only a getter in fuelApplication.js' Utilities.free (r=dao) 2010-02-03 10:26:55 -08:00
Dietrich Ayala
a9cd8a88e0 Bug 506471 - FUEL should avoid putting itself in the app-startup category (r=mfinkle) 2010-01-31 19:12:57 -08:00
Serge Gautherie
b925d13af6 Bug 534647 - mochitest-browser-chrome: perma/random "browser_ApplicationPrefs.js | Timed out" after bug 152526 landing; (Fv1-FF) Improve a few log messages.
r=gavin.sharp.
2010-01-24 14:58:31 +01:00
Metal Sonic
80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Dão Gottwald
10f004427c Bug 521282 - Make sure the browser window is focused before each test. r=mano 2009-11-22 15:05:54 +01:00
Dão Gottwald
e1a4065ed3 Bug 525710 - getPagesWithAnnotation, getItemsWithAnnotation, getPageAnnotationNames, getItemAnnotationNames, getFaviconData, getQueries, getFolders and getTagsForURI length out params should be optional. r=sdwilsh
--HG--
extra : rebase_source : e46c14838c9076d6bb32a423e0193e71b1d0532a
2009-11-02 22:04:15 +01:00
Dietrich Ayala
8f8c161f85 Bug 498130 - Reduce places-views overhead (RELAND) 2009-10-01 09:53:26 -07:00
Dietrich Ayala
d1261351b1 Backout bug 498130 due to persistent startup crash on Windows Mobile (bug 519854) 2009-09-30 17:21:39 -07:00