Commit Graph

970 Commits

Author SHA1 Message Date
Michael Ventnor
def1df697f 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
Marco Bonardo
8a1239036c Bug 711914 - Fetching bookmarks information during onBeforeItemRemove may break the bookmarks cache.
r=dietrich
2012-01-12 17:04:09 +01:00
Marco Bonardo
fbd697da62 Bug 715268 - Downgrades may cause missing favicons GUIDs.
r=dietrich

--HG--
rename : toolkit/components/places/tests/migration/places_v10_from_v11.sqlite => toolkit/components/places/tests/migration/places_v10_from_v14.sqlite
rename : toolkit/components/places/tests/migration/test_current_from_v10_migrated_from_v11.js => toolkit/components/places/tests/migration/test_current_from_v10_migrated_from_v14.js
2012-01-05 11:43:29 +01:00
Vladan Djeric
b6e262ad86 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
fbf46b78d9 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconDataFromDataURL Tests. r=mak 2011-12-15 16:56:21 -08:00
Felix Fung
9b2d40fe61 Bug 699843 - Asynchronous Favicons API - ReplaceFaviconData Tests. r=mak 2011-12-15 16:56:10 -08:00
Rafael Ávila de Espíndola
258648390f Bug 710708 - Finalize statement. r=mak. 2011-12-15 08:37:05 -05:00
Marco Bonardo
b3280023c3 Bug 708693 - Intermittent TEST-UNEXPECTED-FAIL | xpcshell/tests/toolkit/components/places/tests/bookmarks/test_keywords.js.
r=dietrich a=tests-only
2011-12-12 15:24:18 +01:00
Marco Bonardo
fbae993d8b 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
d1886db5d3 Bug 707945 - Remove the keywords trigger since it's a useless perf hog.
r=dietrich
2011-12-07 21:56:23 +01:00
Marco Bonardo
31804d7c68 Bug 707952 - Increase bookmarks cache usefulness.
r=dietrich
2011-12-07 21:56:20 +01:00
Marco Bonardo
86e79b64e2 Bug 707949 - Don't recalculate frecency for tags.
r=dietrich
2011-12-07 21:56:18 +01:00
Marco Bonardo
16b5de3dad Bug 619623 - Ensure proper tests ordering in test_IHistory.cpp.
r=dietrich
2011-12-03 01:19:58 +01:00
Marco Bonardo
f379322c6e Merge last green changeset from mozilla-inbound to mozilla-central 2011-12-02 12:11:31 +01:00
Mark Banner
58125a00f4 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
672a460e8a Bug 675996 - Part 2: tests for GUIDs in favicons. r=mak 2011-12-01 13:58:27 -08:00
Marco Bonardo
011df7e5b6 Bug 702810 - mozIAsyncHistory should expose an async isURIVisited method.
r=dietrich sr=gavin
2011-11-30 00:48:47 +01:00
Marco Bonardo
0aa4a85c3a Bug 705509 - Crash in mozilla::places::Database::GetAsyncStatement.
r=dietrich
2011-11-29 14:13:09 +01:00
Marco Bonardo
26f5648ef9 Bug 700296 (Places) - Remove dynamic containers implementation from Places.
r=dietrich
2011-11-29 02:22:51 +01:00
Paolo Amadini
7dccb2fc59 Bug 679314 - Cleanup test_download_history.js. r=mak 2011-11-19 14:34:28 +01:00
Ed Morley
345c2b06c0 Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Marco Bonardo
976181352a Bug 619623 - Revert a check in test_IHistory, since, even if less frequent, a timeout is not better than a failure. 2011-11-05 13:48:29 +01:00
Marco Bonardo
44e36af0d8 Bug 619623 - Try to fix some intermittent failures in test_IHistory.cpp.
r=dietrich
2011-11-05 01:01:38 +01:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Matthew Noorenberghe
5df9d8121b Bug 646993 - Cap the bookmark title length to TITLE_LENGTH_MAX r=mak
--HG--
extra : rebase_source : e54aa1b081a9256b613e183ccd822e9ccc20f84e
2011-10-28 20:37:13 -07:00
Marco Bonardo
6bf016eada Bug 658305 - Use journal_size_limit on places.sqlite.
r=dietrich
2011-09-01 12:01:59 +02:00
Marco Bonardo
a71a238431 Bug 696900 - Avoid any shutdown work in Places when possible.
r=dietrich
2011-10-27 11:11:47 +02:00
Marco Bonardo
aed26ded66 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
7279ff22e3 Bug 696159 - Remove some deprecated Places code.
r=dietrich sr=rstrong
2011-10-27 11:11:43 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Marco Bonardo
90bbdf9b80 Bug 692496 - Avoid table scan in expiration by restricting on flattened data.
r=dietrich
2011-10-10 12:15:41 +02:00
Marco Bonardo
a88d50316c Backout efed4eae9cd2 for xpcshell-test failure 2011-10-10 13:46:38 +02:00
Marco Bonardo
0bde558a36 Bug 692496 - Avoid table scan in expiration by restricting on flattened data.
r=dietrich
2011-10-10 12:15:41 +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
8d71bae6bb Bug 690354 - Idle expiration never runs for clean databases.
r=dietrich
2011-10-10 12:15:12 +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
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -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
Ehsan Akhgari
b542efd4e6 Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
Rafael Ávila de Espíndola
c7e7073052 Bug 687696 - Use nsRefPtr instead nsCOMPtr. r=mak.
--HG--
extra : rebase_source : 7d8238fc2202e86c23a3426bb076a11dcb11b7a8
2011-09-23 21:29:48 -04: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
Rafael Ávila de Espíndola
e82895a375 Bug 687696 - Generate places shutdown events in the cpp tests. r=mak.
This uses the NS_XPCOM_WILL_SHUTDOWN_OBSERVER_ID notification to produce
the places shutdown messages, emulating what happens in the browser.

