diff --git a/doc/dev-guide-source/addon-development/firefox-compatibility.md b/doc/dev-guide-source/addon-development/firefox-compatibility.md index 64875a39f..8d537dcf5 100644 --- a/doc/dev-guide-source/addon-development/firefox-compatibility.md +++ b/doc/dev-guide-source/addon-development/firefox-compatibility.md @@ -1,3 +1,6 @@ + # Firefox Compatibility # diff --git a/doc/dev-guide-source/addon-development/implementing-simple-addon.md b/doc/dev-guide-source/addon-development/implementing-simple-addon.md index a4808d2b7..326173c96 100644 --- a/doc/dev-guide-source/addon-development/implementing-simple-addon.md +++ b/doc/dev-guide-source/addon-development/implementing-simple-addon.md @@ -1,3 +1,7 @@ + + # Implementing a Simple Add-on # This section of the tutorial takes you through the process of implementing, diff --git a/doc/dev-guide-source/addon-development/mobile.md b/doc/dev-guide-source/addon-development/mobile.md index 79abfcd80..a70745417 100644 --- a/doc/dev-guide-source/addon-development/mobile.md +++ b/doc/dev-guide-source/addon-development/mobile.md @@ -1,3 +1,7 @@ + +
Developing add-ons for Firefox Mobile is still an experimental feature of the SDK. Although the SDK modules used are stable, the setup instructions and cfx commands are likely to change. diff --git a/doc/dev-guide-source/addon-development/package-spec.md b/doc/dev-guide-source/addon-development/package-spec.md index 2ab217fbb..764725914 100644 --- a/doc/dev-guide-source/addon-development/package-spec.md +++ b/doc/dev-guide-source/addon-development/package-spec.md @@ -1,3 +1,7 @@ + + # Package Specification # A *package* is a directory that, at minimum, contains a JSON file diff --git a/doc/static-files/css/footer.css b/doc/static-files/css/footer.css index 65d220ce6..838783a4c 100644 --- a/doc/static-files/css/footer.css +++ b/doc/static-files/css/footer.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + #footer { clear: both; color: #476fbe; diff --git a/doc/static-files/css/sdk-docs.css b/doc/static-files/css/sdk-docs.css index c9ab306ad..d768902f0 100644 --- a/doc/static-files/css/sdk-docs.css +++ b/doc/static-files/css/sdk-docs.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + html, body { min-width: 570px; /* 2 x sidebar fullwidth + main-content padding */ height: 100%; diff --git a/examples/library-detector/README.md b/examples/library-detector/README.md index e222fdc4b..72285ac65 100755 --- a/examples/library-detector/README.md +++ b/examples/library-detector/README.md @@ -1,3 +1,7 @@ + + This is a port to the SDK of the [Library Detector add-on](https://addons.mozilla.org/en-US/firefox/addon/library-detector/). The original Library Detector is written by diff --git a/packages/addon-kit/docs/widget.md b/packages/addon-kit/docs/widget.md index 8c0fb47ce..dc9313451 100644 --- a/packages/addon-kit/docs/widget.md +++ b/packages/addon-kit/docs/widget.md @@ -1,3 +1,7 @@ + + diff --git a/packages/api-utils/data/worker.js b/packages/api-utils/data/worker.js index 41f9890ce..aba594d4a 100644 --- a/packages/api-utils/data/worker.js +++ b/packages/api-utils/data/worker.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + const ContentWorker = Object.freeze({ // TODO: Bug 727854 Use same implementation than common JS modules, // i.e. EventEmitter module diff --git a/packages/api-utils/tests/test-uuid.js b/packages/api-utils/tests/test-uuid.js index a9ceb0fc5..56700231e 100644 --- a/packages/api-utils/tests/test-uuid.js +++ b/packages/api-utils/tests/test-uuid.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; const { uuid } = require('api-utils/uuid'); diff --git a/python-lib/cuddlefish/docs/__init__.py b/python-lib/cuddlefish/docs/__init__.py index e69de29bb..5501cd4b3 100644 --- a/python-lib/cuddlefish/docs/__init__.py +++ b/python-lib/cuddlefish/docs/__init__.py @@ -0,0 +1,4 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + diff --git a/python-lib/cuddlefish/docs/webdocs.py b/python-lib/cuddlefish/docs/webdocs.py index 11a10a7b3..72f50be53 100644 --- a/python-lib/cuddlefish/docs/webdocs.py +++ b/python-lib/cuddlefish/docs/webdocs.py @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + import os, re, errno import markdown import cgi diff --git a/python-lib/cuddlefish/packaging.py b/python-lib/cuddlefish/packaging.py index 3137dc733..8f4c40ad1 100644 --- a/python-lib/cuddlefish/packaging.py +++ b/python-lib/cuddlefish/packaging.py @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + import os import sys import re diff --git a/python-lib/cuddlefish/templates.py b/python-lib/cuddlefish/templates.py index 2c34cf626..a04bb9a08 100644 --- a/python-lib/cuddlefish/templates.py +++ b/python-lib/cuddlefish/templates.py @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + #Template used by main.js MAIN_JS = '''\ const widgets = require("widget"); diff --git a/python-lib/cuddlefish/tests/bug-588119-files/packages/explicit-icon/lib/main.js b/python-lib/cuddlefish/tests/bug-588119-files/packages/explicit-icon/lib/main.js index e69de29bb..b7e0a1d5e 100644 --- a/python-lib/cuddlefish/tests/bug-588119-files/packages/explicit-icon/lib/main.js +++ b/python-lib/cuddlefish/tests/bug-588119-files/packages/explicit-icon/lib/main.js @@ -0,0 +1,4 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + diff --git a/python-lib/cuddlefish/tests/bug-588119-files/packages/implicit-icon/lib/main.js b/python-lib/cuddlefish/tests/bug-588119-files/packages/implicit-icon/lib/main.js index e69de29bb..b7e0a1d5e 100644 --- a/python-lib/cuddlefish/tests/bug-588119-files/packages/implicit-icon/lib/main.js +++ b/python-lib/cuddlefish/tests/bug-588119-files/packages/implicit-icon/lib/main.js @@ -0,0 +1,4 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + diff --git a/python-lib/cuddlefish/tests/bug-588119-files/packages/no-icon/lib/main.js b/python-lib/cuddlefish/tests/bug-588119-files/packages/no-icon/lib/main.js index e69de29bb..b7e0a1d5e 100644 --- a/python-lib/cuddlefish/tests/bug-588119-files/packages/no-icon/lib/main.js +++ b/python-lib/cuddlefish/tests/bug-588119-files/packages/no-icon/lib/main.js @@ -0,0 +1,4 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + diff --git a/python-lib/cuddlefish/tests/bug-588661-files/packages/bar/lib/bar-loader.js b/python-lib/cuddlefish/tests/bug-588661-files/packages/bar/lib/bar-loader.js index e69de29bb..b7e0a1d5e 100644 --- a/python-lib/cuddlefish/tests/bug-588661-files/packages/bar/lib/bar-loader.js +++ b/python-lib/cuddlefish/tests/bug-588661-files/packages/bar/lib/bar-loader.js @@ -0,0 +1,4 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + diff --git a/python-lib/cuddlefish/tests/bug-588661-files/packages/foo/lib/foo-loader.js b/python-lib/cuddlefish/tests/bug-588661-files/packages/foo/lib/foo-loader.js index e69de29bb..b7e0a1d5e 100644 --- a/python-lib/cuddlefish/tests/bug-588661-files/packages/foo/lib/foo-loader.js +++ b/python-lib/cuddlefish/tests/bug-588661-files/packages/foo/lib/foo-loader.js @@ -0,0 +1,4 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + diff --git a/python-lib/cuddlefish/tests/linker-files/three/tests/nontest.js b/python-lib/cuddlefish/tests/linker-files/three/tests/nontest.js index 48630b0fb..edbc08ef2 100644 --- a/python-lib/cuddlefish/tests/linker-files/three/tests/nontest.js +++ b/python-lib/cuddlefish/tests/linker-files/three/tests/nontest.js @@ -1 +1,5 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + // dummy diff --git a/python-lib/cuddlefish/tests/linker-files/three/tests/test-one.js b/python-lib/cuddlefish/tests/linker-files/three/tests/test-one.js index 48630b0fb..edbc08ef2 100644 --- a/python-lib/cuddlefish/tests/linker-files/three/tests/test-one.js +++ b/python-lib/cuddlefish/tests/linker-files/three/tests/test-one.js @@ -1 +1,5 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + // dummy diff --git a/python-lib/cuddlefish/tests/linker-files/three/tests/test-two.js b/python-lib/cuddlefish/tests/linker-files/three/tests/test-two.js index 48630b0fb..edbc08ef2 100644 --- a/python-lib/cuddlefish/tests/linker-files/three/tests/test-two.js +++ b/python-lib/cuddlefish/tests/linker-files/three/tests/test-two.js @@ -1 +1,5 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + // dummy diff --git a/python-lib/cuddlefish/tests/preferences-files/packages/no-prefs/lib/main.js b/python-lib/cuddlefish/tests/preferences-files/packages/no-prefs/lib/main.js index e69de29bb..b7e0a1d5e 100644 --- a/python-lib/cuddlefish/tests/preferences-files/packages/no-prefs/lib/main.js +++ b/python-lib/cuddlefish/tests/preferences-files/packages/no-prefs/lib/main.js @@ -0,0 +1,4 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + diff --git a/python-lib/cuddlefish/tests/preferences-files/packages/simple-prefs/lib/main.js b/python-lib/cuddlefish/tests/preferences-files/packages/simple-prefs/lib/main.js index e69de29bb..b7e0a1d5e 100644 --- a/python-lib/cuddlefish/tests/preferences-files/packages/simple-prefs/lib/main.js +++ b/python-lib/cuddlefish/tests/preferences-files/packages/simple-prefs/lib/main.js @@ -0,0 +1,4 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +