Commit Graph

970 Commits

Author SHA1 Message Date
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
14545664e3 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Raymond Lee
6d14864b91 bug 839034 - move markPageAsXXX methods to nsINavHistoryService r=mak sr=gavin 2013-02-27 10:54:09 +08:00
Marco Bonardo
b1e4531c4c Bug 838798 - Remove deprecated nsILivemarkService interface.
r=Mano sr=gavin
2013-02-27 22:12:49 +01:00
Mike Hommey
640e79f848 Bug 755724 - Move browser application in a subdirectory. r=jimm 2013-02-11 14:10:16 +01:00
Marco Bonardo
e7a888df87 Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Marco Bonardo
86bcfc2bb8 Bug 831094 - Avoid replacing nodes in Places query results.
r=Mano sr=gavin
2013-02-06 20:48:09 +01:00
Gregory Szorc
7968a67e7d Merge mozilla-central into services-central
--HG--
rename : content/media/webaudio/AudioEventTimeline.h => content/media/AudioEventTimeline.h
2013-02-05 22:40:34 -08:00
Gregory Szorc
1920b6d833 Bug 828546 - Part 1: Support Health Report mode when gathering Places Telemetry; r=mak 2013-02-05 10:44:14 -08:00
Raymond Lee
f890c997af Bug 836624 - Remove getFaviconForPage and getFaviconDataAsDataURL in test_bookmarks_html.js. r=mak 2013-02-04 12:05:21 +08:00
Raymond Lee
c4c2fe11a4 Bug 816903 - Remove calls to addVisits from Places tests. r=mak 2013-01-31 15:10:46 +08:00
Andres Hernandez
f7e8b249ba Bug 739217 - Part 5: Toolkit replacements of synchronous isVisited with asynchronous isURIVisited. r=mak 2013-02-04 10:58:54 -06:00
Andres Hernandez
25b05a23c8 Bug 739217 - Part 2: docshell replacement of synchronous isVisited with asynchronous isURIVisited. r=mak
--HG--
rename : docshell/test/bug94514-postpage.html => toolkit/components/places/tests/mochitest/bug94514-postpage.html
rename : docshell/test/test_bug94514.html => toolkit/components/places/tests/mochitest/test_bug_94514.html
2013-02-01 10:36:28 -06:00
Dave Townsend
f1c830614d Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin
--HG--
rename : toolkit/addon-sdk/test/Makefile.in => addon-sdk/test/Makefile.in
rename : toolkit/addon-sdk/test/unit/head.js => addon-sdk/test/unit/head.js
rename : toolkit/addon-sdk/test/unit/test_promise.js => addon-sdk/test/unit/test_promise.js
rename : toolkit/addon-sdk/test/unit/xpcshell.ini => addon-sdk/test/unit/xpcshell.ini
2013-02-01 11:43:15 -08:00
Ryan VanderMeulen
a9c703a4ce Backed out 7 changesets (bug 739217) for mochitest-1 orange on a CLOSED TREE.
--HG--
rename : toolkit/components/places/tests/mochitest/bug94514-postpage.html => docshell/test/bug94514-postpage.html
rename : toolkit/components/places/tests/mochitest/test_bug_94514.html => docshell/test/test_bug94514.html
2013-01-31 19:36:04 -05:00
Andres Hernandez
81082fc78f Bug 739217 - Part 5: Toolkit replacements of synchronous isVisited with asynchronous isURIVisited. r=mak 2013-01-30 11:30:58 -06:00
Andres Hernandez
fd816b2fd1 Bug 739217 - Part 2: docshell replacement of synchronous isVisited with asynchronous isURIVisited. r=mak
--HG--
rename : docshell/test/bug94514-postpage.html => toolkit/components/places/tests/mochitest/bug94514-postpage.html
rename : docshell/test/test_bug94514.html => toolkit/components/places/tests/mochitest/test_bug_94514.html
2013-01-17 14:52:44 -06:00
Ehsan Akhgari
84c4ac3c75 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Jeff Walden
891be940c1 Bug 786135 - Make parseInt(stringStartingWith0ButNot0xOr0X) parse as decimal to comply with ES5. r=dmandelin
--HG--
rename : js/src/tests/js1_8_5/extensions/parseInt-octal.js => js/src/tests/ecma_5/Global/parseInt-default-to-decimal.js
extra : rebase_source : 824fe7e00fbb6ffa38ebba5c43f6c0801f387309
2013-01-28 13:08:32 -08:00
Marco Bonardo
f5c101fb07 Bug 832133 - Stop using addvisit() in toolkit cpp tests.
r=Mano
2013-01-25 11:16:24 +01:00
Raymond Lee
4707c6f79e Bug 820784 - Remove alternative add_task implementations. r=mak 2013-01-24 12:47:19 +08:00
Raymond Lee
8303d5c79f Bug 833125 - test_bug_411966.html and bug_411966/redirect.js are still using addURI. r=mak 2013-01-23 12:15:17 +08:00
Raymond Lee
3f0185e9c2 Bug 831407 - test_399606.js has been replaced by browser_bug399606.js and should thus be removed from the tree. r=mak 2013-01-23 00:26:45 +08:00
Raymond Lee
9c848d5bc7 Bug 752217 - Replace usage of setPageTitle with updatePlaces. r=mak 2013-01-23 10:50:13 +08:00
Marco Bonardo
a384188bf5 Bug 824074 - Properly update frecency sorting in bookmarks queries.
r=Mano
2013-01-22 21:19:01 +01:00
Marco Bonardo
63b4e0b3f5 Bug 619623 - Wait for the WAL checkpoint in case that helps avoiding the intermittent failure in test_IHistory.cpp
r=test-only-experiment-not-worth-it a=nonlibxul
2013-01-22 14:25:03 +01:00
Raymond Lee
a2d8072f3d Bug 820763 - Stop using addvisit() in toolkit tests. r=mak 2013-01-18 10:13:09 +08:00
Marco Bonardo
ea2ca9b0fe Bug 831725 - Fix wrong merge on toolkit/components/places/tests/browser/head.js
r=me
2013-01-19 12:30:00 +01:00
Raymond Lee
d148ad2a5d Bug 752218 - Replace usage of AddURI with updatePlaces. r=mak 2013-01-17 10:28:26 +08:00
Ed Morley
fad3c1f5c8 Bug 821781 - Disable places/tests/unit/test_399266.js on Linux for too many intermittent failures 2013-01-10 14:59:28 +00:00
Marco Bonardo
2a0990e70c Bug 825849 - Add a RemoveAllDownloads API to nsIDownloadHistory.
r=Mano sr=gavin
2013-01-05 10:21:04 +01:00
William Chen
7cd5470029 Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Andres Hernandez
42779407f8 Bug 823739 - Port browser_favicon_privatebrowsing.js to the new per-window PB APIs. r=jdm
--HG--
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js
2012-12-28 13:10:33 -06:00
Marco Bonardo
ec97496687 Bug 822710 (part 1) - Implement a new getAnnotationsHavingName method.
r=Mano sr=gavin
2012-12-21 15:19:04 +01:00
Ehsan Akhgari
995bee8441 Bug 823739 - Part 0: Skip browser_favicon_privatebrowsing.js in per-window PB builds 2012-12-20 18:01:25 -05:00
Marco Bonardo
643d69f402 Bug 766799 - Notify hidden visits to history observers.
Redirect sources and framed visits are considered hidden and thus not shown in
common UI history queries.  So far were not even notified, but the right thing
to do is to let the observer handle them based on its needs.
r=Mano sr=Mossop
2012-12-20 23:45:00 +01:00
Raymond Lee
a857de510f Bug 806741 - Port test_bug_461710.html to the new per-tab PB APIs. r=jdm
--HG--
rename : toolkit/components/places/tests/mochitest/test_bug_461710.html => toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html
2012-12-19 11:47:41 +08:00
Marco Bonardo
364be2e283 Bug 791562 - crash in PlacesFolderConversion::AppendFolder.
r=mano
2012-12-17 15:03:49 +01:00
Ehsan Akhgari
61b1fe31c8 Remove two extra instances of whenNewWindowLoaded, no bug
It's usually enough to define each function once in Javascript.
No need to keep repeating things to the compiler.  ;-)

