Commit Graph

404 Commits

Author SHA1 Message Date
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
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
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
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
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
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
847239132b Bug 499828 - kill LAZY_ADD and use async storage instead. r=sdwilsh 2010-07-22 14:09:10 +02: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
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
Benjamin Smedberg
abf280675d Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Marco Bonardo
d4b3c277bb Test for containerNode->getChildIndex(node)(related to bug 561848). r=dietrich 2010-04-28 09:17:04 +02:00
Marco Bonardo
2ad8eca76b Bug 560104 - rename toolkit places utils.js to PlacesUtils.jsm r=dietrich
--HG--
rename : toolkit/components/places/src/utils.js => toolkit/components/places/src/PlacesUtils.jsm
2010-04-26 21:04:17 +02:00
Marco Bonardo
c4a48f9863 Bug 540751 - test_update_frecency_after_delete.js should wait for clear history. a=dietrich 2010-04-16 23:50:21 +02:00
Marco Bonardo
2f483437e5 Bug 547334 - test_browserhistory.js should wait for clear history. a=dietrich 2010-04-16 23:49:44 +02:00
Drew Willcoxon
b660f0bb6a Bug 536893 - Asynchronous API for opening nsNavHistoryFolderResultNodes (part 2), r=mano 2010-04-09 11:30:35 -07:00
Marco Bonardo
2ebef49bb0 Bug 556376 - Provide a common head for Places xpcshell-tests.
r=dietrich on code changes, blanket-rs=places-team for test changes
2010-04-02 00:42:25 +02:00
Marco Bonardo
bdcef1a8ca Bug 555519 - disable test_doSetAndLoadFaviconForPage_failures.js since it randomly succeeds 2010-04-01 13:28:25 +02:00
Marco Bonardo
59fc644e1e Bug 553489 - Part11: Test for cases where an icon should not be set. r=sdwilsh 2010-03-25 12:34:53 +01:00
Robert Kaiser
fd99307a97 bug 541746 - fix test_frecency.js to work on SeaMonkey, r=dietrich 2010-03-19 17:21:59 +01:00
Marco Bonardo
50df9cf854 Bug 536081 - Can't delete all history entries returned by a search in Library or Sidebar. r=dietrich 2010-03-18 11:59:08 +01:00
Asaf Romano
fd118435f9 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-12 12:14:47 +01:00
Marco Bonardo
56ff9e67ce Bug 542941 - Part8: fix test_multi_queries.js for the new transition, r=dietrich 2010-03-10 13:40:43 +01:00
Marco Bonardo
167c09b047 Bug 542941 - Part7: Fix CRLF newlines in test_multi_queries.js 2010-03-10 13:40:41 +01:00
Marco Bonardo
03c77c3a09 Bug 542941 - Part6: fix existing tests to check for the new transition type, r=dietrich 2010-03-10 13:40:39 +01:00
Marco Bonardo
aa09cf6372 backout bug 543444 due to leaks 2010-03-09 17:23:32 +01:00
Asaf Romano
e7acf94dc2 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-09 14:43:09 +01:00
Robert O'Callahan
f4de62cffe Backed out changeset 79f299fc10d6 2010-03-05 20:10:20 +13:00
Asaf Romano
6598acf4f4 Relanding bug 543444 - Replace single-view API with multiple observers. r=mak. sr=rstrong. 2010-03-04 13:23:41 -08:00
Asaf Romano
8a462d5e47 Backing out bug 543444 due to orange. 2010-03-03 17:23:51 -08:00
Asaf Romano
c9e79d3dc6 Bug 543444 - Replace single-view API with multiple observers. r=mak, sr=rstrong. 2010-03-03 14:45:16 -08:00
Marco Bonardo
a4941664dd Bug 520165 - Part14: Add a maintenance task to print pages limit and run expiration, r=dietrich 2010-01-15 17:40:50 +01:00
Marco Bonardo
a891df836a Bug 520165 - Part12: fix existing Places tests, r=mano 2010-01-15 17:40:45 +01:00
Marco Bonardo
0f6a3324a8 Bug 520165 - Part9: remove old expiration code, r=mano 2010-01-15 17:40:19 +01:00
Marco Bonardo
393f2298ed Bug 520165 - Part8: Change onPageExpired to onDeleteVisits, r=mano, sr=mconnor 2010-01-15 17:40:17 +01:00
Marco Bonardo
cced464000 Bug 520165 - Part7: Provide a new preference to toggle history, r=mano ui-r=faaborg 2010-01-15 17:40:14 +01:00
Marco Bonardo
b97793a63e Re-enable sync for random oranges that could have been fixed by bug 536435. 2009-12-22 21:57:46 +01:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Marco Bonardo
47e2f806ca Bug 531151 - Increase Annotation Service robustness, r=dietrich 2009-12-18 11:30:37 +01:00
Marco Bonardo
6bcee7bff7 Bug 527311 - Addressbar suggests adaptive results even if they have no visits and we want "history" behavior, r=sdwilsh 2009-12-10 09:21:27 -08:00
Marco Bonardo
ff746574c7 Disable Places Sync on some frequent random failing test, to workaround bug 507790 and reduce orangeness. a=tests-only 2009-11-26 15:29:03 +01:00
John Daniels
b260d02c5f Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden
--HG--
extra : rebase_source : 6fbaac51eabe95fcfaf4706feb9fd8a28ba4dfbf
2009-11-24 11:58:42 -08:00
Jae-Seong Lee
23ae560f84 Bug 520743 - xpcshell-tests: some Places unit tests fail when 'werror' is on, r=mak 2009-11-19 14:13:24 +01:00
Ehsan Akhgari
05c479b008 Bug 526194 - Fix test bustage 2009-11-17 18:04:08 -05:00
Marco Bonardo
b67475b2fc Bug 519479 - places default title behavior shouldn't use part of the URL, r=dietrich 2009-11-11 12:04:18 +01:00
Gavin Sharp
d18cfbef98 Bug 526920: minor test tweaks
--HG--
extra : rebase_source : 895f32d6db722606fb9327f9478c6857fb0d1e70
2009-11-09 10:12:10 -05:00
Gavin Sharp
11e8e18c80 Bug 526920: JSON bookmarks importer (SetAndLoadFaviconForPage) should support setting favicons for bookmarked about: URIs, r=mak 2009-11-08 01:49:14 -05:00
Kyle Huey
9e79459ea7 Bug 426166 - Search results change their order after pressing space or further typing. r=dietrich 2009-10-15 08:53:15 -04:00
Dão Gottwald
c5f31ac9ac 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
Asaf Romano
bbc370f4a7 Bug 524219 - Renaming a tag in the Library doesn't show its new name until the Library gets reopened. r=mak. 2009-10-28 15:34:09 +02:00
Marco Bonardo
6b1e89f0ef Bug 478718 - Move last Places sync to xpcom-shutdown, r=sdwilsh
--HG--
rename : toolkit/components/places/tests/sync/test_database_sync_after_quit_application.js => toolkit/components/places/tests/sync/test_database_sync_after_shutdown.js
rename : toolkit/components/places/tests/sync/test_database_sync_after_quit_application_with_removeAllPages.js => toolkit/components/places/tests/sync/test_database_sync_after_shutdown_with_removeAllPages.js
2009-10-14 11:53:13 +02:00
Marco Bonardo
6693640a68 Bug 521225 - Stop syncing for random failing Places tests, and make sheriffs happier, r=sdwilsh 2009-10-13 15:31:46 +02:00
Marco Bonardo
2a487d0eb1 Bug 516940 - Reduce and cleanup Places expiration work at shutdown, r=sdwilsh 2009-10-09 12:30:12 +02:00
Jae-Seong Lee
a34c0cf5eb Bug 520743 - [xpcshell-tests] some Places unit tests fail when 'werror' is on, part 2. r=mak 2009-10-09 12:30:04 +02:00
Marco Bonardo
535b40c71b Bug 516932 - Add an advanced maintenance task to vacuum and check integrity, for support purposes r=dietrich
Adds a PlacesDBUtils.checkAndFixDatabase() that can be used by support team to help debugging Places database issues.
2009-10-05 12:12:55 +02:00
Dietrich Ayala
f66429541f Bug 498130 - Reduce places-views overhead (RELAND) 2009-10-01 09:53:26 -07:00
Dietrich Ayala
890e1e64fa Backout bug 498130 due to persistent startup crash on Windows Mobile (bug 519854) 2009-09-30 17:21:39 -07:00
Marco Bonardo
cbf9435322 Bug 477583 - Backups of bookmarks stops working if a future backup exists, r=mano 2009-09-29 12:44:18 +02:00
Marco Bonardo
98646fc82d fix tests for Bug 512854 - VACUUM places.sqlite database on daily idle once a month, r=sdwilsh 2009-09-29 12:44:12 +02:00
Shawn Wilsher
a7c0ff4d43 Bug 516465 - Adaptive results aren't filtered. r=dietrich
Run adaptive search results through AUTOCOMPLETE_MATCH so they properly obey the
preferences of the user.  Also runs through adaptive results again if we do not
have enough matches and the match behavior is MATCH_BOUNDARY_ANYWHERE.
2009-09-23 10:19:27 -07:00
Asaf Romano
0cdda0b913 Bug 498130 - Reduce places-views overhead. r=mak. sr=mconnor. 2009-09-26 11:23:17 +03:00
Paul O’Shannessy
bb8f4dab1f Bug 518442 - Places tests should use executeStep() instead of step(). r=sdwilsh
--HG--
extra : rebase_source : d60b1a60575ec7ceceb41c4755e317577eef009a
2009-09-25 15:34:54 -07:00
Marco Bonardo
8dc3283326 Disable the vacuum tests from Bug 512854 for now. I have to pre-built sparse dbs, since on-the-fly generation is randomly failing. 2009-09-14 15:28:09 +02:00
Marco Bonardo
67ad3747f1 Bug 512854 - VACUUM places.sqlite database on daily idle once a month, r=sdwilsh 2009-09-14 13:06:45 +02:00
Shawn Wilsher
439dbd95ed Bug 508102 - Warning: reference to undefined property this._pendingQuery / Location bar autocomplete doesn't work anymore
Stop throwing if stopSearch is called without a call to startSearch.
r=dietrich

