Commit Graph

884 Commits

Author SHA1 Message Date
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
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