Commit Graph

510 Commits

Author SHA1 Message Date
Kyle Huey
a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
694ec71da0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
5b4513c7e9 Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
3cd691129e Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Robert O'Callahan
616b7eed72 Backed out changeset 79f299fc10d6 2010-03-05 20:10:20 +13:00
Asaf Romano
fe8fdd5f03 Relanding bug 543444 - Replace single-view API with multiple observers. r=mak. sr=rstrong. 2010-03-04 13:23:41 -08:00
Asaf Romano
eb72e43829 Backing out bug 543444 due to orange. 2010-03-03 17:23:51 -08:00
Asaf Romano
79c992514c Bug 543444 - Replace single-view API with multiple observers. r=mak, sr=rstrong. 2010-03-03 14:45:16 -08:00
Daniel Holbert
42a96d12c9 Trivial followup for bug 461199: fix new compiler warning about unsigned-vs-signed comparison. (carrying forward rs=sdwilsh from previous related followup) 2010-02-25 17:53:41 -08:00
Daniel Holbert
0b8512ee0a Bug 461199 followup: Fix build warning "ISO C++ does not support the 'z' printf length modifier". rs=sdwilsh 2010-02-25 10:20:43 -08:00
Shawn Wilsher
99f6189b56 Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Ehsan Akhgari
27a8c70900 Bug 461199 (Part 20) - Rewrite the private browsing visited link coloring test to make it work with the new async API
r=mconnor
r=sdwilsh
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
09e99cfbd1 Bug 461199 (Part 18) - Need an observer notification to indicate when link status is known from the database
Adds an observer to indicate when a URI lookup is completed and passes the
visited state with the notification.  This greatly simplifies test writing.
r=mak
2010-02-24 08:37:02 -08:00
Shawn Wilsher
3848a86843 Bug 461199 (Part 12) - mozilla::dom::Link should unregister with mozilla::IHistory when it goes away
Call UnregisterWithHistory in Link's destructor to ensure that we are no longer
registered with IHistory.
r=sicking
sr=bz
2009-12-15 16:01:53 -08:00
Daniel Holbert
4017ea7ab6 bustage fix for Bug 461199: rename global var 'link' in test_IHistory.cpp to avoid bustage due to ambiguity w/ 'link()' function in unistd.h 2010-02-19 17:22:32 -08:00
Shawn Wilsher
7928338245 Backed out changeset cf4d10139ec0 2010-02-18 10:05:15 -08:00
Shawn Wilsher
6f84ecdb30 Bug 461199 (Part 12) - mozilla::dom::Link should unregister with mozilla::IHistory when it goes away
Call UnregisterWithHistory in Link's destructor to ensure that we are no longer
registered with IHistory.
r=sicking
sr=bz
2009-12-15 16:01:53 -08:00
Shawn Wilsher
94acf62a02 Bug 461199 (Part 2) - Create an API for asynchronous isVisited checks that content/layout can use
Create a new API (IHistory) to check for the visitedness of a URI.
r=mak
r=bz
sr=bsmedberg
2009-08-20 11:56:10 -07:00
Marco Bonardo
9a31fac209 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
80955263c8 Bug 520165 - Part13: New expiration tests, r=mano 2010-01-15 17:40:47 +01:00
Marco Bonardo
ed084077d7 Bug 520165 - Part12: fix existing Places tests, r=mano 2010-01-15 17:40:45 +01:00
Marco Bonardo
cb67ac168d Bug 520165 - Part9: remove old expiration code, r=mano 2010-01-15 17:40:19 +01:00
Marco Bonardo
535b37d79f Bug 520165 - Part8: Change onPageExpired to onDeleteVisits, r=mano, sr=mconnor 2010-01-15 17:40:17 +01:00
Marco Bonardo
5179d58974 Bug 520165 - Part7: Provide a new preference to toggle history, r=mano ui-r=faaborg 2010-01-15 17:40:14 +01:00
Drew Willcoxon
33e230da5e Bug 529597 - Places protocol handler, r=mak77,bz 2009-12-29 19:37:24 -08:00
Saint Wesonga
ce7ce4351f Test for bug 484026, r=mak77 2009-12-23 19:31:39 -05:00
Marco Bonardo
cada36ba33 Re-enable sync for random oranges that could have been fixed by bug 536435. 2009-12-22 21:57:46 +01:00
Metal Sonic
80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Marco Bonardo
b169131f5c Bug 531151 - Increase Annotation Service robustness, r=dietrich 2009-12-18 11:30:37 +01:00
Marco Bonardo
d661759e9b 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
Shawn Wilsher
466217f08d Backed out changeset e9f64cd044f3 (bug 526601) 2009-12-01 15:04:24 -08:00
Shawn Wilsher
3cd77a6cfd Bug 526601 - Places needs to use asyncClose instead of close on the database connection
Storage API changed, and we need to update.
r=mak
a=dbaron