--HG--
extra : rebase_source : 63222f9acd972c763ac080a2353ce4cd775f09df
2009-09-10 10:55:33 -07:00
Marco Bonardo
0f542a1874 Bug 510464 - re-enable and fix randomly failing test_419731.js, r=dietrich 2009-08-21 22:37:05 +02:00
Marco Bonardo
09c6f16612 Bug 381240 - last-modified-date tests for bookmarks failing on Linux qm-rhel02 dep unit test, r=dietrich 2009-08-18 10:06:17 +02:00
Ted Mielczarek
ad775e7a7a bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Marco Bonardo
9c88eb1c27 Bug 508265 - Localized bookmarks backup are not replaced by new backups, r=dietrich 2009-08-06 16:34:16 +02:00
Ted Mielczarek
bf94951904 Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek
b6d8d93b5c bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Shawn Wilsher
c113953d34 Merging places and mozilla-central. 2009-07-30 08:41:55 -07:00
Shawn Wilsher
c2762f99e9 Bug 455555 - Use asynchronous queries for places AutoComplete.
This changes the location bar's AutoComplete provider to use asynchronous
queries instead of synchronous ones.  No more blocking the main thread FTW!
r=mak
r=Mardak
r=dietrich
2009-07-13 12:19:03 -07:00
Marco Bonardo
27bb8748ee Bug 503195 - Using Places nodes' PropertyBags leaks, r=sdwilsh 2009-07-09 14:39:54 +02:00
Marco Bonardo
e7d950f7c9 backout bug 503195, test too! 2009-07-09 12:31:19 +02:00
Marco Bonardo
f59b58dd53 Bug 503195 - Using Places nodes' PropertyBags leaks, r=sdwilsh 2009-07-09 11:50:25 +02:00
Marco Bonardo
b3a9c7a308 Bug 502860 - some of the seventh month's history entries missing in grouped by date history, r=sdwilsh
Includes fix for Bug 501439 - History shows month-name 'March' for February
2009-07-29 23:50:31 +02:00
Mark Finkle ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E%2C%20Marco%20Bonardo%20%3Cmak77%40bonardo.net%3E)
cf0241bf3f Bug 483980 - Allow history/bookmark observer components to register with a startup category
This changeset allows for history and bookmark observers to be registered via
the category manager.  This means the bookmarks service does not have to be
initialized at startup to register observers with it, as well as the history
service.
r=sdwilsh
r=mak
r=dietrich
2009-03-25 15:31:36 -05:00
Marco Bonardo
44d6644d72 Bug 500640 - Random failure in test_lastModified.js, r=adw 2009-07-01 11:19:06 +02:00
Marco Bonardo
1b77ef4097 Bug 494375 - Date folders in history not recreated when revisiting pages, r=dietrich 2009-06-24 10:59:18 +02:00
Marco Bonardo
aa2951dec7 Bug 482346 - mDBFindURIBookmarks can't use indices to sort, r=sdwilsh r=dietrich 2009-06-24 10:59:14 +02:00
Marco Bonardo
902e3022ce Bug 492884 - getMostRecentFolderForFeedURI should use the livemarks service instead of annos directly, r=dietrich 2009-06-23 01:00:51 +02:00
Dietrich Ayala
d4ecc24959 Bug 497563 - Crashes [@ BindStatementURI] (r=sdwilsh)
* * *
2009-06-12 00:34:35 -07:00
Shawn Wilsher
b84cbee827 Backed out changeset d891a7418d95 (bug 483980) 2009-06-11 16:08:07 -07:00
Mark Finkle ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E%2C%20Marco%20Bonardo%20%3Cmak77%40bonardo.net%3E)
2cf526db39 Bug 483980 - Allow history/bookmark observer components to register with a startup category
This changeset allows for history and bookmark observers to be registered via
the category manager.  This means the bookmarks service does not have to be
initialized at startup to register observers with it, as well as the history
service.
r=sdwilsh
r=mak
r=dietrich
2009-03-25 15:31:36 -05:00
Drew Willcoxon
a506b12c1c Bug 491983 - nsIBrowserHistory needs removeVisitsByTimeframe method, r=dietrich 2009-05-16 19:32:13 -07:00
Edward Lee
016935e941 Bug 489872 - [@ nsNavHistory::IsVisited] doesn't check null aURI. r=sdwilsh
For public entry points of nsNavHistory, add ENSURE_ARG for in-pointers and ENSURE_ARG_POINTER for out-pointers; NS_ASSERTION for private APIs. Test automatically finds functions from nav history service and calls them with null arguments.
2009-05-12 10:11:53 -05:00
Robert Kaiser
17062b2e6d fix test from bug 489443 to work on SeaMonkey, r=Mardak 2009-05-02 00:25:33 +02:00
Marco Bonardo
5f4896e73d Bug 484019 - Fix corrupt or wrong roots titles in the database and in the Library, r=dietrich 2009-04-30 09:52:40 -07:00
Marco Bonardo
82a63d6934 Bug 490200 - Tags autocomplete does not show all results because it is case-sensitive, r=dietrich 2009-04-30 09:52:32 -07:00
Marco Bonardo
27a80f377c backout Bug 484019 due to test failures. 2009-04-24 17:57:24 +02:00
Marco Bonardo
0d545b7758 Bug 484019 - Fix corrupt or wrong roots titles in the database and in the Library, r=dietrich 2009-04-24 15:11:06 +02:00
Drew Willcoxon
0f77079450 Bug 444849 - Removing a bookmark doesn't clean up tags, r=mak77 2009-04-23 10:31:46 -07:00
Edward Lee
77cde94ecc Bug 489443 - Places depends on a buggy behavior of SQLite's GROUP_CONCAT. r=dietrich, b191=beltzner
Don't bother GROUP_CONCATing tag titles that are empty. Restructure the BOOK_TAG_SQL #define to be somewhat more readable. Test by adding tags to a uri then renaming the tag to empty and making sure they don't show up in autocmoplete results.
2009-04-23 16:09:58 -05:00
Marco Bonardo
2501083269 Bug 488783 - Tags list no longer sorted (alphabetized) in latest Shiretoko nightly, r=dietrich a=blocking191 2009-04-22 14:22:53 +02:00
David Dahl
4dbb11d2ec Bug 485442 - crash bug calling nsINavHistoryQuery.uri, r=mak,sdwilsh 2009-04-17 14:42:39 +02:00
Shawn Wilsher
0fa0dccf7c Bug 487660 - Places depends on a buggy behavior of SQLite's SUBSTR
Places code wrongly assumed that SUBSTR used a zero-based index instead of a
one-based index.
r=dietrich
2009-04-10 13:51:51 -04:00
Shawn Wilsher
93af15cb71 Bug 487511 - nsINavHistoryObserver has no "onBeforeDeleteURI" callback
r=dietrich
2009-04-10 13:51:40 -04:00
Edward Lee
50e5966da6 Bug 476298 - Switch RecalculateFrecencies to just fix invalid frecencies. r=dietrich
Bug 476300 - Calculate all page frecencies when upgrading/migrating
Bug 482351 - 1 sort operation required by mDBInvalidFrecencies
Create a new method FixInvalidFrecencies that finds invalid (negative) frecencies and recalculates them. Use it for handling creating/migrating DBs as well as recalculating invalid places on daily idle (place frecencies are already estimated by decay). This obviates a few preferences, queries and methods related to recalculating on idle. The test uses mork history with a number of pages that now all get their frecencies calculated on migrate, where before this fix, the test fails with a bunch of pages still with negative frecencies.
2009-04-10 10:24:10 -05:00
Marco Bonardo
656ade206b Bug 486978 - History in library is no longer sorted by visit date but by name, r=dietrich 2009-04-08 14:27:03 +02:00
Marco Bonardo
b131c96951 Bug 486702 - Library left pane not updated properly / dynamically, r=dietrich 2009-04-08 14:26:49 +02:00
Marco Bonardo
dc4275f79b Bug 485703 - Hide date containers not containing additional entries compared to previous ones, r=dietrich ui-r=beltzner 2009-04-07 11:45:04 +02:00
Marco Bonardo
f50edfe6d2 Bug 480873 - Favicons missing from the places UI after cache has been cleared, r=dietrich 2009-04-02 01:26:16 +02:00
Marco Bonardo
d57ee2ed3c Bug 485985 - test_history_sidebar should take in could DST correction when adding visits, r=dietrich 2009-03-30 23:07:38 +02:00
Shawn Wilsher
76f7104f4f Backed out changeset 2d1f7c7c7a2b (bug 483980) 2009-03-27 18:33:01 -04:00
Mark Finkle
4f6e409d0d Bug 483980: Allow history/bookmark observer components to register with a startup category, r=sdwilsh 2009-03-25 15:31:36 -05:00
Neil Rashbrook
c6e75460e0 Test for bug 473157 r=mak 2009-03-27 14:25:26 +00:00
Marco Bonardo
06b8e82c6e Bug 390614 - Split up the "Older than 6 days" history folder, r=dietrich, pike ui-r=beltzner a=mconnor 2009-03-23 13:42:03 +01:00
Ted Mielczarek
dcc2d8f492 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo
--HG--
rename : toolkit/components/downloads/test/downloads.empty.sqlite => browser/components/privatebrowsing/test/unit/downloads.empty.sqlite
rename : dom/src/json/test/fail1.json => dom/src/json/test/unit/fail1.json
rename : dom/src/json/test/fail10.json => dom/src/json/test/unit/fail10.json
rename : dom/src/json/test/fail11.json => dom/src/json/test/unit/fail11.json
rename : dom/src/json/test/fail12.json => dom/src/json/test/unit/fail12.json
rename : dom/src/json/test/fail13.json => dom/src/json/test/unit/fail13.json
rename : dom/src/json/test/fail14.json => dom/src/json/test/unit/fail14.json
rename : dom/src/json/test/fail15.json => dom/src/json/test/unit/fail15.json
rename : dom/src/json/test/fail16.json => dom/src/json/test/unit/fail16.json
rename : dom/src/json/test/fail17.json => dom/src/json/test/unit/fail17.json
rename : dom/src/json/test/fail18.json => dom/src/json/test/unit/fail18.json
rename : dom/src/json/test/fail19.json => dom/src/json/test/unit/fail19.json
rename : dom/src/json/test/fail2.json => dom/src/json/test/unit/fail2.json
rename : dom/src/json/test/fail20.json => dom/src/json/test/unit/fail20.json
rename : dom/src/json/test/fail21.json => dom/src/json/test/unit/fail21.json
rename : dom/src/json/test/fail22.json => dom/src/json/test/unit/fail22.json
rename : dom/src/json/test/fail23.json => dom/src/json/test/unit/fail23.json
rename : dom/src/json/test/fail24.json => dom/src/json/test/unit/fail24.json
rename : dom/src/json/test/fail25.json => dom/src/json/test/unit/fail25.json
rename : dom/src/json/test/fail26.json => dom/src/json/test/unit/fail26.json
rename : dom/src/json/test/fail27.json => dom/src/json/test/unit/fail27.json
rename : dom/src/json/test/fail28.json => dom/src/json/test/unit/fail28.json
rename : dom/src/json/test/fail29.json => dom/src/json/test/unit/fail29.json
rename : dom/src/json/test/fail3.json => dom/src/json/test/unit/fail3.json
rename : dom/src/json/test/fail30.json => dom/src/json/test/unit/fail30.json
rename : dom/src/json/test/fail31.json => dom/src/json/test/unit/fail31.json
rename : dom/src/json/test/fail32.json => dom/src/json/test/unit/fail32.json
rename : dom/src/json/test/fail33.json => dom/src/json/test/unit/fail33.json
rename : dom/src/json/test/fail34.json => dom/src/json/test/unit/fail34.json
rename : dom/src/json/test/fail4.json => dom/src/json/test/unit/fail4.json
rename : dom/src/json/test/fail5.json => dom/src/json/test/unit/fail5.json
rename : dom/src/json/test/fail6.json => dom/src/json/test/unit/fail6.json
rename : dom/src/json/test/fail7.json => dom/src/json/test/unit/fail7.json
rename : dom/src/json/test/fail8.json => dom/src/json/test/unit/fail8.json
rename : dom/src/json/test/fail9.json => dom/src/json/test/unit/fail9.json
rename : dom/src/json/test/json2.js => dom/src/json/test/unit/json2.js
rename : dom/src/json/test/pass1.json => dom/src/json/test/unit/pass1.json
rename : dom/src/json/test/pass3.json => dom/src/json/test/unit/pass3.json
rename : testing/xpcshell/example/location_load.js => testing/xpcshell/example/unit/location_load.js
rename : toolkit/components/commandlines/test/unit/unix/test_bug410156.js => toolkit/components/commandlines/test/unit_unix/test_bug410156.js
rename : toolkit/components/commandlines/test/unit/win/test_bug410156.js => toolkit/components/commandlines/test/unit_win/test_bug410156.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug257155/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug257155/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_10/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_10/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_11/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_11/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_12/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_12/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_13/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_13/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug397778/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug397778/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug425657/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug425657/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_1/README => toolkit/mozapps/extensions/test/addons/test_bug428341_1/README
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug436207/install.js => toolkit/mozapps/extensions/test/addons/test_bug436207/install.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_9/install.rdf
2009-03-21 11:20:00 -04:00
Shawn Wilsher
c3bde40cce Bug 468305 - nsINavBookmarksObserver has no "onBeforeItemRemoved" callback
Not having this callback makes life difficult for anyone trying to synchronize
bookmarks.  You cannot get any additional information about a bookmark when
onItemRemoved is called, since it's been removed.  Things like a guid no longer
exist, which results in a lot of pain for add-ons that want to synchronize.
r=dietrich
2009-03-19 15:56:51 -04:00
Dietrich Ayala
688280cc02 backing out due to unit test failures 2009-03-18 19:13:10 -07:00
Marco Bonardo
22338016ad Bug 390614 - Split up the "Older than 6 days" history folder, r=dietrich,pike ui-r=beltzner a=mconnor 2009-03-18 23:38:38 +01:00
Edward Lee
9fed57c6b0 Bug 476299 - Decay frecency values to estimate recalculating frecencies. r=dietrich
Bug 482069 - Awesome bar adaptiveness totally sucks
2009-03-14 01:08:51 -05:00
Shawn Wilsher
367406c6b4 Test to ensure that the content type for moz-anno favicon URIs is set as expected.
This test is being added in bug 481227 but does not depend on the code changes
in that bug.  This test should pass with and without those changes.
r=bz
2009-03-12 14:01:12 -04:00
Marco Bonardo
6b584b4d71 Bug 480437 - test_expiration is working on wrong assumptions, r=dietrich 2009-03-05 13:08:43 +01:00
Marco Bonardo
210ad84906 Bug 431153 - Middle clicking on a tag in the Library left pane does not open in tabs, r=dietrich 2009-03-05 13:08:18 +01:00
Dietrich Ayala
639679471d Bug 469422 - tag autocomplete disappears on every other character that is typed, r=mak77 2009-03-05 13:07:15 +01:00
Marco Bonardo
a9919cef88 Bug 476636 - nsFaviconService::ExpireAllFavicons cannot work, r=sdwilsh 2009-02-28 14:17:36 +01:00
Drew Willcoxon
8b31027ba9 Bug 455315 - when removing a bookmark we recalculate frecency with wrong isBookmark, r=dietrich 2009-02-16 12:09:19 +01:00
Marco Bonardo
d40d34bee0 Bug 477739 - Exception when clicking star icon (no editBookmarkPanel, broken JSON backup), r=dietrich a=blocking191 2009-02-12 12:32:52 +01:00
Marco Bonardo
10063403f7 Bug 477793 - Make sure preventive maintenance cannot act on roots, r=sdwilsh a=blocking191 2009-02-11 11:53:35 +01:00
Shawn Wilsher
8075a939ec Bug 476292 - Crashes on startup on OS X and Linux [@ nsNavBookmarks::IsRealBookmark] [@ PL_DHashTableOperate]
This fixes a crash when we initialize nsNavBookmarks with a database that is out
of date (the schema version is less than the current one).  Because the bookmark
service initializes the history service in its Init method, and the history
service tries to get the bookmark service if the database needs an upgrade, we
try to re-enter the bookmark service's constructor.  Bad things happen.

