Commit Graph

572 Commits

Author SHA1 Message Date
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
Mehdi Mulani
1021f12095 Bug 564270 - Can not search Places by transition type 2010-06-23 10:01:27 -07:00
Daniel Holbert
a7de49793d Backed out changeset 5da9fc2be835 (Bug 557566) 2010-06-26 20:00:11 -07:00
Daniel Holbert
d37294426a Bug 557566, part 2: Add FAIL_ON_WARNINGS to Makefiles in some build-warning-free directories. r=ted 2010-06-26 14:25:22 -07:00
Doug Turner
26297a1c2a Backing out af6c00ca82d1 2010-06-26 00:32:19 -07:00
Doug Turner
d4af2b4341 Backing out 1a916e3c1ad1 2010-06-26 00:31:31 -07:00
Benjamin Stover
785d263fb3 Bug 566738 - Add SetURITitle to IHistory. r=sdwilsh sr=bz 2010-06-25 22:53:41 -07:00
Benjamin Stover
44b838b62d Bug 556400 - Implement asyncable VisitURI. r=sdwilsh sr=bz 2010-06-25 22:50:29 -07:00
Marco Bonardo
82fb454a43 Fix and re-enable test_history_expiration.js 2010-06-17 21:46:22 +02:00
Drew Willcoxon
23f6c7fa89 Bug 564573 - A page that's opened in a tab should appear exactly once, as switch-to-tab. r=mak 2010-06-14 11:51:53 -07:00
Justin Wood
7eb105907c Bug 568733 - patch for mobile specific browser-chrome tests breaks seamonkey. r=ted
pending-feedback=jmaher

Also RE-enables browser-mochitests for docshell.
2010-06-09 19:29:44 -04:00
Edward Lee
fc92ca4487 Bug 461483 - Ignore 'www.' when searching in the the awesome bar [r=mak]
Strip out www. from found urls and the query after already stripping off http://, etc. Update tests now that www. can't be matched.

