services/sync/tests/tps/test_bug535326.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* Any copyright is dedicated to the Public Domain.
michael@0 2 http://creativecommons.org/publicdomain/zero/1.0/ */
michael@0 3
michael@0 4 /*
michael@0 5 * The list of phases mapped to their corresponding profiles. The object
michael@0 6 * here must be in strict JSON format, as it will get parsed by the Python
michael@0 7 * testrunner (no single quotes, extra comma's, etc).
michael@0 8 */
michael@0 9 EnableEngines(["tabs"]);
michael@0 10
michael@0 11 var phases = { "phase1": "profile1",
michael@0 12 "phase2": "profile2"};
michael@0 13
michael@0 14 var tabs1 = [
michael@0 15 { uri: "data:text/html,<html><head><title>Howdy</title></head><body>Howdy</body></html>",
michael@0 16 title: "Howdy",
michael@0 17 profile: "profile1"
michael@0 18 },
michael@0 19 { uri: "data:text/html,<html><head><title>America</title></head><body>America</body></html>",
michael@0 20 title: "America",
michael@0 21 profile: "profile1"
michael@0 22 },
michael@0 23 { uri: "data:text/html,<html><head><title>Apple</title></head><body>Apple</body></html>",
michael@0 24 title: "Apple",
michael@0 25 profile: "profile1"
michael@0 26 },
michael@0 27 { uri: "data:text/html,<html><head><title>This</title></head><body>This</body></html>",
michael@0 28 title: "This",
michael@0 29 profile: "profile1"
michael@0 30 },
michael@0 31 { uri: "data:text/html,<html><head><title>Bug</title></head><body>Bug</body></html>",
michael@0 32 title: "Bug",
michael@0 33 profile: "profile1"
michael@0 34 },
michael@0 35 { uri: "data:text/html,<html><head><title>IRC</title></head><body>IRC</body></html>",
michael@0 36 title: "IRC",
michael@0 37 profile: "profile1"
michael@0 38 },
michael@0 39 { uri: "data:text/html,<html><head><title>Tinderbox</title></head><body>Tinderbox</body></html>",
michael@0 40 title: "Tinderbox",
michael@0 41 profile: "profile1"
michael@0 42 },
michael@0 43 { uri: "data:text/html,<html><head><title>Fox</title></head><body>Fox</body></html>",
michael@0 44 title: "Fox",
michael@0 45 profile: "profile1"
michael@0 46 },
michael@0 47 { uri: "data:text/html,<html><head><title>Hello</title></head><body>Hello</body></html>",
michael@0 48 title: "Hello",
michael@0 49 profile: "profile1"
michael@0 50 },
michael@0 51 { uri: "data:text/html,<html><head><title>Eagle</title></head><body>Eagle</body></html>",
michael@0 52 title: "Eagle",
michael@0 53 profile: "profile1"
michael@0 54 },
michael@0 55 { uri: "data:text/html,<html><head><title>Train</title></head><body>Train</body></html>",
michael@0 56 title: "Train",
michael@0 57 profile: "profile1"
michael@0 58 },
michael@0 59 { uri: "data:text/html,<html><head><title>Macbook</title></head><body>Macbook</body></html>",
michael@0 60 title: "Macbook",
michael@0 61 profile: "profile1"
michael@0 62 },
michael@0 63 { uri: "data:text/html,<html><head><title>Clock</title></head><body>Clock</body></html>",
michael@0 64 title: "Clock",
michael@0 65 profile: "profile1"
michael@0 66 },
michael@0 67 { uri: "data:text/html,<html><head><title>Google</title></head><body>Google</body></html>",
michael@0 68 title: "Google",
michael@0 69 profile: "profile1"
michael@0 70 },
michael@0 71 { uri: "data:text/html,<html><head><title>Human</title></head><body>Human</body></html>",
michael@0 72 title: "Human",
michael@0 73 profile: "profile1"
michael@0 74 },
michael@0 75 { uri: "data:text/html,<html><head><title>Jetpack</title></head><body>Jetpack</body></html>",
michael@0 76 title: "Jetpack",
michael@0 77 profile: "profile1"
michael@0 78 },
michael@0 79 { uri: "data:text/html,<html><head><title>Selenium</title></head><body>Selenium</body></html>",
michael@0 80 title: "Selenium",
michael@0 81 profile: "profile1"
michael@0 82 },
michael@0 83 { uri: "data:text/html,<html><head><title>Mozilla</title></head><body>Mozilla</body></html>",
michael@0 84 title: "Mozilla",
michael@0 85 profile: "profile1"
michael@0 86 },
michael@0 87 { uri: "data:text/html,<html><head><title>Firefox</title></head><body>Firefox</body></html>",
michael@0 88 title: "Firefox",
michael@0 89 profile: "profile1"
michael@0 90 },
michael@0 91 { uri: "data:text/html,<html><head><title>Weave</title></head><body>Weave</body></html>",
michael@0 92 title: "Weave",
michael@0 93 profile: "profile1"
michael@0 94 },
michael@0 95 { uri: "data:text/html,<html><head><title>Android</title></head><body>Android</body></html>",
michael@0 96 title: "Android",
michael@0 97 profile: "profile1"
michael@0 98 },
michael@0 99 { uri: "data:text/html,<html><head><title>Bye</title></head><body>Bye</body></html>",
michael@0 100 title: "Bye",
michael@0 101 profile: "profile1"
michael@0 102 },
michael@0 103 { uri: "data:text/html,<html><head><title>Hi</title></head><body>Hi</body></html>",
michael@0 104 title: "Hi",
michael@0 105 profile: "profile1"
michael@0 106 },
michael@0 107 { uri: "data:text/html,<html><head><title>Final</title></head><body>Final</body></html>",
michael@0 108 title: "Final",
michael@0 109 profile: "profile1"
michael@0 110 },
michael@0 111 { uri: "data:text/html,<html><head><title>Fennec</title></head><body>Fennec</body></html>",
michael@0 112 title: "Fennec",
michael@0 113 profile: "profile1"
michael@0 114 },
michael@0 115 { uri: "data:text/html,<html><head><title>Mobile</title></head><body>Mobile</body></html>",
michael@0 116 title: "Mobile",
michael@0 117 profile: "profile1"
michael@0 118 }
michael@0 119 ];
michael@0 120
michael@0 121 Phase('phase1', [
michael@0 122 [Tabs.add, tabs1],
michael@0 123 [Sync]
michael@0 124 ]);
michael@0 125
michael@0 126 Phase('phase2', [
michael@0 127 [Sync],
michael@0 128 [Tabs.verify, tabs1]
michael@0 129 ]);
michael@0 130

mercurial