Adds a test to ensure that we don't do this again.

r=dietrich
r=MaK77
2009-02-03 21:58:21 -05:00
Shawn Wilsher
4756beb1ae Bug 449406 - bookmarks of TRANSITION_DOWNLOAD and TRANSITION_EMBED don't show up in the location bar if they've been visited
This adds a new function to nsNavBookmarks that determines if a place id is a
"real" bookmark (not a livemark child).  It also makes a number of places use
this new function to unify and simplify a number of code paths.

Additionally, it changes how frecency is calculated for bookmarked items.  If a
visit is bookmarked (aIsBookmarked is true in CalculateFrecencyInternal), the
visited bookmark bonus is now added for all visits.  The visit bonus was also
cut in half for bookmarks so TRANSITION_BOOKMARK will still end up with the same
value (150).

r=dietrich
r=MaK77
2009-01-27 21:01:33 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Drew Willcoxon
c149de9294 Bug 412132 - after changing a bookmark's location, need to update the frecency of the "old" uri, r=dietrich 2009-01-13 11:48:27 +01:00
Marco Bonardo
4c89a6229d Bug 454977 - remove INSERT OR REPLACE to avoid error prone paths with views, r=dietrich 2009-01-13 11:48:25 +01:00
Robert Kaiser
0b557fdaa3 bug 471886 - Make places autocomplete tests even more robust against default prefs, r=Mardak 2009-01-10 16:29:17 +01:00
Marco Bonardo
3b1f2a552d Bug 468400 - xpcshell-simple/test_places/unit/test_adaptive.js | *** TIMEOUT ***: The test timed out while polling database, r=sdwilsh 2009-01-08 00:37:01 +01:00
Marco Bonardo
83a374cd4f Bug 470429 - nsPlacesDBFlush::onItemAdded should not sync if the item is a container, r=sdwilsh 2009-01-08 00:37:00 +01:00
Marco Bonardo
248d436712 Bug 462765 - instant-apply muddies the MRU folder list in the bookmark properties dialog, r=dietrich 2009-01-08 00:37:00 +01:00
Marco Bonardo
0cafd269c4 Bug 470707 - [SeaMonkey] test_download_history.js fails now, r=dietrich 2008-12-30 22:42:23 +01:00
Marco Bonardo
485f62946f Bug 439129 - Clearing browsing history does not hide livemarks children from the location bar, r=dietrich 2008-12-30 22:42:22 +01:00
Dietrich Ayala
17dd8776c4 Bug 414715 - Notify the user if places.sqlite is locked and bookmarks and history will not work (relanding w/ leak fix, r=marco, r=gavin, l10n-r=pike) 2008-12-30 13:44:55 +01:00
Dietrich Ayala
44e08929e7 backout bug 414715 due to leaks 2008-12-29 17:22:39 -08:00
Dietrich Ayala
c51318949c Bug 414715 - Notify the user if places.sqlite is locked and bookmarks and history will not work (relanding w/ leak fix, r=marco, r=gavin, l10n-r=pike) 2008-12-29 14:49:05 -08:00
Marco Bonardo
dce47704f5 Bug 458849 - transition download visits saved when "Keep my history..." is unchecked, r=sdwilsh 2008-12-19 13:36:15 +01:00
Dietrich Ayala
a81ff7e680 imported patch backout-bug414715 2008-12-18 17:09:25 -08:00
Dietrich Ayala
3299fb830d Bug 414715 - Notify the user if places.sqlite is locked and bookmarks and history will not work (r=marco, r=gavin, l10n-r=pike) 2008-12-18 13:47:48 -08:00
Dietrich Ayala
5dfe4f0055 Bug 469102 - Places Tag Autocomplete breaks with certain tags (Regex escaping) (r=marco) 2008-12-18 12:33:47 -08:00
Marco Bonardo
45b8f132d3 Bug 468836 - Existing tags no longer show and cannot be edited, r=dietrich 2008-12-11 15:23:25 +01:00
Robert Sayre
38305f3678 backout bug 468836, checked in on persistent orange. 2008-12-11 02:44:01 -08:00
Marco Bonardo
1006ee8d3a Bug 468836 - Existing tags no longer show and cannot be edited, r=dietrich 2008-12-11 01:32:24 +01:00