author | Dan Witte <dwitte@mozilla.com> |
Fri, 12 Nov 2010 09:32:36 -0800 | |
changeset 57411 | 0525032a59a37de7f8b4cec557b7056d16c8c726 |
parent 57410 | 97c3302f124c8ea7e3519ca31d988de1a5c7dee3 |
child 57412 | 81f4de31f19e0aeb2343b07b4c7398805c147606 |
push id | 16911 |
push user | dwitte@mozilla.com |
push date | Fri, 12 Nov 2010 17:33:05 +0000 |
treeherder | mozilla-central@0525032a59a3 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | sdwilsh, betaN |
bugs | 547031 |
milestone | 2.0b8pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/extensions/cookie/test/unit/cookieprompt.js +++ b/extensions/cookie/test/unit/cookieprompt.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); const Ci = Components.interfaces; function CookiePromptService() { }
--- a/extensions/cookie/test/unit/test_bug468700.js +++ b/extensions/cookie/test/unit/test_bug468700.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ function run_test() { do_load_manifest("cookieprompt.manifest"); var cs = Cc["@mozilla.org/cookieService;1"].getService(Ci.nsICookieService); var cm = Cc["@mozilla.org/cookiemanager;1"].getService(Ci.nsICookieManager2); var ios = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService); var prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
--- a/extensions/cookie/test/unit/test_bug526789.js +++ b/extensions/cookie/test/unit/test_bug526789.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ function run_test() { var cs = Cc["@mozilla.org/cookieService;1"].getService(Ci.nsICookieService); var cm = Cc["@mozilla.org/cookiemanager;1"].getService(Ci.nsICookieManager2); var expiry = (Date.now() + 1000) * 1000; cm.removeAll();
--- a/extensions/cookie/test/unit/test_cookies_async_failure.js +++ b/extensions/cookie/test/unit/test_cookies_async_failure.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // Test the various ways opening a cookie database can fail in an asynchronous // (i.e. after synchronous initialization) manner, and that the database is // renamed and recreated under each circumstance. These circumstances are, in no // particular order: // // 1) A write operation failing after the database has been read in. // 2) Asynchronous read failure due to a corrupt database.
--- a/extensions/cookie/test/unit/test_cookies_persistence.js +++ b/extensions/cookie/test/unit/test_cookies_persistence.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // test for cookie persistence across sessions, for the cases: // 1) network.cookie.lifetimePolicy = 0 (expire naturally) // 2) network.cookie.lifetimePolicy = 2 (expire at end of session) let test_generator = do_run_test(); function run_test() {
--- a/extensions/cookie/test/unit/test_cookies_privatebrowsing.js +++ b/extensions/cookie/test/unit/test_cookies_privatebrowsing.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // Test private browsing mode. let test_generator = do_run_test(); function run_test() { do_test_pending(); do_run_generator(test_generator);
--- a/extensions/cookie/test/unit/test_cookies_read.js +++ b/extensions/cookie/test/unit/test_cookies_read.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // test cookie database asynchronous read operation. let test_generator = do_run_test(); function run_test() { do_test_pending(); test_generator.next();
--- a/extensions/cookie/test/unit/test_cookies_sync_failure.js +++ b/extensions/cookie/test/unit/test_cookies_sync_failure.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // Test the various ways opening a cookie database can fail in a synchronous // (i.e. immediate) manner, and that the database is renamed and recreated // under each circumstance. These circumstances are, in no particular order: // // 1) A corrupt database, such that opening the connection fails. // 2) The 'moz_cookies' table doesn't exist. // 3) Not all of the expected columns exist, and statement creation fails when:
--- a/extensions/cookie/test/unit/test_cookies_thirdparty.js +++ b/extensions/cookie/test/unit/test_cookies_thirdparty.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // test third party cookie blocking, for the cases: // 1) with null channel // 2) with channel, but with no docshell parent function run_test() { // Create URIs and channels pointing to foo.com and bar.com. // We will use these to put foo.com into first and third party contexts.
--- a/extensions/cookie/test/unit/test_cookies_thirdparty_session.js +++ b/extensions/cookie/test/unit/test_cookies_thirdparty_session.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // test third party persistence across sessions, for the cases: // 1) network.cookie.thirdparty.sessionOnly = false // 2) network.cookie.thirdparty.sessionOnly = true let test_generator = do_run_test(); function run_test() {
--- a/extensions/cookie/test/unit/test_domain_eviction.js +++ b/extensions/cookie/test/unit/test_domain_eviction.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // Test that domain eviction occurs when the cookies per base domain limit is // reached, and that expired cookies are evicted before live cookies. let test_generator = do_run_test(); function run_test() {
--- a/extensions/cookie/test/unit/test_eviction.js +++ b/extensions/cookie/test/unit/test_eviction.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ let test_generator = do_run_test(); function run_test() { do_test_pending(); do_run_generator(test_generator); }
--- a/extensions/cookie/test/unit/test_permmanager_expiration.js +++ b/extensions/cookie/test/unit/test_permmanager_expiration.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // Test that permissions with specific expiry times behave as expected. let test_generator = do_run_test(); function run_test() { do_test_pending(); test_generator.next();
--- a/extensions/cookie/test/unit/test_permmanager_notifications.js +++ b/extensions/cookie/test/unit/test_permmanager_notifications.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // Test that the permissionmanager 'added', 'changed', 'deleted', and 'cleared' // notifications behave as expected. let test_generator = do_run_test(); function run_test() { do_test_pending();
--- a/extensions/cookie/test/unit/test_permmanager_removeall.js +++ b/extensions/cookie/test/unit/test_permmanager_removeall.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ function run_test() { // setup a profile directory var dir = do_get_profile(); // initialize the permission manager service var pm = Cc["@mozilla.org/permissionmanager;1"]. getService(Ci.nsIPermissionManager);
--- a/extensions/cookie/test/unit/test_schema_2_migration.js +++ b/extensions/cookie/test/unit/test_schema_2_migration.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // Test cookie database migration from version 2 (Gecko 1.9.3) to the current // version, presently 4 (Gecko 2.0). let test_generator = do_run_test(); function run_test() { do_test_pending();
--- a/extensions/cookie/test/unit/test_schema_3_migration.js +++ b/extensions/cookie/test/unit/test_schema_3_migration.js @@ -1,11 +1,10 @@ /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ + http://creativecommons.org/publicdomain/zero/1.0/ */ // Test cookie database migration from version 3 (prerelease Gecko 2.0) to the // current version, presently 4 (Gecko 2.0). let test_generator = do_run_test(); function run_test() { do_test_pending();