Commit Graph

488 Commits

Author SHA1 Message Date
Marco Bonardo
f83604f385 Bug 737841 - Part 2: tests
r=dietrich
2012-04-07 01:17:51 +02:00
Paolo Amadini
3ee0f44360 Bug 728143 - Replace old synchronous favicons calls in Places tests. r=mak
--HG--
rename : toolkit/components/places/tests/unit/expected-favicon-big16.ico.png => toolkit/components/places/tests/favicons/expected-favicon-big16.ico.png
rename : toolkit/components/places/tests/unit/expected-favicon-big32.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-big32.jpg.png
rename : toolkit/components/places/tests/unit/expected-favicon-big4.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-big4.jpg.png
rename : toolkit/components/places/tests/unit/expected-favicon-big48.ico.png => toolkit/components/places/tests/favicons/expected-favicon-big48.ico.png
rename : toolkit/components/places/tests/unit/expected-favicon-big64.png.png => toolkit/components/places/tests/favicons/expected-favicon-big64.png.png
rename : toolkit/components/places/tests/unit/expected-favicon-scale160x3.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-scale160x3.jpg.png
rename : toolkit/components/places/tests/unit/expected-favicon-scale3x160.jpg.png => toolkit/components/places/tests/favicons/expected-favicon-scale3x160.jpg.png
rename : toolkit/components/places/tests/unit/favicon-big16.ico => toolkit/components/places/tests/favicons/favicon-big16.ico
rename : toolkit/components/places/tests/unit/favicon-big32.jpg => toolkit/components/places/tests/favicons/favicon-big32.jpg
rename : toolkit/components/places/tests/unit/favicon-big4.jpg => toolkit/components/places/tests/favicons/favicon-big4.jpg
rename : toolkit/components/places/tests/unit/favicon-big48.ico => toolkit/components/places/tests/favicons/favicon-big48.ico
rename : toolkit/components/places/tests/unit/favicon-big64.png => toolkit/components/places/tests/favicons/favicon-big64.png
rename : toolkit/components/places/tests/unit/favicon-normal16.png => toolkit/components/places/tests/favicons/favicon-normal16.png
rename : toolkit/components/places/tests/unit/favicon-normal32.png => toolkit/components/places/tests/favicons/favicon-normal32.png
rename : toolkit/components/places/tests/unit/favicon-scale160x3.jpg => toolkit/components/places/tests/favicons/favicon-scale160x3.jpg
rename : toolkit/components/places/tests/unit/favicon-scale3x160.jpg => toolkit/components/places/tests/favicons/favicon-scale3x160.jpg
rename : toolkit/components/places/tests/unit/head_bookmarks.js => toolkit/components/places/tests/favicons/head_favicons.js
rename : toolkit/components/places/tests/unit/test_favicons.js => toolkit/components/places/tests/favicons/test_favicons.js
rename : toolkit/components/places/tests/unit/test_moz-anno_favicon_mime_type.js => toolkit/components/places/tests/favicons/test_moz-anno_favicon_mime_type.js
rename : toolkit/components/places/tests/unit/test_doReplaceFaviconData.js => toolkit/components/places/tests/favicons/test_replaceFaviconData.js
rename : toolkit/components/places/tests/unit/test_doReplaceFaviconDataFromDataURL.js => toolkit/components/places/tests/favicons/test_replaceFaviconDataFromDataURL.js
2012-03-19 20:24:21 +01:00
OHZEKI Tetsuharu
0c5cfa68fa Bug 730668 - Clean up test_placesTXN.js r=mak 2012-03-16 15:16:12 -07:00
Marco Bonardo
359fdb663d Bug 731274 - Make reloadLivemarks optionally force reloads and use it to speed up livemarks population.
r=dietrich sr=gavin
2012-03-08 11:14:59 +01:00
Ryan VanderMeulen
5ba5232745 Bug 648690 - Update libpng to version 1.5.9 (Mozilla changes). r=joedrew, f=dolske 2012-03-03 22:18:31 -05:00
OHZEKI Tetsuharu
175e1206f7 Bug 575955 - Replace internal usage of old transactions shim, add a new toolkit test. r=mak
--HG--
rename : browser/components/places/tests/unit/test_placesTxn.js => toolkit/components/places/tests/unit/test_placesTxn.js
rename : browser/components/places/tests/unit/test_txnGUIDs.js => toolkit/components/places/tests/unit/test_txnGUIDs.js
2012-02-28 18:40:38 -05:00
Marco Bonardo
9aaeffc5ec Bug 613588 (Tests) - Load-on-demand livemarks.
r=dietrich
2012-02-24 13:42:30 +01:00
Marco Bonardo
9927c72144 Bug 613588 (Backend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:24 +01:00
Marco Bonardo
96890c5d55 Bug 721319 - PlacesUtils.removeLazyBookmarkObserver() doesn't always remove observers, causes browser window to leak.
r=dietrich
2012-02-24 11:10:38 +01:00
Marco Bonardo
497fdd8c01 Bug 722176 - Inline autocomplete becomes inactive after deleting an entry in location bar history.
r=dietrich
2012-02-22 12:23:14 +01:00
Marco Bonardo
2d2746d4fa Bug 720258 - Inline autocomplete should only autocomplete URLs you've typed.
r=dietrich
2012-02-17 14:24:58 +01:00
Marco Bonardo
1a19fd0dcf Bug 723924 - Telemetry for time needed for a single frecency update.
r=dietrich
2012-02-07 16:01:07 +01:00
Marco Bonardo
f5a28d965d Bug 723925 - Telemetry for number and size of annotations.
r=dietrich
2012-02-07 16:00:55 +01:00
Marco Bonardo
c07dad5376 Bug 724805 - Bug 723126 broke PlacesDBUtils add-ons compatibility.
r=dietrich
2012-02-07 15:59:07 +01:00
Marco Bonardo
39552c2602 Bug 723126 - Telemetry for time needed for idle maintenance.
r=dietrich
2012-02-04 15:12:46 +01:00
Marco Bonardo
a38fe49873 Bug 723124 - Telemetry for time needed for idle frecency update.
r=dietrich
2012-02-04 15:12:42 +01:00
Mark Banner
caf3d730aa Unit test bustage fix from bug 672681 for apps without private browser and that don't have places enabled by default. r=unit-test only bustage fix 2012-01-21 11:00:18 +00:00
Paolo Amadini
58fe84dd0e Bug 672681 - Make nsIDownloadHistory::addDownload asynchronous. r=mak 2012-01-20 13:48:20 +01:00
Michael Ventnor
6835b10ae1 Bug 699751 - Change schema for new inline autocomplete.
Original patch by Michael Ventnor, further improved by David Dahl <ddahl@mozilla.com>.
r=mak
2012-01-19 12:31:23 +01:00
Vladan Djeric
30b8c916cb Bug 704855. Reduce fsyncs in Places & create/update root bookmarks in Database.cpp. r=mak 2011-12-13 12:52:06 -05:00
Felix Fung
c005cf68d7 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconDataFromDataURL Tests. r=mak 2011-12-15 16:56:21 -08:00
Felix Fung
8e52a2eaf8 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconData Tests. r=mak 2011-12-15 16:56:10 -08:00
Marco Bonardo
72b1808a9e Bug 707945 followup - Fix random failure in test_421180.js by making it properly wait for asynchronous database operations. 2011-12-08 00:28:30 +01:00
Marco Bonardo
16ef8fcdb7 Bug 707949 - Don't recalculate frecency for tags.
r=dietrich
2011-12-07 21:56:18 +01:00
Marco Bonardo
6cb47e39c2 Merge last green changeset from mozilla-inbound to mozilla-central 2011-12-02 12:11:31 +01:00
Mark Banner
e647630932 Unit test bustage fix from bug 702810 for apps that implement imap uris - don't test the imap uri for visited status because nsIIOService.newURI() can throw if the app knows about imap:// but an account is not set up for it. r=mak over irc 2011-12-01 11:29:34 +00:00
Richard Newman
f8d1f2b5f7 Bug 675996 - Part 2: tests for GUIDs in favicons. r=mak 2011-12-01 13:58:27 -08:00
Marco Bonardo
cd8ffb7f72 Bug 702810 - mozIAsyncHistory should expose an async isURIVisited method.
r=dietrich sr=gavin
2011-11-30 00:48:47 +01:00
Marco Bonardo
1686da13cb Bug 700296 (Places) - Remove dynamic containers implementation from Places.
r=dietrich
2011-11-29 02:22:51 +01:00
Paolo Amadini
02f0fee445 Bug 679314 - Cleanup test_download_history.js. r=mak 2011-11-19 14:34:28 +01:00
Marco Bonardo
050a8643af Bug 658305 - Use journal_size_limit on places.sqlite.
r=dietrich
2011-09-01 12:01:59 +02:00
Marco Bonardo
872c97693a Bug 692120 - The star button doesn't need to observe bookmarks changes till bookmarks service is alive.
r=dietrich
2011-10-27 11:11:45 +02:00
Marco Bonardo
bf386cf7fd Bug 696159 - Remove some deprecated Places code.
r=dietrich sr=rstrong
2011-10-27 11:11:43 +02:00
Marco Bonardo
8b761f2d8d Bug 692493 - Add maintenance for visit_count and last_visit_date.
r=dietrich
2011-10-10 12:15:27 +02:00
Marco Bonardo
12db427fa1 Bug 691509 - Run ANALYZE at each schema change (and force a schema change).
Partly copied from a patch by Richard Newman.
r=dietrich

--HG--
rename : toolkit/components/places/tests/migration/test_v11_from_v10.js => toolkit/components/places/tests/migration/test_current_from_v10.js
rename : toolkit/components/places/tests/migration/test_v11_from_v10_migrated_from_v11.js => toolkit/components/places/tests/migration/test_current_from_v10_migrated_from_v11.js
2011-10-07 21:10:44 +02:00
Marco Bonardo
65708f667a Bug 689142 - Places telemetry gets lost, due to being collected on idle-daily.
r=taras,dietrich
2011-10-07 21:10:42 +02:00
Margaret Leibovic
6c64b90493 Bug 691524 - Remove support for browser.startup.page == 2 and deprecate lastPageVisited. r=mak, sr=gavin 2011-10-03 15:57:19 -07:00
Philipp von Weitershausen
aead88af5d Merge m-c to s-c 2011-09-27 09:47:53 -07:00
Richard Newman
8856721957 Bug 688279 - Clean up test_favicons.js. r=mak 2011-09-23 10:06:06 -07:00
Marco Bonardo
bdd6622a4d Bug 687376 - continue_test in test_browserhistory.js might never execute.
r=dietrich
2011-09-22 10:45:02 +02:00
Geoff Brown
1cafda1972 Bug 684965 - update xpcshell manifests for Android; r=jmaher 2011-09-06 22:29:00 -07:00
Brian R. Bondy
7c854d8e84 Bug 676906 - xpcshell test for async getFaviconDataForPage in mozIAsyncFavicons. r=mak 2011-08-31 10:28:20 -04:00
Marco Bonardo
e642011f52 Bug 487809 - Stop using visit_count to invalidate frecencies.
r=dietrich
2011-08-30 16:24:01 +02:00
Marco Bonardo
a6322ce51a Bug 674210 - Reduce places.sqlite cache size and reorganize history expiration around the new value.
r=dietrich
2011-08-30 16:23:59 +02:00
Richard Newman
5f66e704b4 Bug 615413 - Part 1: Clear out old weave/ and sync/ annotations. r=mak 2011-08-29 12:52:49 -07:00
Richard Newman
be26af875e Bug 615413 - Part 0: trailing whitespace. r=mak 2011-08-29 12:52:47 -07:00
Allison Naaktgeboren
1a50ccf7af Merge services-central into mozilla-central. 2011-08-23 14:38:16 -07:00
Marco Bonardo
fd2c793a9a Bug 680550 - Handle removeAllPages more sanely in tests.
r=dietrich
2011-08-23 14:34:15 +02:00
Richard Newman
98eb1efb6b Merge mozilla-central to services-central. 2011-08-22 08:03:23 -07:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Philipp von Weitershausen
996add8565 Bug 676110 - Part 2: Tests for mozIVisitInfoCallback::handleCompletion. r=mak
--HG--
extra : rebase_source : d8ca2890775656618ada8417610c5e026cd7aa63
2011-08-19 10:11:37 -07:00
Paolo Amadini
5bcf37a7bd Bug 591289 - Save chosen download file name and other metadata in Places history [r=sdwilsh, ui-r=limi] 2011-08-15 18:08:48 -07:00
Richard Newman
7becc04d84 Merge mozilla-central to services-central prior to merge back. 2011-08-09 09:17:42 -07:00
Richard Newman
5e08f95fca Merge mozilla-central to services-central. 2011-08-08 08:16:57 -07:00
Allison Naaktgeboren
88796dd9ee Bug 636603 - Part 1: mozIAsyncHistory: only call mozIVisitInfoCallback on failure; API change. sr=rstrong, r=mak 2011-08-04 16:50:17 -07:00
Marco Bonardo
20c6595348 Bug 675878 - intermittent failure in toolkit/components/places/tests/unit/test_telemetry.js 2011-08-02 10:50:41 +02:00
Marco Bonardo
2d60c84142 Bug 671001 - Use telemetry to collect common Places stats.
r=dietrich
2011-08-01 23:09:20 +02:00
Matheus Kerschbaum
5692e9c245 Bug 669040 part 1: Remove build-system and toolkit dependency on mork and morkreader. r=mak 2011-08-06 17:24:52 +02:00
Robert Sesek
6a70e0ff21 Bug 448168 - Apply |s/entires/entries/g|; r=roc 2011-08-04 09:04:29 +02:00
Steve Fink
b5b601df06 Bug 668906 - Do not call openUnsharedDatabase with a null file (r=sdwilsh)
--HG--
extra : rebase_source : fbd0febc77e9972d10409ce09c73759f7d156ad1
2011-07-01 15:53:41 -07:00
Kyle Huey
7ee7dacb0b Bug 578268: Eliminate the last vestiges of mork from Firefox. r=mak 2011-07-02 12:16:45 -07:00
Marco Bonardo
e1678f1592 Bug 662806 - nsINavHistoryObserver: pass GUID to onPageChanged.
r=philikon sr=rstrong
2011-06-30 22:06:56 +02:00
Marco Bonardo
f7be880d3b Bug 662806 - nsINavHistoryObserver: pass GUID to onTitleChanged.
r=dietrich sr=rstrong
2011-06-30 22:05:49 +02:00
Marco Bonardo
9a02cdb748 Bug 660109 - Allow to distinguish history removals caused by expiration from those requested by the user.
r=dietrich sr=rstrong
2011-06-30 15:34:10 +02:00
Marco Bonardo
fcea44f18f Bug 666709 - One or more places xpcshell tests modify in-tree default.sqlite.
r=ted
2011-06-24 18:00:07 +02:00
Philipp von Weitershausen
7aef33b5ec Bug 633266 - nsINavHistoryObserver: also pass in GUID whenever we pass in a URI. r=mak
Part 1: Tests
2011-06-08 17:10:28 +02:00
Marco Bonardo
3a4685cc78 Bug 556721 - Cleanup test_update_frecency_after_delete.js and test_412132.js
rs=places-team
2011-05-26 23:26:02 +02:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Justin Lebar
110b9f1823 Bug 655270 - push/replaceState should update the favicon. r=mak, sr=gavin 2011-05-20 08:37:02 -04:00
Marco Bonardo
b8dfb02f0c Bug 656188 - Cache last 10 fetched bookmarks info to speed up repeated requests.
r=sdwilsh
2011-05-17 00:11:35 +02:00
Marco Bonardo
114ccfbb5d Bug 633274 - Improve nsINavBookmarkObserver (Places observers changes).
r=sdwilsh
2011-05-13 21:24:25 +02:00
Marco Bonardo
8179a3190d Bug 631374 - Adding or removing tags in the selector listbox always scrolls to top.
r=dietrich
2011-05-05 13:14:21 +02:00
Marco Bonardo
00c605c6fc Bug 630240 - Avoid full refreshes in history results when incremental updates are easy.
r=dietrich
2011-04-29 18:12:20 +02:00
Marco Bonardo
64f53660f8 Bug 652379 - place:folder=-1 returns a non-empty result.
r=dietrich
2011-04-28 19:59:39 +02:00
Marco Bonardo
da6b6004f1 Bug 644727 - intermittent failure in test_faviconService_expireAllFavicons.js.
rs=me
2011-04-28 19:59:35 +02:00
Marco Bonardo
a75d40810e Bug 641531 - Close Places containers after use (mechanical changes)
rs=me
2011-04-23 02:09:13 +02:00
Marco Bonardo
44153474d9 Bug 641074 - Broken folder shortcuts should not interrupt a Places result.
r=sdwilsh
2011-04-23 02:05:33 +02:00
Philipp von Weitershausen
84bbbabc50 Bug 648367 - Add run_next_test to head.js. r=ted 2011-04-18 13:31:20 -07:00
Marco Bonardo
f3a40da729 Merge mozilla-centra to Places 2011-04-18 14:30:00 +02:00
Ehsan Akhgari
6e0bc11267 Bug 648255 - Don't attempt to run the test within the last 10 minutes of a day, since the meaning of "today" might change while the test is running; r=mak 2011-04-16 13:23:53 -04:00
Marco Bonardo
a38d9441f1 Bug 630225 - Expose frecency as a sorting order for the history sidebar (with slight query builder optimization).
r=dietrich
2011-04-13 22:15:41 +02:00
Tyler Colgan
6c223fbdc3 Bug 507387 - Update license blocks to use "Mozilla Foundation" instead of "Mozilla Corporation"; r=gerv f=sgautherie.bz
DONTBUILD
2011-03-10 21:17:00 -08:00
Shawn Wilsher
981c03168d Bug 645049 - Update tests to no longer use a deprecated API
r=Mossop
2011-03-31 10:19:32 -07:00
Marco Bonardo
8c66b9ae68 Bug 649211 - PlacesDBUtils console output is broken. r=sdwilsh 2011-04-12 04:27:33 +02:00
Marco Bonardo
1d142ee8a0 Bug 636917 - isLivemark may return the wrong result to annotations observers; r=dietrich 2011-03-22 10:57:01 -04:00
Shawn Wilsher
92891f9848 Bug 632625 - xpcshell: intermittent "test_async_history_api.js | 2 == 3" or "0 == 3"; Be smart and wait for all background work to complete before moving to the next test.
r=mak77 (a=test-only).
2011-02-23 05:40:56 +01:00
Marco Bonardo
6a14423528 Bug 626341 - Fix bogus bookmarks position values with PlacesDBUtils.
r+a=dietrich
2011-02-17 13:39:54 +01:00
Marco Bonardo
b383076f3e merge backout a=orange 2011-02-17 17:13:51 +01:00
Marco Bonardo
cd2e78bd53 Backed out changeset 753b5de51ba1 due to not explainable crash in ts_places_generated_max 2011-02-17 17:13:21 +01:00
Marco Bonardo
8a7a4dec38 Bug 626341 - Fix bogus bookmarks position values with PlacesDBUtils.
r+a=dietrich
2011-02-17 13:39:54 +01:00
Shawn Wilsher
09905da143 Bug 629539 - test that proper visit notifications are dispatched (test_async_history_api.js)
r=mak
a=test-only change (NPOTB)
2011-02-17 13:48:49 +01:00
Mehdi Mulani
07893e28c1 Bug 628865 - Add tests for dropping referrer, sessionId persisting, and failed insertion with duplicate guid. r=sdwilsh a=blocking-and-tests 2011-02-16 12:19:09 -08:00
Marco Bonardo
cccfdcc28d Test for Bug 633638.
r=dietrich a=blocker
2011-02-15 12:39:26 +01:00
Margaret Leibovic
24b712775f Bug 628805 - Add test for unstored sessionId to test_async_history_api.js and fix the way session ids are stored with places visits [r=sdwilsh, a=blocking-final] 2011-02-08 13:15:18 -08:00
Margaret Leibovic
431bd57991 Bug 628805 - Add tests for invalid referrerURI and invalid sessionId to test_async_history_api.js [r=sdwilsh, a=blocking-final] 2011-01-25 14:26:29 -08:00
Shawn Wilsher
f8dc130fea Bug 629814 - Async history API should ignore place ids
r=mak
sr=rstrong
a=softblocker
2011-02-03 14:09:37 -08:00
Mark Banner
4d5f8476bf Follow up to bug 606966, catch NS_ERROR_FAILURE instead of NS_ERROR_MALFORMED_URI. rs=sdwilsh a=test-only bustage fix for mailnews add-ons DONTBUILD 2011-01-27 13:33:00 -10:00
Shawn Wilsher
8a6460738d Merge Places and mozilla-central. 2011-01-27 10:08:14 -08:00
Marco Bonardo
51118945ad Bug 621273 - Internal URLs show up as results after RSS feed preview.
r=sdwilsh a=blocker
2011-01-27 12:18:14 +01:00
Shawn Wilsher
f1e90b40c8 Bug 606966 - Need an async history visit API exposed to JS
Part 21 - Track and notify about title changes.
r=mak
a=blocking
2011-01-25 09:01:14 -08:00