Bug 1433178 p1 - Add public domain license headers to test files. r?kitcambridge
MozReview-Commit-ID: DpF5LpVU30k
--- 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______",