/* * The list of phases mapped to their corresponding profiles. The object * here must be in strict JSON format, as it will get parsed by the Python * testrunner (no single quotes, extra comma's, etc).
*/
/* * Bookmark asset lists: these define bookmarks that are used during the test
*/
// the initial list of bookmarks to be added to the browser var bookmarks_initial = {
menu: [
{
uri: "http://www.google.com",
tags: ["google", "computers", "internet", "www"],
changes: {
title: "Google",
tags: ["google", "computers", "misc"],
},
},
{
uri: "http://bugzilla.mozilla.org/show_bug.cgi?id=%s",
title: "Bugzilla",
keyword: "bz",
changes: {
keyword: "bugzilla",
},
},
{ folder: "foldera" },
{ uri: "http://www.mozilla.com" },
{ separator: true },
{ folder: "folderb" },
], "menu/foldera": [
{
uri: "http://www.yahoo.com",
title: "testing Yahoo",
changes: {
location: "menu/folderb",
},
},
{
uri: "http://www.cnn.com",
description: "This is a description of the site a at www.cnn.com",
changes: {
uri: "http://money.cnn.com",
description: "new description",
},
},
], "menu/folderb": [
{
uri: "http://www.apple.com",
tags: ["apple", "mac"],
changes: {
uri: "http://www.apple.com/iphone/",
title: "iPhone",
location: "menu",
position: "Google",
tags: [],
},
},
],
toolbar: [
{
uri: "place:queryType=0&sort=8&maxResults=10&beginTimeRef=1&beginTime=0",
title: "Visited Today",
},
],
};
// the state of bookmarks after the first 'modify' action has been performed // on them var bookmarks_after_first_modify = {
menu: [
{
uri: "http://www.apple.com/iphone/",
title: "iPhone",
before: "Google",
tags: [],
},
{
uri: "http://www.google.com",
title: "Google",
tags: ["google", "computers", "misc"],
},
{
uri: "http://bugzilla.mozilla.org/show_bug.cgi?id=%s",
title: "Bugzilla",
keyword: "bugzilla",
},
{ folder: "foldera" },
{ uri: "http://www.mozilla.com" },
{ separator: true },
{
folder: "folderb",
changes: {
location: "menu/foldera",
folder: "Folder B",
description: "folder description",
},
},
], "menu/foldera": [
{
uri: "http://money.cnn.com",
title: "http://www.cnn.com",
description: "new description",
},
], "menu/folderb": [{ uri: "http://www.yahoo.com", title: "testing Yahoo" }],
toolbar: [
{
uri: "place:queryType=0&sort=8&maxResults=10&beginTimeRef=1&beginTime=0",
title: "Visited Today",
},
],
};
// a list of bookmarks to delete during a 'delete' action var bookmarks_to_delete = {
menu: [
{
uri: "http://www.google.com",
title: "Google",
tags: ["google", "computers", "misc"],
},
],
};
// the state of bookmarks after the second 'modify' action has been performed // on them var bookmarks_after_second_modify = {
menu: [
{ uri: "http://www.apple.com/iphone/", title: "iPhone" },
{
uri: "http://bugzilla.mozilla.org/show_bug.cgi?id=%s",
title: "Bugzilla",
keyword: "bugzilla",
},
{ folder: "foldera" },
{ uri: "http://www.mozilla.com" },
{ separator: true },
], "menu/foldera": [
{
uri: "http://money.cnn.com",
title: "http://www.cnn.com",
description: "new description",
},
{ folder: "Folder B", description: "folder description" },
], "menu/foldera/Folder B": [
{ uri: "http://www.yahoo.com", title: "testing Yahoo" },
],
};
// a list of bookmarks which should not be present after the last // 'delete' and 'modify' actions var bookmarks_absent = {
menu: [
{ uri: "http://www.google.com", title: "Google" },
{ folder: "folderb" },
{ folder: "Folder B" },
],
};
/* * History asset lists: these define history entries that are used during * the test
*/
// a list of history entries to delete during a 'delete' action var history_to_delete = [
{ uri: "http://www.cnn.com/" },
{ begin: -24, end: -1 },
{ host: "www.google.com" },
];
// the expected history entries after the first 'delete' action var history_after_delete = [
{
uri: "http://www.mozilla.com/",
title: "Mozilla",
visits: [
{ type: 1, date: 0 },
{ type: 2, date: -36 },
],
},
];
/* * Password asset lists: these define password entries that are used during * the test
*/
// the initial list of passwords to add to the browser var passwords_initial = [
{
hostname: "http://www.example.com",
submitURL: "http://login.example.com",
username: "joe",
password: "SeCrEt123",
usernameField: "uname",
passwordField: "pword",
changes: {
password: "zippity-do-dah",
},
},
{
hostname: "http://www.example.com",
realm: "login",
username: "joe",
password: "secretlogin",
},
];
// the expected state of passwords after the first 'modify' action var passwords_after_first_modify = [
{
hostname: "http://www.example.com",
submitURL: "http://login.example.com",
username: "joe",
password: "zippity-do-dah",
usernameField: "uname",
passwordField: "pword",
},
{
hostname: "http://www.example.com",
realm: "login",
username: "joe",
password: "secretlogin",
},
];
// a list of passwords to delete during a 'delete' action var passwords_to_delete = [
{
hostname: "http://www.example.com",
realm: "login",
username: "joe",
password: "secretlogin",
},
];
// a list of passwords expected to be absent after 'delete' and 'modify' // actions var passwords_absent = [
{
hostname: "http://www.example.com",
realm: "login",
username: "joe",
password: "secretlogin",
},
];
// the expected state of passwords after the seconds 'modify' action var passwords_after_second_modify = [
{
hostname: "http://www.example.com",
submitURL: "http://login.example.com",
username: "joe",
password: "zippity-do-dah",
usernameField: "uname",
passwordField: "pword",
},
];
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.