mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Bug 547031 - Improve async error handling in cookies. Part 7: Tweak license boilerplates. r=sdwilsh, a=betaN+
This commit is contained in:
parent
6f2f3bc827
commit
e3c3583539
@ -1,6 +1,5 @@
|
||||
/* 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");
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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");
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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);
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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)
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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.
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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.
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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.
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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();
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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.
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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.
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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).
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* 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).
|
||||
|
Loading…
Reference in New Issue
Block a user