--HG--
extra : rebase_source : ddd5bf7973458df14c31f72567b147996b0fac00
2011-09-21 14:14:40 -04:00
Rafael Ávila de Espíndola
935ed2bcfd Bug 673017 - Misc places fixes. r=mak77.
This patch removes places-connection-closing, which is unused, reverts
1d1143dde4bb which was unnecessary and finalizes sql statements.

--HG--
extra : rebase_source : 8923378f4b1c58da8e128009efdf309f8ec29da3
2011-09-21 13:02:40 -04: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
Marco Bonardo
e65078c405 Bug 675416 - Fetching bookmarks information during onBeforeItemRemove may break the bookmarks cache.
r=dietrich
2011-08-22 15:05:16 +02: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
Matheus Kerschbaum
e7cc82ef30 Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz 2011-08-18 12:07:43 +02: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
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04: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
Marco Bonardo
02e07b974c Bug 658242 - Search in bookmarks doesn't find javascript: bookmarks.
r=dietrich
2011-07-26 15:12:38 +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
186c73cf42 Bug 416459 - Implement proper cut action for bookmarks.
r=dietrich
2011-06-30 15:34:02 +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
Marco Bonardo
290c00097d Bug 664986 - Fix random timeouts in livemarks tests.
r=dietrich
2011-06-17 17:05:46 +02:00
Marco Bonardo
1d29bc67a9 Bug 663344 - Maintenance may cause history loss.
r=dietrich
2011-06-16 12:04:14 +02:00
Marco Bonardo
4acb6c380a Merge Places and mozilla-central 2011-06-16 11:55:54 +02:00
Marco Bonardo
cf5abeec84 Bug 303567 - In live bookmarks, entries not having a <link> element should use the <link> child of root.
r=dietrich
2011-06-15 01:54:35 +02:00
Marco Bonardo
69b8d5b058 Bug 556721 - Avoid deprecated octal warnings in head_common.js DONTBUILD
rs=places-team
2011-06-10 02:58:43 +02:00
Marco Bonardo
3636b50e36 Bug 556721 - Close custom Places tests connection when it's used.
rs=places-team
2011-06-10 00:33:00 +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
69ad611285 Merge Places and mozilla-central 2011-06-02 13:34:44 +02:00
Boris Zbarsky
e167b0caba Bug 598833 part 9. Store an Element pointer in Link. r=smaug,sdwilsh 2011-05-31 21:46:57 -04: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
Dão Gottwald
d0986b9f70 remove redundant jsm imports from browser chrome tests
--HG--
extra : rebase_source : 3eee5463d514dfe1f62cd59a9c317e31903e7313
2011-06-10 11:58:45 +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
b0bc1f276a Merge Places and mozilla-central 2011-05-17 15:40:41 +02: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
4de857f50f Bug 633274 - Improve nsINavBookmarkObserver (test).
r=sdwilsh
2011-05-13 21:24:29 +02:00
Marco Bonardo
114ccfbb5d Bug 633274 - Improve nsINavBookmarkObserver (Places observers changes).
r=sdwilsh
2011-05-13 21:24:25 +02:00
Justin Lebar
0421065dcb Bug 646422 - push/replaceState should inform global history of the new URI's title. r=mak 2011-05-15 20:29:18 -04: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
b6ee6bdde2 Bug 639105 - A new entry does not appear in History menu for the certain pages.
r=dietrich
2011-05-03 15:30:19 +02:00
Marco Bonardo
5bab90c7db Bug 619623 - Disable Idle Service to check if it's related with the intermittent failure.
r=sdwilsh
2011-04-29 18:12:23 +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
Marco Bonardo
8ead831952 bug 556721 - Clean up test_342484.xul. 2011-04-15 23:58:36 +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
Shawn Wilsher
4308d27a5a Bug 599641 - Run ANALYZE after expiration
This runs the ANALYZE command on select tables after we expire results from them
so that the query planner can plan better next time the application starts.
r=mak
2011-04-11 11:15:58 -07: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
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07: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
Kyle Huey
61ff9410c4 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04: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
Marco Bonardo
c24557a124 Bug 619920 - TEST-UNEXPECTED-FAIL | test_download_embed_bookmarks.js
r=sdwilsh a=tests-only
2011-02-24 14:03:53 +01:00
Marco Bonardo
23946d5818 Bug 619623 - Intermittent failure in test_IHistory.cpp | Wait for frecency.
r=sdwilsh a=tests-only
2011-02-24 14:03:51 +01: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
Olli Pettay
5f578b2193 Bug 624549, Don't call GC so aggressively in nsJSContext::CC, r=gal, a=jst 2011-01-29 22:55:39 +02: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
Shawn Wilsher
a653efd3b9 Bug 606966 - Need an async history visit API exposed to JS
Part 23 - Update API to reality, and tweak tests.
r=mak
sr=rs
a=blocking
2011-01-25 11:25:37 -08:00
Shawn Wilsher
8e0a245821 Backout of 3962f456fd9a (Bug 606966 Part 21) due to Moth failures. 2011-01-25 11:20:45 -08:00
Shawn Wilsher
a4ff998a92 Bug 606966 - Need an async history visit API exposed to JS
Part 24 - Dispatch observer topic when done
r=mak
a=blocking
2011-01-25 09:41:42 -08:00
Shawn Wilsher
41a8c2ebd1 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
Shawn Wilsher
b2184b2c4f Bug 606966 - Need an async history visit API exposed to JS
Part 22 - Dispatch errors for URIs that fail nsINavHistory::canAddURI
r=mak
a=blocking
2011-01-24 14:13:24 -08:00
Shawn Wilsher
4ea4ca1196 Bug 606966 - Need an async history visit API exposed to JS
Part 20 - API implementation with tests.
r=mak
r=lw
a=blocking
2011-01-21 20:09:10 -08:00
Andrew Sutherland
5701087f08 Bug 627300 - Intermittent failure in places/tests/queries/test_tags.js owing to poor book-keeping in the test. test-only, a=bustage-fix. 2011-01-20 01:38:18 -08:00
Shawn Wilsher
d338878f2b Merge mozilla-central to Places. 2011-01-14 12:39:31 -08:00
Marco Bonardo
d752095231 Bug 591850 - Intermittent failure in places/tests/queries/test_tags.js | 0 == 1, 1==2
a=tests-only
2011-01-14 17:20:39 +01:00
Marco Bonardo
f6aba5989f Bug 621274 - Location Bar remembers invalid (Server not found) URLs.
r=sdwilsh a=blocker
2011-01-14 02:33:33 +01:00
Shawn Wilsher
d6a1fa44cb Merge mozilla-central and Places 2011-01-13 15:07:04 -08:00
Shawn Wilsher
136dfbd691 Bug 606966 - Need an async history visit API exposed to JS
Part 3 - Stub out the methods on mozilla::places::History.
r=mak
a=blocking
2011-01-13 13:37:04 -08:00
Shawn Wilsher
bf73ed9554 Bug 606966 - Need an async history visit API exposed to JS
Part 2 - Refactor tests and add a run_next_test method in head_common.js
r=mak
a=blocking
2011-01-11 10:19:19 -08:00
Marco Bonardo
9af4bd6c3f Bug 609286 (Part 2) - Detect a corrupt Places.sqlite and replace the database on next startup.
r=dietrich a=blocking
2011-01-10 19:57:24 +01:00
Marco Bonardo
d231ebd457 Bug 609286 (Part 1) - Detect corrupt places.sqlite and replace it on next startup.
r=dietrich a=blocker
2011-01-10 19:54:49 +01:00
Marco Bonardo
ece84561f1 Bug 615992 - IsBookmarked can lock for each onVisit call.
r=sdwilsh a=blocking
2010-12-20 18:21:49 +01:00
Mehdi Mulani
d588b9bd7f Bug 621843 - Fix View By Date and Site sorting. r=mak a=blocking-final 2011-01-10 10:11:31 -08:00
Ginn Chen
42fe2495ae Bug 620342 test_annos_expire_policy.js uses uninitialized variable r=mano a=testing only 2010-12-22 10:40:36 +08:00
Phil Ringnalda
79b29477df Bug 619623 - reorder the parts of the error messages so tbpl can spot the filename, r=sdwilsh, a=test 2010-12-18 19:30:46 -08:00
Marco Bonardo
0ff27c2b48 Bug 619672 - Perma-Orange on Thunderbird Linux | TEST-UNEXPECTED-FAIL | test_redirectsMode.js followed by head_queries.js | 5 == 3; r+a=sdwilsh 2010-12-16 22:14:57 +00:00
Marco Bonardo
a5f29ffa26 Bug 523578 - Disable test_redirectsMode.js on Windows until it will behave better on this platform.
a=orange
2010-12-15 16:49:10 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Marco Bonardo
8affb140a1 Backout bug 615991, since it did not bring the expected results.
a=sdwilsh-over-irc
2010-12-09 21:15:37 +01:00
Shawn Wilsher
7431929447 Bug 617111 - Avoid initializing NSS at all costs (ts regression)
r=dietrich
2010-12-07 09:27:40 -08:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
a0dce301cc Bug 616295 - Persistent failure of test_history_redirects.js
r=mak
2010-12-02 15:30:17 -08:00
Shawn Wilsher
c6f285d43f Bug 607117 - create GUIDs for all bookmark and history items automatically
Part 3 - Add a test for migration from a v10 database that was formally a v11
database back to a v11 database.
r=mak
2010-12-02 14:10:09 -08:00
Shawn Wilsher
82cd6792ff Bug 607117 - create GUIDs for all bookmark and history items automatically
Part 2 - Make entries in moz_places generate guids automagically
r=mak
2010-12-02 14:09:52 -08:00
Shawn Wilsher
5c76a520fb Bug 607117 - create GUIDs for all bookmark and history items automatically
Part 1 - Make bookmarks generate guids automagically
r=mak
2010-12-02 14:03:07 -08:00
Shawn Wilsher
e42ef01e75 Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 4 - Import guids for moz_places from annotations.
r=mak
2010-12-02 09:44:08 -08:00
Shawn Wilsher
d161f47b13 Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 3 - create a guid column on moz_places and add guids
r=mak
2010-12-02 09:43:50 -08:00
Shawn Wilsher
43de9ba84f Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 2 - Import guids from the annotation table for bookmarks, and then delete
the entries in the annotation table.
r=mak
2010-12-02 09:40:49 -08:00
Shawn Wilsher
8936bf598a Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 1 - actually add the guid column, and update bookmarks at startup
r=mak
2010-12-02 09:40:18 -08:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Marco Bonardo
e399cba9d3 Bug 614224 (followup) - further subtests in test_removeVisitsByTimeframe.js should wait for visits addition.
a=tests-only
2010-11-29 15:41:08 +01:00
Marco Bonardo
6ee0ac4e73 Bug 614560 - History should not try to register "resource:" uris.
r=dietrich a=dietrich
2010-11-24 16:43:14 +01:00
Marco Bonardo
b193165b11 Bug 614224 - Try to use waitForAsyncUpdates in test_removeVisitsByTimeframe.js
a=tests-only
2010-11-24 10:44:05 +01:00
Marco Bonardo
d6d60edf7f Bug 614222 - Try to use waitForAsyncUpdates in test_frecency.js
a=tests-only
2010-11-24 10:44:03 +01:00
Shawn Wilsher
e9aa1a1ccb Bug 607115 - use a much smaller guid format than we currently use for bookmarks
Part 3 - Create a function we can use with SQL queries to generate a guid.
r=mak
2010-11-23 16:04:28 -08:00
Shawn Wilsher ext:(%2C%20Marco%20Bonardo%20%3Cmbonardo%40mozilla.com%3E)
674cdd68f8 Bug 582703 - Improve the concurrency of location bar searches.
Initial patch from sdwilsh is r=mak, further changes from mak are r=sdwilsh. switch-to-tab changes are r=unfocused
sr=rstrong
a=blocking
2010-11-20 01:39:55 +01:00
Shawn Wilsher
75c838117e Fix orange on linux opt builds by ifdefing around the problem. a=orange :( 2010-11-17 14:42:13 -08:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Marco Bonardo
c3cb283d6a Bug 610442 - TRANSITION_EMBED visits should be session persistent
r=sdwilsh a=blocking
2010-11-12 14:24:25 -08:00
Shawn Wilsher
3e1f89f94a Backed out changeset 6716b289e613. 2010-11-12 08:57:43 -08:00
Shawn Wilsher
15eb6225a3 Disables all link coloring lookups to the db. Wanted to run this on try, but it is not cooperating. There will be orange, but that's OK. This will be backed out shortly. 2010-11-12 08:56:09 -08:00
Shawn Wilsher
3eebff3a9d Follow-up to address review comment for bug 599969 part 6 2010-11-09 15:46:30 -08:00
Shawn Wilsher
3692066348 Bug 599969 - Do not use steps for async visit adding
Part 6 - Do not add javascript URIs for history (trunk is already doing this,
and the Places branch was getting assertions because GetReversedHostname would
fail on the background thread which would cause nsJSURI to be released off of
the main thread, which is bad).
r=mak
r=ehsan
2010-11-09 11:43:18 -08:00
Shawn Wilsher
4d309d490a Bug 599969 - Do not use steps for async visit adding.
Part 1 - use one event (ran on the background thread) for adding a visit, and
one event (ran on the main thread) for notifying.
r=mak
r=bmcbride for test change
2010-11-08 11:42:08 -08:00
Marco Bonardo
5ef44c8570 Bug 612235 - "Forget about this site" makes Library a zombie.
r=dietrich a=blocking
2010-11-16 18:15:09 +01:00
Shawn Wilsher
ffb1973389 Merging mozilla-central to Places. 2010-10-29 11:39:41 -07:00
Shawn Wilsher
20967855ac Merge mozilla-central to Places. 2010-10-27 12:28:31 -07:00
Marco Bonardo
c14b21f7c6 Bug 606460 - Queries enhancements after temp tables removal.
r=sdwilsh a=blocking
2010-10-27 14:53:22 +02:00
Shawn Wilsher
c6b0570139 Bug 607469 - IPC-only Crash [@ mozilla::places::History::NotifyVisited]
r=dougt
a=blocking

--HG--
extra : rebase_source : 74fbebfccb8544ef56adb0f66e778372148b0506
2010-10-27 13:14:16 -07:00
Marco Bonardo
050e1c6da0 Use a batch in head_queries.js and dump table in case of failures (test_redirectsMode.js failure).
a=perma-orange
2010-10-22 18:43:12 +02:00
Marco Bonardo
c8008e7bc0 Bug 595139 - Use global VACUUM in Places.
r=sdwilsh a=blocking
2010-10-21 12:19:05 +02:00
Shawn Wilsher
8c46198937 Merge mozilla-central into places. 2010-10-20 12:33:53 -07:00
Shawn Wilsher
026e0d8d20 Test failure fix. No bug, but change talked over with mak on irc. 2010-10-18 08:53:53 -07:00
Shawn Wilsher
fee260454c Merging places and mozilla-central. 2010-10-15 09:26:15 -07:00
Shawn Wilsher
878becc3e3 Bug 607309 - Modify nsINavBookmarkObserver::onItemAdded to include the URI
r=mak
sr=mconnor
a=blocking
2010-10-26 17:20:53 -05:00
Marco Bonardo
5160bf1f25 Bug 556631 (part 2) - Make frecency updates async. r=sdwilsh a=blocking 2010-10-11 14:53:39 +02:00
Marco Bonardo
7889f0a683 Bug 472343 (Part 3) - Merge history and bookmarks batchers.
r=dietrich a=blocking
2010-11-12 22:20:04 +01:00
Marco Bonardo
460d7a7811 Bug 472343 (part 2) - Make Places views aware of batches.
r=dietrich sr=vlad a=blocking
2010-11-12 22:20:00 +01:00
Marco Bonardo
eb235093ae Bug 472343 (part 1) - Make Places results directly handle batches and refreshes.
r?dietrich a=blocking
2010-11-12 22:14:47 +01:00
Marco Bonardo
d7f4ad406c Bug 556721 - Fix some CRLF line endings in Places tests.
no-review a=tests-only
2010-11-12 22:14:20 +01:00
Marco Bonardo
f1465754e4 Bug 598229 (part 2) - Increase performance of Win7 JumpList favorites queries. r=sdwilsh,jimm sr=rstrong a=blocking 2010-10-14 10:46:38 +02:00
Marco Bonardo
6b48bd0ad3 Bug 606638 - Intermittent failure in test_393498.js. Consider timers resolution on Win. a=orange 2010-10-23 13:23:32 +02:00
Marco Bonardo
4882721b06 Bug 602872 - Some Places xpcshell tests are failing due to idle-daily notified for each test. r=mak a=orange 2010-10-08 11:18:00 -04:00
Marco Bonardo
424154655a Bug 602085 - followup: some tinderboxes are permanently idle, try to fix frecency tests that rely on idle-daily. a=orange 2010-10-08 14:18:54 +02:00
Marco Bonardo
029b65abf6 Bug 602872 - remove the idle-daily workaround introduced in Places unit tests, no more needed. a=tests-only 2010-10-19 11:18:42 +02:00
Marco Bonardo
ca855c3491 Bug 570905 - intermittent timeout in test_adaptive.js: skip vacuum and use batches. r=dietrich a=test-only 2010-10-16 11:06:37 +02:00
Marco Bonardo
f4b0ea5b4a Bug 458026 (part 2) - Do not allow creation of empty-named tags. r=mano sr=rs a=blocking 2010-10-16 11:06:35 +02:00
Marco Bonardo ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E)
50d31806a3 Bug 552023 - Kill Places partitioned temp tables.
r=sdwilsh
r=mak
a=blocking2.0
2010-08-09 17:59:59 +02:00
Marco Bonardo
e36f8ef99e Bug 556721 - test_adaptive.js cleanup. rs=places-team a=tests-only 2010-10-07 10:41:23 +02:00
Justin Wood
64f971535e Bug 594707 - browser_settitle.js does not pass |finish| and should (instead of calling). r=gavin a=gavin
[MacOSX SeaMonkey] mochitest-browser-chrome: "browser_visituri.js | Test timed out"
2010-09-18 11:08:58 +01:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Phil Ringnalda
61eccbd082 Bug 607133 - Remove the unneeded bits of test_404630.js which hit the network, and thus make it flaky, r=mak, a=orange 2010-11-30 08:03:42 -08:00
Serge Gautherie
1293e54bbf Bug 589611 - [SeaMonkey 2.1, mochitest-browser-chrome] browser_visituri_privatebrowsing.js:64 - TypeError: Cc['@mozilla.org/privatebrowsing;1'] is undefined; (Av1) Skip this test when PB service is not available.
r=sdwilsh (a=test only).
2010-08-31 04:41:42 +02:00
Marco Bonardo
5652bfc359 Bug 590081 - keywords matching is no longer case insensitive. r=dietrich a=blocking 2010-08-27 22:44:05 -07:00
Marco Bonardo
0054893ef4 Bug 580892 - Checking 'clear history when minefield closes' is not clearing cache on shutdown. r=sdwilsh a=blocking 2010-08-27 21:24:54 -04:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Marco Bonardo
5f01872653 Bug 585969 - getBookmarkedURIFor should not try to add new pages. r+a=sdwilsh 2010-08-26 12:19:34 +02:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Mark Banner
45e775309d Bug 614550 - Ensure places is enabled for places related c++ tests; r=mak, a=test-only change 2010-11-24 15:13:47 +00:00
Marco Bonardo
af4fb16976 Bug 606638 - Intermittent xpcshell failure in test_393498.js | false == true
a=tests-only
2011-01-14 15:33:50 +01:00
Joel Maher
a1ced5aa8a Bug 601245 Stop packaging test files which are in tests.jar r=ctalbert a=test-only 2010-12-09 14:47:21 -08:00
Mark Banner
055848b769 Bug 610974 - Ensure places is enabled for places related tests; r=sdwilsh, a=test-only change 2010-11-19 13:23:35 +00:00
Marco Bonardo
11be4ff865 Bug 572030 - Use a memory cache for keywords associations. r=dietrich a=sdwilsh 2010-08-09 17:59:43 +02:00
Marco Bonardo
0e45704655 Backed out changeset 5037343f92fc on CLOSED TREE 2010-08-10 00:15:50 +02:00
Marco Bonardo
697912c684 Bug 572030 - Use a memory cache for keywords associations. r=dietrich a=sdwilsh 2010-08-09 17:59:43 +02:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Marco Bonardo
4a03080254 Bug 580228 - Relax timed history expiration. r=sdwilsh 2010-07-23 23:14:25 +02:00
Marco Bonardo
847239132b Bug 499828 - kill LAZY_ADD and use async storage instead. r=sdwilsh 2010-07-22 14:09:10 +02:00
Marco Bonardo
a7fd29ee6b Bug 579334 - Async visits are ignoring a disabled history. r=sdwilsh 2010-07-19 21:53:33 +02:00
Benjamin Stover
727ca6c5da Bug 556400 - Set titles asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:41 -07:00
Benjamin Stover
e4051ec461 Bug 556400 - Add visits Asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:33 -07:00
Dave Townsend
f1d4bafdbd Backed out changeset f9a700607b86 from bug556400 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %AC%2C%060%A3Shzk%F0%19i%87%AB%D8%87%B8%5E%80%A6
2010-07-02 20:01:44 -07:00
Dave Townsend
1603750c26 Backed out changeset 07a9dcc28c5c from bug 566738 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %0C%19%86%CE%D8%F3%95%7FV%BA%3DsM%06%D4%EF%C8%B7%8Dq
2010-07-02 20:00:45 -07:00
Benjamin Stover
c41accdd7c Bug 566738 - Make setting titles asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:19:33 -07:00
Benjamin Stover
97eb3d6fee Bug 556400 - Make adding visits asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:08:28 -07:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Stover
8150bfd360 Backout of bugs 575908, 566738, and 556400 2010-06-29 17:34:52 -07:00
Benjamin Stover
41fbf65971 Bug 566738 - Add SetURITitle to IHistory r=sdwilsh, sr=bz 2010-06-29 14:12:41 -07:00
Benjamin Stover
86673a511e Bug 556400 - Implement asyncable VisitURI. r=sdwilsh, sr=bz 2010-06-29 13:58:36 -07:00
Benjamin Smedberg
c16cf0f0c5 Fix a bunch of test failures caused by typos or other issues from bug 568691. 2010-06-27 14:03:05 -04:00
Benjamin Smedberg
9cadd0fe5f Fix contracts which were not registered correctly: nsPlacesAutoComplete.js was completely missing, and the nsINIParserFactory contract was missing. Fixes test_pref_interval.js to register/unregister its mock objects correctly. 2010-06-25 22:17:31 -04:00
Benjamin Smedberg
63c0077443 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
Drew Willcoxon
bb224ec5ad Bug 573430 - nsIFaviconService.getFaviconData should not fail when passed the default favicon. r=mak 2010-06-25 14:06:14 -07:00