diff options
Diffstat (limited to '')
5 files changed, 184 insertions, 0 deletions
diff --git a/comm/mail/test/browser/newmailaccount/html/providerList b/comm/mail/test/browser/newmailaccount/html/providerList new file mode 100644 index 0000000000..9d8af7492b --- /dev/null +++ b/comm/mail/test/browser/newmailaccount/html/providerList @@ -0,0 +1,63 @@ +[{"id": "foo", + "label": "foo", + "paid": true, + "languages" : ["en-US"], + "api": "http://www.example.com/tbReg?first={firstname}&last={lastname}&email={email}", + "tos_url": "http://www.example.com/foo-tos", + "privacy_url": "http://www.example.com/foo-privacy", + "sells_domain": false + }, + {"id": "bar", + "label": "bar", + "paid": false, + "languages" : ["en-US", "fr-FR"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/bar-tos", + "privacy_url": "http://www.example.com/bar-privacy", + "sells_domain": false + }, + {"id": "French", + "label": "French Provider", + "paid": false, + "languages" : ["fr-FR"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/French-tos", + "privacy_url": "http://www.example.com/French-privacy", + "sells_domain": false + }, + {"id": "German", + "label": "German Provider", + "paid": false, + "languages" : ["de-DE"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/German-tos", + "privacy_url": "http://www.example.com/German-privacy", + "sells_domain": false + }, + {"id": "corrupt", + "label": "Corrupt Provider", + "paid": false, + "languages" : ["en-US"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registrationCorrupt.html", + "tos_url": "http://www.example.com/corrupt-tos", + "privacy_url": "http://www.example.com/corrupt-privacy", + "sells_domain": true + }, + {"id": "err", + "label": "Error Provider", + "paid": false, + "languages" : ["en-US"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registrationError.html", + "tos_url": "http://www.example.com/err-tos", + "privacy_url": "http://www.example.com/err-privacy", + "sells_domain": true + }, + {"id": "multi", + "label": "multi", + "paid": true, + "languages" : ["en-US"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/bar-tos", + "privacy_url": "http://www.example.com/bar-privacy", + "sells_domain": true + }] diff --git a/comm/mail/test/browser/newmailaccount/html/providerListBad b/comm/mail/test/browser/newmailaccount/html/providerListBad new file mode 100644 index 0000000000..8faf0f7cd0 --- /dev/null +++ b/comm/mail/test/browser/newmailaccount/html/providerListBad @@ -0,0 +1,15 @@ +[{"id": "foo", + "label": "foo", + "paid": true, + "languages" : ["en-US"], + "api": "http://www.example.com/tbReg?first={firstname}&last={lastname}&email={email}", + "url": "http://www.example.com/api/orde"http://foo.com/tos", + "privacy_url": "http://foo.com/privacy", + "search_engine": "foo" + }, +: "http://example.com/", + "tos_url": "http://example.com/tos", + "privacy_url": "http://example.com/privacy" +} + +] diff --git a/comm/mail/test/browser/newmailaccount/html/providerListIncomplete b/comm/mail/test/browser/newmailaccount/html/providerListIncomplete new file mode 100644 index 0000000000..1dfa9be2c3 --- /dev/null +++ b/comm/mail/test/browser/newmailaccount/html/providerListIncomplete @@ -0,0 +1,41 @@ +[{"id": "foo", + "label": "foo", + "paid": true, + "languages" : ["en-US"], + "api": "http://www.example.com/tbReg?first={firstname}&last={lastname}&email={email}", + "tos_url": "http://www.example.com/tos", + "privacy_url": "http://www.example.com/privacy", + "search_engine": "foo" + }, + {"id": "bar", + "label": "bar", + "paid": false, + "languages" : ["en-US", "fr-FR"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/tos", + "privacy_url": "http://www.example.com/privacy", + "search_engine": "bar" + }, + {"id": "French", + "label": "French Provider", + "paid": false, + "languages" : ["fr-FR"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/tos", + "privacy_url": "http://www.example.com/privacy", + "search_engine": "French" + }, + {"id": "German", + "label": "German Provider", + "paid": false, + "languages" : ["de-DE"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/tos", + "privacy_url": "http://www.example.com/privacy", + "search_engine": "German" +}, + {"id": "corrupt", + "label": "Corrupt Provider", + "languages" : ["en-US"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registrationCorrupt.html" +}] diff --git a/comm/mail/test/browser/newmailaccount/html/providerListNoOtherLangs b/comm/mail/test/browser/newmailaccount/html/providerListNoOtherLangs new file mode 100644 index 0000000000..e2fa454fa0 --- /dev/null +++ b/comm/mail/test/browser/newmailaccount/html/providerListNoOtherLangs @@ -0,0 +1,28 @@ +[{"id": "foo", + "label": "foo", + "paid": true, + "languages" : ["en-US"], + "api": "http://www.example.com/tbReg?first={firstname}&last={lastname}&email={email}", + "tos_url": "http://www.example.com/foo-tos", + "privacy_url": "http://www.example.com/foo-privacy", + "search_engine": "foo" + }, + {"id": "bar", + "label": "bar", + "paid": false, + "languages" : ["en-US"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/bar-tos", + "privacy_url": "http://www.example.com/bar-privacy", + "search_engine": "bar" + }, + {"id": "corrupt", + "label": "Corrupt Provider", + "paid": false, + "languages" : ["en-US"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registrationCorrupt.html", + "tos_url": "http://www.example.com/corrupt-tos", + "privacy_url": "http://www.example.com/corrupt-privacy" +} + +] diff --git a/comm/mail/test/browser/newmailaccount/html/providerListWildcard b/comm/mail/test/browser/newmailaccount/html/providerListWildcard new file mode 100644 index 0000000000..5644013fa3 --- /dev/null +++ b/comm/mail/test/browser/newmailaccount/html/providerListWildcard @@ -0,0 +1,37 @@ +[{"id": "universal", + "label": "Universal", + "paid": true, + "languages" : ["*"], + "api": "http://www.example.com/tbReg?first={firstname}&last={lastname}&email={email}", + "tos_url": "http://www.example.com/foo-tos", + "privacy_url": "http://www.example.com/foo-privacy", + "search_engine": "universal" + }, +{"id": "otherUniversal", + "label": "Other Universal", + "paid": true, + "languages" : ["*", "fr-FR"], + "api": "http://www.example.com/tbReg?first={firstname}&last={lastname}&email={email}", + "tos_url": "http://www.example.com/foo-tos", + "privacy_url": "http://www.example.com/foo-privacy", + "search_engine": "otherUniversal" + }, + {"id": "French", + "label": "French Provider", + "paid": false, + "languages" : ["fr-FR"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/French-tos", + "privacy_url": "http://www.example.com/French-privacy", + "search_engine": "French" + }, + {"id": "German", + "label": "German Provider", + "paid": false, + "languages" : ["de-DE"], + "api": "http://mochi.test:8888/browser/comm/mail/test/browser/newmailaccount/html/registration.html", + "tos_url": "http://www.example.com/German-tos", + "privacy_url": "http://www.example.com/German-privacy", + "search_engine": "German" + } +] |