Confirmed users
1,905
edits
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
For example: | For example: | ||
history1: | |||
* uri: http://www.google.com/ | |||
title: Google | |||
visits: | |||
* type: 1 | |||
date: 0 | |||
* type: 2 | |||
date: -1 | |||
* uri: http://www.cnn.com/ | |||
title: CNN | |||
visits: | |||
* type: 1 | |||
date: -1 | |||
* type: 2 | |||
date: -36 | |||
The history list used for deletions looks different. It's an array of objects, each of which represents a type of history to delete. There are three different types: | The history list used for deletions looks different. It's an array of objects, each of which represents a type of history to delete. There are three different types: | ||
Line 32: | Line 37: | ||
For example: | For example: | ||
history-to-delete: | |||
* uri: http://www.cnn.com/ | |||
* begin: -24 | |||
end: -1 | |||
* host: www.google.com | |||
== Actions == | == Actions == | ||
Line 44: | Line 49: | ||
== Example == | == Example == | ||
For a more detailed example, see the [http://hg.mozilla.org/automation/crossweave/file/ | For a more detailed example, see the [http://hg.mozilla.org/automation/crossweave/file/605cc23b027a/unittests/history.test CrossWeave history unit test]. |