Bug 1433178 p1 - Add public domain license headers to test files. r?kitcambridge draft
authorEdouard Oger <eoger@fastmail.com>
Wed, 28 Feb 2018 12:38:34 -0500
changeset 762046 99a97938aecb675cfdc3ea944e81d609977f065f
parent 762045 40ba247350dad945cccd29680ee53d578c006420
child 762047 7c14371efc73f51562a847cf5bbe056b4fce462a
push id101062
push userbmo:eoger@fastmail.com
push dateThu, 01 Mar 2018 18:27:01 +0000
reviewerskitcambridge
bugs1433178
milestone60.0a1
Bug 1433178 p1 - Add public domain license headers to test files. r?kitcambridge MozReview-Commit-ID: DpF5LpVU30k
toolkit/components/places/tests/sync/test_bookmark_corruption.js
toolkit/components/places/tests/sync/test_bookmark_deduping.js
toolkit/components/places/tests/sync/test_bookmark_deletion.js
toolkit/components/places/tests/sync/test_bookmark_haschanges.js
toolkit/components/places/tests/sync/test_bookmark_kinds.js
toolkit/components/places/tests/sync/test_bookmark_structure_changes.js
toolkit/components/places/tests/sync/test_bookmark_value_changes.js
--- a/toolkit/components/places/tests/sync/test_bookmark_corruption.js
+++ b/toolkit/components/places/tests/sync/test_bookmark_corruption.js
@@ -1,8 +1,11 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
 add_task(async function test_missing_children() {
   let buf = await openMirror("missing_childen");
 
   info("Set up empty mirror");
   await PlacesTestUtils.markBookmarksAsSynced();
 
   info("Make remote changes: A > ([B] C [D E])");
   {
--- a/toolkit/components/places/tests/sync/test_bookmark_deduping.js
+++ b/toolkit/components/places/tests/sync/test_bookmark_deduping.js
@@ -1,8 +1,11 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
 add_task(async function test_duping() {
   let buf = await openMirror("duping");
 
   info("Set up mirror");
   await PlacesUtils.bookmarks.insertTree({
     guid: PlacesUtils.bookmarks.menuGuid,
     children: [{
       // Shouldn't dupe to `folderA11111` because its sync status is "NORMAL".
--- a/toolkit/components/places/tests/sync/test_bookmark_deletion.js
+++ b/toolkit/components/places/tests/sync/test_bookmark_deletion.js
@@ -1,8 +1,11 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
 add_task(async function test_complex_orphaning() {
   let buf = await openMirror("complex_orphaning");
 
   // On iOS, the mirror exists as a separate table. On Desktop, we have a
   // shadow mirror of synced local bookmarks without new changes.
   info("Set up mirror: ((Toolbar > A > B) (Menu > G > C > D))");
   await PlacesUtils.bookmarks.insertTree({
     guid: PlacesUtils.bookmarks.toolbarGuid,
--- a/toolkit/components/places/tests/sync/test_bookmark_haschanges.js
+++ b/toolkit/components/places/tests/sync/test_bookmark_haschanges.js
@@ -1,8 +1,11 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
 add_task(async function test_no_changes() {
   let buf = await openMirror("nochanges");
 
   await PlacesUtils.bookmarks.insertTree({
     guid: PlacesUtils.bookmarks.menuGuid,
     children: [{
       guid: "mozBmk______",
       url: "https://mozilla.org",
--- a/toolkit/components/places/tests/sync/test_bookmark_kinds.js
+++ b/toolkit/components/places/tests/sync/test_bookmark_kinds.js
@@ -1,8 +1,11 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
 add_task(async function test_livemarks() {
   let { site, stopServer } = makeLivemarkServer();
 
   try {
     let buf = await openMirror("livemarks");
 
     info("Set up mirror");
     await PlacesUtils.bookmarks.insertTree({
--- a/toolkit/components/places/tests/sync/test_bookmark_structure_changes.js
+++ b/toolkit/components/places/tests/sync/test_bookmark_structure_changes.js
@@ -1,8 +1,11 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
 add_task(async function test_value_structure_conflict() {
   let buf = await openMirror("value_structure_conflict");
 
   info("Set up mirror");
   await PlacesUtils.bookmarks.insertTree({
     guid: PlacesUtils.bookmarks.menuGuid,
     children: [{
       guid: "folderAAAAAA",
--- a/toolkit/components/places/tests/sync/test_bookmark_value_changes.js
+++ b/toolkit/components/places/tests/sync/test_bookmark_value_changes.js
@@ -1,8 +1,11 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
 add_task(async function test_value_combo() {
   let buf = await openMirror("value_combo");
 
   info("Set up mirror with existing bookmark to update");
   await PlacesUtils.bookmarks.insertTree({
     guid: PlacesUtils.bookmarks.menuGuid,
     children: [{
       guid: "mozBmk______",