Source code
Revision control
Copy as Markdown
Other Tools
/* Any copyright is dedicated to the Public Domain.
EnableEngines(["bookmarks"]);
/*
* The list of phases mapped to their corresponding profiles. The object
* here must be in JSON format as it will get parsed by the Python
* testrunner. It is parsed by the YAML package, so it relatively flexible.
*/
var phases = { phase1: "profile1", phase2: "profile2", phase3: "profile1" };
var bookmarks_initial_1 = {
menu: [
{ folder: "aaa", description: "foo" },
],
"menu/aaa": [
],
};
var bookmarks_initial_2 = {
menu: [
{ folder: "aaa", description: "bar" },
],
"menu/aaa": [
{
title: "Bugzilla",
},
],
};
Phase("phase1", [[Bookmarks.add, bookmarks_initial_1], [Sync]]);
Phase("phase2", [
[Sync],
[Bookmarks.verify, bookmarks_initial_1],
[Bookmarks.add, bookmarks_initial_2],
[Sync],
]);
Phase("phase3", [
[Sync],
// XXX [Bookmarks.verify, bookmarks_initial_1],
[Bookmarks.verify, bookmarks_initial_2],
]);