--HG--
extra : rebase_source : ea8530874b20669c3f0e963836b263f07fb48768
2012-12-12 14:08:19 -05:00
Gregory Szorc
9e63161b8c Bug 819033 - Part 0: Remove references to private xpcshell variables; r=paolo 2012-12-11 10:53:24 -08:00
Ed Morley
58f66d8a75 Backout fac650c31656 & 907a846d368f (bug 819033) for xpcshell failures 2012-12-11 20:29:18 +00:00
Gregory Szorc
be40444435 Bug 819033 - Part 0: Remove references to private xpcshell variables; r=paolo 2012-12-11 10:53:24 -08:00
Mario Alvarado [:marioalv]
8f0a297232 Bug 806738 - Port browser_visituri_privatebrowsing.js to the new per-tab PB APIs; r=ehsan
DONTBUILD since this is NPOTB for global PB builds

--HG--
rename : toolkit/components/places/tests/browser/browser_visituri_privatebrowsing.js => toolkit/components/places/tests/browser/browser_visituri_privatebrowsing_perwindowpb.js
2012-12-10 00:44:33 -06:00
Paolo Amadini
22866cd1ef Bug 778699 - Remove calls to addVisit from the "unit" folder. r=mak 2012-12-08 20:51:56 +01:00
Paolo Amadini
5e30ff315f Bug 778694 - Remove calls to addVisit from the "queries" folder. r=mak 2012-12-08 20:51:12 +01:00
Paolo Amadini
c8311eb391 Bug 776872 - Remove calls to addVisit from the "bookmarks" folder. r=mak 2012-12-08 20:51:09 +01:00
Paolo Amadini
98900f3a53 Bug 776863 - Remove calls to addVisit from the "autocomplete" folder. r=mak 2012-12-08 20:51:07 +01:00
Paolo Amadini
71b973afba Bug 776855 - Remove calls to addVisit from the "favicons" folder. r=mak 2012-12-08 20:51:04 +01:00
Paolo Amadini
f79d894a17 Bug 776465 - Remove calls to addVisit from the "expiration" folder. r=mak 2012-12-08 20:51:01 +01:00
Paolo Amadini
0979674b2d Bug 775580 - Remove calls to addVisit from test_sorting.js. r=mak 2012-12-08 20:50:59 +01:00
Paolo Amadini
1d617b7bd7 Bug 763295 - Port the bookmarks export service to JavaScript. r=mak 2012-12-08 20:50:54 +01:00
Benedict Singer
eef8ddc2e4 Bug 787134 - Make links not in a document or with an invalid href respond to :link selector. r=bzbarsky 2012-12-07 09:35:14 -05:00
Josh Matthews
56475ee349 Bug 806740 - Unbreak Birch. DONTBUILD for NPOTB. 2012-12-06 22:52:39 -05:00
Mario Alvarado [:marioalv]
cc47e11a85 Bug 806740 - Port test_setAndFetchFaviconForPage_failures.js to the new per-tab PB APIs; r=ehsan
DONTBUILD since this is NPOTB for global PB builds