--HG--
extra : rebase_source : 352f2dfb302a56fc3e83dffcbb1bd2a53208510d
2009-07-24 17:57:26 -07:00
Joel Maher
c18ae0e88f Bug 535922 - Genereate mobile specific browser chrome test package files r=ted 2010-05-27 13:01:37 -07: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
Daniel Holbert
942fda5f5c Bug 560393, part 1: (places directory) Fix warning: "format '%d' expects type 'int', but argument [N] has type 'size_t'". r=sdwilsh 2010-05-06 11:52:15 -07:00
Serge Gautherie
1ac1fdd1d8 Bug 535905 - [SeaMonkey 2.1] mochitest-browser-chrome: "Exception thrown at chrome://mochikit/content/browser/toolkit/components/places/tests/browser/browser_bug399606.js:74 - ReferenceError: XPCOMUtils is not defined"; (Av1) Add missing |Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");|.
r=mak77.
2010-04-28 23:49:28 +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
timeless@mozdev.org
18f4a5a5a3 Bug 555659 - places/tests/cpp/mock_Link.h doesn't initialize mRegistered and mContent, r=sdwilsh, a=1
--HG--
extra : rebase_source : b1993fad9fc5674e673c10150a2fb12e9216fea4
2010-03-29 02:10:00 -07:00
Marco Bonardo
f0b25bedf3 Bug 529821 - Places should shutdown earlier (at profile-before-change). r=sdwilsh r=ehsan 2010-04-22 14:53:54 +02:00
Marco Bonardo
dc98c63f6e Bug 542736 - random orange in xpcshell/tests/test_places/expiration/test_pref_interval.js r=sdwilsh 2010-04-20 10:07:21 +02:00
Marco Bonardo
cccce40f04 Bug 541068 - random failure in expiration\test_removeAllPages.js r=dietrich 2010-04-20 10:07:16 +02:00
Marco Bonardo
e203107ce4 Bug 557406 - Intermittent xpcshell failure in test_bookmarks.js, r=dietrich 2010-04-18 16:05:58 +02:00
Marco Bonardo
698a556c8d Bug 509426 - disable flushes on test_405938_restore_queries.js 2010-04-17 12:07:21 +02:00
Marco Bonardo
6dc8730c40 Bug 527134 - disable flushes for test_385829.js a=dietrich 2010-04-16 23:50:58 +02:00
Marco Bonardo
229fe714c7 Bug 527622 - test_sorting.js should wait for clear history. a=dietrich 2010-04-16 23:50:40 +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
Marco Bonardo
32a0915d52 Bug 556347 - LAZY_TIMER*2 is not large enough to ensure correctness of the test. a=dietrich 2010-04-16 23:48:38 +02:00
Marco Bonardo
c6a363b619 Disable flushes for some Places random test, due to bug 507790 2010-04-15 00:14:19 +02:00
Marco Bonardo
918dd0d463 Bug 557406 - Intermittent failure in test_bookmarks.js. Disable till we implement a fix. 2010-04-15 00:14:15 +02:00
Dietrich Ayala
bc51cf819c Bug 557406 - Intermittent xpcshell failure in test_bookmarks.js | false == true (via shaver, test landing to see orange effect) 2010-04-13 22:57:36 -07:00
Drew Willcoxon
b660f0bb6a Bug 536893 - Asynchronous API for opening nsNavHistoryFolderResultNodes (part 2), r=mano 2010-04-09 11:30:35 -07:00
Drew Willcoxon
207fc62f9f Bug 536893 - Asynchronous API for opening nsNavHistoryFolderResultNodes (part 1), r=mano, sr=vlad 2010-04-09 11:30:29 -07:00
Ehsan Akhgari
3313f2610b Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks 2010-04-07 13:29:10 -04:00
Ehsan Akhgari
f11e5f3370 Bug 553124 - After bug 147777 lands, private browsing doesn't need to disable coloring of visited links any more; r=sdwilsh,bzbarsky
--HG--
extra : rebase_source : 7aff54b4357ca411278e906ecd022adfd1bb09cc
2010-04-06 13:47:42 -04:00
L. David Baron
c6cfc1d0a4 Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -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
Blair McBride
9c5de4629e Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2010-03-26 22:59:02 +01: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
David Bolter
af0cd9907e Increase the minimum wait time for testing interval expiration (b=542736 - random orange); r=mak77 2010-03-18 21:24:44 -04: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
Robert Longson
7f73b235c7 Bug 510202 - simplify C++ code now that bug 461199 has landed. r=sdwilsh,sr=bzbarsky 2010-03-13 10:32:19 +00:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08: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
Shawn Wilsher
f4da63e4bf Bug 526601 - Places needs to use asyncClose instead of close on the database connection
Storage API changed, and we need to update.
r=mak
2009-11-09 09:59:40 -08:00
Blair McBride
bd0b32abc1 Backout patch for c7562242f88e due to bustage 2010-03-11 16:35:37 +13:00
Blair McBride
8274492c49 Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2009-11-23 15:37:39 +13:00
Marco Bonardo
55340792b2 Bug 542943 - Get rid of bookmarksHash, r=dietrich 2010-03-10 13:40:52 +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
ee2bb7ac00 Bug 542941 - Part4 and 5: fix a sessionID bug, and introduce a new test for redirects, r=dietrich 2010-03-10 13:40:37 +01:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08: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
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 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
7ffd9496bc 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
ef6c5fda3d 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
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
Daniel Holbert
a3dfa5360d 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
00ed82e5e1 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
149f5aac0a 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
d14f0f9897 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
201e801a1f 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
2171f3f5d2 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
2fb91b4ca2 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
a5fb212e96 Backed out changeset cf4d10139ec0 2010-02-18 10:05:15 -08:00
Shawn Wilsher
f284f552ef 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
1c29b0d28e 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
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
f45bf94d80 Bug 520165 - Part13: New expiration tests, r=mano 2010-01-15 17:40:47 +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
Drew Willcoxon
e9ef3b6403 Bug 529597 - Places protocol handler, r=mak77,bz 2009-12-29 19:37:24 -08:00
Saint Wesonga
7eddbbbf54 Test for bug 484026, r=mak77 2009-12-23 19:31:39 -05: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
Shawn Wilsher
8298fc4936 Backed out changeset e9f64cd044f3 (bug 526601) 2009-12-01 15:04:24 -08:00
Shawn Wilsher
36fcc4e93c 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
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