--HG--
extra : rebase_source : 8a04a849b4d332357cc630710011df34f1d9a5ac
2009-11-09 09:59:40 -08:00
Marco Bonardo
0327e0240c 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
2556f6f857 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
c6f2913dc0 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
558bafdb95 Bug 526194 - Fix test bustage 2009-11-17 18:04:08 -05:00
Marco Bonardo
fd72aa3f6e 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
8d9add012b Bug 526920: minor test tweaks
--HG--
extra : rebase_source : 895f32d6db722606fb9327f9478c6857fb0d1e70
2009-11-09 10:12:10 -05:00
Gavin Sharp
d2c610fb87 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
9fed45ee61 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
e1a4065ed3 Bug 525710 - getPagesWithAnnotation, getItemsWithAnnotation, getPageAnnotationNames, getItemAnnotationNames, getFaviconData, getQueries, getFolders and getTagsForURI length out params should be optional. r=sdwilsh
--HG--
extra : rebase_source : e46c14838c9076d6bb32a423e0193e71b1d0532a
2009-11-02 22:04:15 +01:00
Gijs Kruitbosch
c888c1980e Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Jae-Seong Lee
72870cbe12 Bug 520743 - xpcshell-tests: some Places unit tests fail when 'werror' is on, r=mak 2009-10-29 11:56:41 +01:00
Marco Bonardo
5ea0a853b4 Bug 522678 - remove browser.history.showsessions from firefox.js, r=mano 2009-10-28 17:22:57 +01:00
Asaf Romano
793482958e 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
c96f4b66bb Bad test name in randomFailingTests causes random failures to still happen for test_results-as-visit.js 2009-10-16 15:19:32 +02:00
Marco Bonardo
9679a4ea34 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
ad2ed8403b Bug 521225 - Stop syncing for random failing Places tests, and make sheriffs happier, r=sdwilsh 2009-10-13 15:31:46 +02:00
Jae-Seong Lee
3ca48f9a99 Bug 520743 - [xpcshell-tests] some Places unit tests fail when 'werror' is on, part 3. r=mak 2009-10-09 20:17:07 +02:00
Marco Bonardo
9e64818f04 unwanted change in bug 520743, r=bustage 2009-10-09 14:14:35 +02:00
Marco Bonardo
b6d670967a Bug 516940 - Reduce and cleanup Places expiration work at shutdown, r=sdwilsh 2009-10-09 12:30:12 +02:00
Jae-Seong Lee
53770263be 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
Blair McBride
7dcc1cd83f Bug 446405 - Do not show the keyword of a quick search as if it was the query string. r=dietrich,mardak 2009-10-07 10:38:15 +02:00
Marco Bonardo
5bda0953f7 Bug 520547 - revert renaming of PlacesUtils methods from bug 477583. r=mano, r=gavin 2009-10-06 15:47:58 +02:00
Marco Bonardo
f42ae670d5 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
8f8c161f85 Bug 498130 - Reduce places-views overhead (RELAND) 2009-10-01 09:53:26 -07:00
Dietrich Ayala
d1261351b1 Backout bug 498130 due to persistent startup crash on Windows Mobile (bug 519854) 2009-09-30 17:21:39 -07:00
Marco Bonardo
2a43d29a31 Bug 477583 - Backups of bookmarks stops working if a future backup exists, r=mano 2009-09-29 12:44:18 +02:00
Marco Bonardo
45d6fbe0d1 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
daa8f9597a 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
8675f1e5ad Bug 498130 - Reduce places-views overhead. r=mak. sr=mconnor. 2009-09-26 11:23:17 +03:00
Paul O’Shannessy
a594969426 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
Dão Gottwald
2902fa95d2 Bug 517704 - use gBrowser instead of getBrowser() in Places code. r=mak 2009-09-20 12:58:27 +02:00
Marco Bonardo
c53a88b923 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
0e915d6038 Bug 512854 - VACUUM places.sqlite database on daily idle once a month, r=sdwilsh 2009-09-14 13:06:45 +02:00
Gavin Sharp
5c14fcb7d4 Bug 515451: make places autocomplete empty search behavior customizable, r=mardak 2009-09-10 16:16:42 -04:00
Shawn Wilsher
1c016b29ea 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
47149e6feb Bug 431798 - add test to ensure RESULTS_AS_TAG_CONTENTS queries do liveupdate, r=dietrich 2009-08-21 22:37:16 +02:00
Marco Bonardo
c30b7f7235 Bug 511846 - allow head_queries to remove annotations, r=dietrich 2009-08-21 22:37:10 +02:00
Marco Bonardo
9b5001fd58 Bug 510464 - re-enable and fix randomly failing test_419731.js, r=dietrich 2009-08-21 22:37:05 +02:00
Marco Bonardo
13bca465c3 Bug 416066 - Tests for bug 399606 are commented out and unreliable, so fix them, r=sdwilsh 2009-08-21 22:36:47 +02:00
Marco Bonardo
71e4e8a448 Bug 511860 - test_result-as-visits.js is randomly (but constantly) failing, disable test for now. 2009-08-21 14:44:19 +02:00
Marco Bonardo
84945020a2 Bug 430862 - create a test for excludeReadOnlyFolders query option, original test by ctalbert, r=dietrich 2009-08-21 11:54:18 +02:00
Marco Bonardo
dc533d0b79 Bug 326208 - API should not allow creation of "holes" in bookmark folders, r=dietrich 2009-08-21 11:54:12 +02:00
Marco Bonardo
01836a098f Bug 511374 - fix test_results-as-visit.js, r=dietrich 2009-08-21 11:53:59 +02:00
Marco Bonardo
5b0a410449 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
Clint Talbert
ee25f7ba1f Bug 432723 - Update Places Query API testing set with new tests, r=dietrich 2009-08-18 10:06:11 +02:00
Marco Bonardo
a3d5c821c8 Bug 507239 - add more logging to test_395593.js to gather data on the next random failure, r=dietrich 2009-08-14 10:03:36 +02:00
Shawn Wilsher
5fdd31f1b4 Bug 509566 - Location bar does not respect tag filter preference
Fixes a regression from Bug 455555 that makes us no longer respect the tag
filter preference and always use the default.  Also adds tests to make sure we
do not break any of our filter preferences in the future.
r=dietrich
2009-08-11 13:38:10 -07:00
Ted Mielczarek
fb6939649b 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
058342d150 Bug 508265 - Localized bookmarks backup are not replaced by new backups, r=dietrich 2009-08-06 16:34:16 +02:00
Ted Mielczarek
092e85a88d 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
bb3956d8f7 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
eccff727cd xpcshell unit test fix from async location bar landing on a CLOSED TREE. no bug. r=dietrich 2009-07-30 13:53:06 -07:00
Shawn Wilsher
2cac3b64fa Merging places and mozilla-central. 2009-07-30 08:41:55 -07:00
Shawn Wilsher
421808700f 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
b16a180207 Bug 503195 - Using Places nodes' PropertyBags leaks, r=sdwilsh 2009-07-09 14:39:54 +02:00
Marco Bonardo
995818a759 backout bug 503195, test too! 2009-07-09 12:31:19 +02:00
Marco Bonardo
ec21128999 Bug 503195 - Using Places nodes' PropertyBags leaks, r=sdwilsh 2009-07-09 11:50:25 +02:00
David Dahl
e2442097d1 Bug 479089 - Need to test that removing a page from autocomplete actually removes a page, r=sdwilsh 2009-07-29 23:50:37 +02:00
Marco Bonardo
4ae2ce6fd5 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)
7c09707c8e 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
Dave Townsend
f37dd315fe Bug 481406: Stop using dump in browser chrome tests. r=mak77 2009-07-06 10:27:26 +01:00
Marco Bonardo
b8ba42b5d6 Bug 500640 - Random failure in test_lastModified.js, r=adw 2009-07-01 11:19:06 +02:00
Marco Bonardo
9bfa015bf5 Bug 494375 - Date folders in history not recreated when revisiting pages, r=dietrich 2009-06-24 10:59:18 +02:00
Marco Bonardo
af65389149 Bug 482346 - mDBFindURIBookmarks can't use indices to sort, r=sdwilsh r=dietrich 2009-06-24 10:59:14 +02:00
Marco Bonardo
7a2673fbc7 Bug 492884 - getMostRecentFolderForFeedURI should use the livemarks service instead of annos directly, r=dietrich 2009-06-23 01:00:51 +02:00
mak77@bonardo.net
7c765c381c Bug 496542 - Duplicate entries in History sidebar and Library (r=sdwilsh) 2009-06-16 10:45:13 -07:00
Dietrich Ayala
e3ea940a27 Bug 497563 - Crashes [@ BindStatementURI] (r=sdwilsh)
* * *
2009-06-12 00:34:35 -07:00
Shawn Wilsher
6ad4eed4e5 Backed out changeset d891a7418d95 (bug 483980) 2009-06-11 16:08:07 -07:00