--HG--
rename : toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage_failures.js => toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage_failures.js
rename : toolkit/components/places/tests/favicons/favicon-normal16.png => toolkit/components/places/tests/browser/favicon-normal16.png
2012-12-06 18:42:36 -06:00
Mario Alvarado [:marioalv]
decb7e3186 Bug 806739 - Port test_setAndFetchFaviconForPage.js to the new per-tab PB APIs; r=ehsan
DONTBUILD since this is NPOTB for global PB builds

--HG--
rename : toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js => toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js
2012-12-06 01:48:46 -06:00
Ehsan Akhgari
04dd7bedc8 Bug 806741 - Part 0: Don't run test_bug_461710.html in per-window PB builds 2012-12-06 00:48:57 -05:00
Ehsan Akhgari
728e66028d Bug 806740 - Part 0: Don't run test_setAndFetchFaviconForPage_failures.js in per-window PB builds 2012-12-06 00:47:14 -05:00
Ehsan Akhgari
dd482610c3 Bug 806739 - Part 0: Don't run test_setAndFetchFaviconForPage.js in per-window PB builds 2012-12-06 00:44:58 -05:00
Ehsan Akhgari
4c0909ec11 Bug 806738 - Part 0: Don't run browser_visituri_privatebrowsing.js in per-window PB builds 2012-12-06 00:43:54 -05:00
Virgil Dupras
d0943e17dd Bug 801450 - Can't import bookmarks from Safari-created HTML files. r=mak 2012-12-03 20:26:15 -05:00
Ted Mielczarek
9017b65900 bug 816963 - Enable crash reporting in places C++ unit tests. r=mak 2012-11-30 14:26:19 -05:00
Andres Hernandez
7c8a36e1db Bug 814749 - Disable test_248970.js in per-window PB builds; r=ehsan
--HG--
extra : rebase_source : 8c19f0754799aea9326d7a42caac4e0511d0546b
2012-11-28 15:03:30 -06:00
Daniel Holbert
3ea5c0f58b Bug 815058 followup: Add FAIL_ON_WARNINGS to 2 test dirs that this bug's patch made warning-free. r=Ms2ger 2012-11-28 09:55:41 -08:00
Andres Hernandez
135af69d8e Bug 806742 - Port toolkit/components/places/tests/unit/test_248970.js to the new per-window PB APIs; r=ehsan
--HG--
rename : toolkit/components/places/tests/unit/test_248970.js => toolkit/components/places/tests/browser/browser_bug248970.js
2012-11-26 14:09:24 -06:00
Ehsan Akhgari
dad4659347 Backed out changeset ac304d3c250e (bug 806742) because of test failures 2012-11-26 16:20:03 -05:00
Andres Hernandez
125a40fa8e Bug 806742 - Port toolkit/components/places/tests/unit/test_248970.js to the new per-window PB APIs; r=ehsan
--HG--
rename : toolkit/components/places/tests/unit/test_248970.js => toolkit/components/places/tests/browser/browser_bug248970.js
2012-11-23 10:39:38 -06:00
Marco Bonardo
a61f8dc9e4 Bug 773982 - Always show hidden entries when searching history.
r=mano
2012-11-15 12:33:06 +01:00
Josh Matthews
03a47e15d5 Bug 723005 - Remove all checks for global privacy status in history-related code, and add them to callers when appropriate. r=mak sr=gavin 2012-02-18 01:40:10 -05:00
Paolo Amadini
6dc2df3e0e Bug 775495 - Replace waitForClearHistory and waitForAsyncUpdates with versions that return promises, and remove waitForFrecency. r=mak 2012-11-11 14:01:49 +01:00
Matt Joras
0d8fd6916a Bug 798033 - Removes 'using namespace' from toolkit headers - r=bsmedberg 2012-11-01 18:09:22 -04:00
Kyle Huey
1482122303 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
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb 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
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a 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
Andrea Marchesini
b8574b76ab Bug 794386 - do not store blob: URIs in global history, r=gavin.sharp 2012-10-08 12:59:22 -07:00
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
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
Marco Bonardo
165faa2869 Bug 781617 - autoFill should respect user's input.
r=unfocused
2012-09-21 16:56:20 +02:00
Adam Dane [:hobophobe]
58808c3d56 Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
Ehsan Akhgari
43f06e8050 Bug 741059 - Part 4: Update the callers to mozIAsyncFavicon::SetAndFetchFaviconForPage; r=jdm,bz,mak 2012-09-06 00:34:50 -04:00
Marco Bonardo
c1c917ac7e Bug 751813 - Stop spewing to the console about Places Maintenance.
r=paolo
2012-09-12 12:02:07 +02:00
Aryeh Gregor
61fdd38409 Bug 782616 - Use more appropriate return types than nsresult; r=mak 2012-08-14 12:10:42 +03:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Bobby Holley
7d93b33884 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Nathan Froyd
bcd485a059 Bug 764190 - fix PLACES_EXPIRATION_STEPS_TO_CLEAN telemetry; r=taras,mak 2012-08-07 15:46:39 -04:00
Tim Taubert
bb4a8970e4 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Blair McBride
ce5f03d905 Bug 775072 - Inline autocomplete munges URLs that contain characters that would normally be escaped. r=mak 2012-08-23 00:44:19 +12: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
Andrew Hurle
73b0dda405 Bug 634139 - Add a service for finding the representative color in an image. r=MattN
--HG--
extra : rebase_source : 111c2a3e6b0abfd8b75b90afbe5e736f80ff2939
2012-08-03 14:18:00 -07:00
Mark Capella
f6b3d51d4a Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Toolkits, r=ted, f=gps 2012-08-14 10:06:12 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
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
Ehsan Akhgari
8e4039f7a3 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (toolkit parts); r=jrmuizel 2012-06-19 23:27:32 -04:00
Asaf Romano
849ca56b11 Bug 730340 - Don't use expando properties for storing data on places nodes. Make sure this test doesn't fail after expandos support is removed from result nodes. 2012-06-02 16:58:52 +03:00
Marco Bonardo
4cc111a3e7 Bug 720081 - Part 2: inline autocomplete should respect protocol and www prefix
r=dietrich
2012-06-01 14:38:39 +02:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Marco Bonardo
bef0f6ea46 Bug 753205 - Add back separators support to bookmarks HTML import.
r=dietrich

--HG--
rename : browser/components/places/tests/unit/bookmarks.corrupt.html => toolkit/components/places/tests/unit/bookmarks.corrupt.html
rename : browser/components/places/tests/unit/bookmarks.preplaces.html => toolkit/components/places/tests/unit/bookmarks.preplaces.html
rename : browser/components/places/tests/unit/test_384370.js => toolkit/components/places/tests/unit/test_384370.js
rename : browser/components/places/tests/unit/test_398914.js => toolkit/components/places/tests/unit/test_398914.js
rename : browser/components/places/tests/unit/test_bookmarks_html.js => toolkit/components/places/tests/unit/test_bookmarks_html.js
rename : browser/components/places/tests/unit/test_457441-import-export-corrupt-bookmarks-html.js => toolkit/components/places/tests/unit/test_bookmarks_html_corrupt.js
rename : browser/components/places/tests/unit/test_bookmarksRestoreNotification.js => toolkit/components/places/tests/unit/test_bookmarks_restore_notification.js
2012-05-24 17:33:54 +02:00
Daniel Holbert
e3318202f7 Bug 757644: Tweak constructor init-list order in mock_Link.h to fix build warning. r=ehsan 2012-05-22 16:25:23 -07:00