Permalink
Browse files

Upgrade license to MPL 2.

  • Loading branch information...
Gervase Markham
Gervase Markham committed Jan 10, 2012
1 parent bfd811c commit d83876c444c156d0bf119b6b50332c04a9529c58
Showing with 638 additions and 3,880 deletions.
  1. +4 −0 Makefile
  2. +4 −0 README.md
  3. +3 −34 bin/browserid
  4. +3 −34 bin/dbwriter
  5. +3 −34 bin/keysigner
  6. +3 −35 bin/load_gen
  7. +3 −35 bin/verifier
  8. +4 −0 docs/DEPLOYMENT.md
  9. +4 −0 docs/LOAD_GENERATION.md
  10. +4 −0 docs/ORGANIZATION.md
  11. +4 −0 example/primary/index.html
  12. +4 −0 example/primary/provision.html
  13. +4 −0 example/primary/sign_in.html
  14. +4 −0 example/rp/index.html
  15. +4 −0 resources/static/auth_with_idp/main.js
  16. +4 −0 resources/static/communication_iframe/start.js
  17. +4 −0 resources/static/css/common.css
  18. +4 −0 resources/static/css/m.css
  19. +4 −0 resources/static/css/style.css
  20. +3 −34 resources/static/dialog/controllers/actions.js
  21. +3 −34 resources/static/dialog/controllers/add_email.js
  22. +3 −34 resources/static/dialog/controllers/authenticate.js
  23. +3 −34 resources/static/dialog/controllers/check_registration.js
  24. +3 −34 resources/static/dialog/controllers/code_check.js
  25. +3 −34 resources/static/dialog/controllers/dialog.js
  26. +3 −34 resources/static/dialog/controllers/email_chosen.js
  27. +3 −34 resources/static/dialog/controllers/forgot_password.js
  28. +3 −34 resources/static/dialog/controllers/page.js
  29. +3 −34 resources/static/dialog/controllers/pick_email.js
  30. +3 −34 resources/static/dialog/controllers/primary_user_provisioned.js
  31. +3 −34 resources/static/dialog/controllers/provision_primary_user.js
  32. +3 −34 resources/static/dialog/controllers/required_email.js
  33. +3 −34 resources/static/dialog/controllers/set_password.js
  34. +3 −34 resources/static/dialog/controllers/verify_primary_user.js
  35. +4 −0 resources/static/dialog/css/m.css
  36. +4 −0 resources/static/dialog/css/popup.css
  37. +3 −34 resources/static/dialog/resources/helpers.js
  38. +3 −34 resources/static/dialog/resources/internal_api.js
  39. +3 −34 resources/static/dialog/resources/state_machine.js
  40. +4 −0 resources/static/dialog/start.js
  41. +4 −0 resources/static/dialog/views/add_email.ejs
  42. +4 −0 resources/static/dialog/views/authenticate.ejs
  43. +4 −0 resources/static/dialog/views/confirm_email.ejs
  44. +4 −0 resources/static/dialog/views/error.ejs
  45. +4 −0 resources/static/dialog/views/forgot_password.ejs
  46. +4 −0 resources/static/dialog/views/invalid_required_email.ejs
  47. +4 −0 resources/static/dialog/views/offline.ejs
  48. +4 −0 resources/static/dialog/views/pick_email.ejs
  49. +4 −0 resources/static/dialog/views/primary_user_verified.ejs
  50. +4 −0 resources/static/dialog/views/required_email.ejs
  51. +4 −0 resources/static/dialog/views/set_password.ejs
  52. +4 −0 resources/static/dialog/views/testBodyTemplate.ejs
  53. +4 −0 resources/static/dialog/views/tooltip.ejs
  54. +4 −0 resources/static/dialog/views/verify_primary_user.ejs
  55. +4 −0 resources/static/dialog/views/wait.ejs
  56. +3 −34 resources/static/include_js/include.js
  57. +3 −34 resources/static/pages/add_email_address.js
  58. +3 −34 resources/static/pages/forgot.js
  59. +3 −34 resources/static/pages/index.js
  60. +3 −34 resources/static/pages/manage_account.js
  61. +3 −34 resources/static/pages/page_helpers.js
  62. +3 −34 resources/static/pages/signin.js
  63. +3 −34 resources/static/pages/signup.js
  64. +3 −34 resources/static/pages/start.js
  65. +3 −34 resources/static/pages/verify_email_address.js
  66. +3 −34 resources/static/provisioning_api.js
  67. +4 −0 resources/static/relay/relay.js
  68. +3 −34 resources/static/shared/browser-support.js
  69. +3 −34 resources/static/shared/browserid.js
  70. +4 −0 resources/static/shared/class.js
  71. +4 −0 resources/static/shared/error-display.js
  72. +3 −34 resources/static/shared/error-messages.js
  73. +3 −34 resources/static/shared/helpers.js
  74. +3 −34 resources/static/shared/javascript-extensions.js
  75. +3 −34 resources/static/shared/mediator.js
  76. +3 −34 resources/static/shared/network.js
  77. +3 −34 resources/static/shared/provisioning.js
  78. +3 −34 resources/static/shared/renderer.js
  79. +4 −0 resources/static/shared/screens.js
  80. +3 −34 resources/static/shared/storage.js
  81. +4 −0 resources/static/shared/templates.js
  82. +3 −34 resources/static/shared/tooltip.js
  83. +3 −34 resources/static/shared/user.js
  84. +3 −34 resources/static/shared/validation.js
  85. +3 −34 resources/static/shared/wait-messages.js
  86. +4 −0 resources/static/test/index.html
  87. +4 −0 resources/static/test/phantomrunner.js
  88. +3 −34 resources/static/test/qunit/controllers/actions_unit_test.js
  89. +3 −34 resources/static/test/qunit/controllers/add_email_unit_test.js
  90. +3 −34 resources/static/test/qunit/controllers/authenticate_unit_test.js
  91. +3 −34 resources/static/test/qunit/controllers/check_registration_unit_test.js
  92. +3 −34 resources/static/test/qunit/controllers/code_check_unit_test.js
  93. +3 −34 resources/static/test/qunit/controllers/dialog_unit_test.js
  94. +3 −34 resources/static/test/qunit/controllers/email_chosen_unit_test.js
  95. +3 −34 resources/static/test/qunit/controllers/forgot_password_unit_test.js
  96. +3 −34 resources/static/test/qunit/controllers/page_unit_test.js
  97. +3 −34 resources/static/test/qunit/controllers/pick_email_unit_test.js
  98. +3 −34 resources/static/test/qunit/controllers/primary_user_provisioned_unit_test.js
  99. +3 −34 resources/static/test/qunit/controllers/provision_primary_user_unit_test.js
  100. +3 −34 resources/static/test/qunit/controllers/required_email_unit_test.js
  101. +3 −34 resources/static/test/qunit/controllers/set_password_unit_test.js
  102. +3 −34 resources/static/test/qunit/controllers/verify_primary_user_unit_test.js
  103. +4 −0 resources/static/test/qunit/dialog_test.js
  104. +3 −34 resources/static/test/qunit/include_unit_test.js
  105. +3 −34 resources/static/test/qunit/mocks/mocks.js
  106. +3 −34 resources/static/test/qunit/mocks/provisioning.js
  107. +4 −0 resources/static/test/qunit/mocks/templates.js
  108. +3 −34 resources/static/test/qunit/mocks/winchan.js
  109. +3 −34 resources/static/test/qunit/mocks/window.js
  110. +3 −34 resources/static/test/qunit/mocks/xhr.js
  111. +3 −34 resources/static/test/qunit/pages/add_email_address_test.js
  112. +3 −34 resources/static/test/qunit/pages/browserid_unit_test.js
  113. +3 −34 resources/static/test/qunit/pages/forgot_unit_test.js
  114. +3 −34 resources/static/test/qunit/pages/manage_account_unit_test.js
  115. +3 −34 resources/static/test/qunit/pages/page_helpers_unit_test.js
  116. +3 −34 resources/static/test/qunit/pages/signin_unit_test.js
  117. +3 −34 resources/static/test/qunit/pages/signup_unit_test.js
  118. +3 −34 resources/static/test/qunit/pages/verify_email_address_test.js
  119. +3 −34 resources/static/test/qunit/resources/helpers_unit_test.js
  120. +3 −34 resources/static/test/qunit/resources/internal_api_unit_test.js
  121. +3 −34 resources/static/test/qunit/resources/state_machine_unit_test.js
  122. +3 −34 resources/static/test/qunit/shared/browser-support_unit_test.js
  123. +3 −34 resources/static/test/qunit/shared/class_unit_test.js
  124. +3 −34 resources/static/test/qunit/shared/error-display_unit_test.js
  125. +3 −34 resources/static/test/qunit/shared/helpers_unit_test.js
  126. +3 −34 resources/static/test/qunit/shared/network_unit_test.js
  127. +3 −34 resources/static/test/qunit/shared/renderer_unit_test.js
  128. +3 −34 resources/static/test/qunit/shared/screens_unit_test.js
  129. +3 −34 resources/static/test/qunit/shared/storage_unit_test.js
  130. +3 −34 resources/static/test/qunit/shared/tooltip_unit_test.js
  131. +3 −34 resources/static/test/qunit/shared/user_unit_test.js
  132. +3 −34 resources/static/test/qunit/shared/validation_unit_test.js
  133. +4 −0 resources/static/test/qunit/testHelpers/helpers.js
  134. +4 −0 resources/views/about.ejs
  135. +4 −0 resources/views/add_email_address.ejs
  136. +4 −0 resources/views/authenticate_with_primary.ejs
  137. +4 −0 resources/views/communication_iframe.ejs
  138. +4 −0 resources/views/dialog.ejs
  139. +4 −0 resources/views/dialog_layout.ejs
  140. +4 −0 resources/views/forgot.ejs
  141. +4 −0 resources/views/idp_auth_complete.ejs
  142. +4 −0 resources/views/index.ejs
  143. +4 −0 resources/views/layout.ejs
  144. +4 −0 resources/views/privacy.ejs
  145. +4 −0 resources/views/relay.ejs
  146. +4 −0 resources/views/signin.ejs
  147. +4 −0 resources/views/signup.ejs
  148. +4 −0 resources/views/unsupported_dialog.ejs
  149. +4 −0 resources/views/verify_email_address.ejs
  150. +4 −0 scripts/assign_issues.js
  151. +4 −0 scripts/branch_train.sh
  152. +4 −0 scripts/check_primary_support
  153. +4 −0 scripts/cleanup_compress.sh
  154. +4 −0 scripts/compress.sh
  155. +3 −35 scripts/create_account.js
  156. +4 −0 scripts/create_templates.js
  157. +4 −0 scripts/generate_ephemeral_keys.sh
  158. +4 −0 scripts/hash_password.js
  159. +4 −0 scripts/merge_train.sh
  160. +4 −0 scripts/rpmbuild.sh
  161. +4 −0 scripts/run_all_tests.sh
  162. +4 −0 scripts/run_locally.js
  163. +4 −0 scripts/serve_example.js
  164. +4 −0 scripts/serve_example_primary.js
  165. +4 −0 scripts/test_db_connectivity.js
  166. +3 −34 tests/add-email-with-assertion-test.js
  167. +3 −34 tests/auth-with-assertion-test.js
  168. +3 −34 tests/ca-test.js
  169. +3 −34 tests/cert-emails-test.js
  170. +3 −34 tests/cookie-session-security-test.js
  171. +3 −34 tests/db-test.js
  172. +3 −34 tests/email-throttling-test.js
  173. +3 −34 tests/forgotten-email-test.js
  174. +4 −0 tests/lib/primary.js
  175. +3 −34 tests/lib/start-stop.js
  176. +3 −35 tests/lib/test_env.js
  177. +3 −34 tests/lib/wsapi.js
  178. +3 −34 tests/list-emails-wsapi-test.js
  179. +3 −34 tests/page-requests-test.js
  180. +3 −34 tests/password-bcrypt-update-test.js
  181. +3 −34 tests/password-length-test.js
  182. +3 −34 tests/password-update-test.js
  183. +3 −34 tests/post-limiting-test.js
  184. +3 −34 tests/primary-then-secondary-test.js
  185. +3 −34 tests/registration-status-wsapi-test.js
  186. +3 −34 tests/secrets-test.js
  187. +3 −34 tests/two-level-auth-test.js
  188. +3 −34 tests/verifier-test.js
View
@@ -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/.
+
clean:
rm -rf node_modules rpmbuild
View
@@ -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/. -->
+
Here lives the [BrowserID] implementation. BrowserID is an implementation of the
[verified email protocol].
View
@@ -1,39 +1,8 @@
#!/usr/bin/env node
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is Mozilla BrowserID.
- *
- * The Initial Developer of the Original Code is Mozilla.
- * Portions created by the Initial Developer are Copyright (C) 2011
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* 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
fs = require('fs'),
View
@@ -1,39 +1,8 @@
#!/usr/bin/env node
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is Mozilla BrowserID.
- *
- * The Initial Developer of the Original Code is Mozilla.
- * Portions created by the Initial Developer are Copyright (C) 2011
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* 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
fs = require('fs'),
View
@@ -1,39 +1,8 @@
#!/usr/bin/env node
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is Mozilla BrowserID.
- *
- * The Initial Developer of the Original Code is Mozilla.
- * Portions created by the Initial Developer are Copyright (C) 2011
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* 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/. */
// I sign keys. That's what I do.
View
@@ -1,40 +1,8 @@
#!/usr/bin/env node
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is Mozilla BrowserID.
- *
- * The Initial Developer of the Original Code is Mozilla.
- * Portions created by the Initial Developer are Copyright (C) 2011
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Lloyd Hilaiel <lloyd@hilaiel.com>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* 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/. */
/* This file is the main run file for the browserid load generation
* tool, which is capable of analysing the maximum active users that
View
@@ -1,40 +1,8 @@
#!/usr/bin/env node
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is Mozilla BrowserID.
- *
- * The Initial Developer of the Original Code is Mozilla.
- * Portions created by the Initial Developer are Copyright (C) 2011
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Brian J Brennan <brian@nyhacker.org>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* 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
util = require("util"),
View
@@ -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/. -->
+
## How to deploy BrowserID
This describes how to take the code here, put it on a server, and build
View
@@ -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/. -->
+
This directory contains a standalone tool that analyzes the capacity of a browserid
server. The tool is run from the command line, applies load to the target server,
and outputs the number of "active users" it is simulating at the moment.
View
@@ -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/. -->
+
Several node.js servers are implemented in this repostiory, each is
implemented on top of the [express](http://expressjs.com) framework
and should obey roughly the following directory structure:
@@ -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/. -->
+
<!DOCTYPE html>
<html>
<head>
@@ -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/. -->
+
<!DOCTYPE html>
<html>
<head>
@@ -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/. -->
+
<!DOCTYPE html>
<html>
<head>
View
@@ -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/. -->
+
<!DOCTYPE html>
<html>
<head>
@@ -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/. */
+
var wc = WinChan.onOpen(function(origin, args, cb) {
if (window.location.hash === '#complete') cb();
else {
@@ -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/. */
+
(function() {
var chan = Channel.build({
window: window.parent,
@@ -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/. */
+
* {
margin: 0;
padding: 0;
@@ -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/. */
+
@media screen and (max-width: 640px) {
#wrapper {
width: 320px;
@@ -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/. */
+
noscript {
position: fixed;
@@ -1,39 +1,8 @@
/*jshint browser:true, jQuery: true, forin: true, laxbreak:true */
/*global _: true, BrowserID: true, PageController: true */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is Mozilla BrowserID.
- *
- * The Initial Developer of the Original Code is Mozilla.
- * Portions created by the Initial Developer are Copyright (C) 2011
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* 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/. */
BrowserID.Modules.Actions = (function() {
"use strict";
Oops, something went wrong.

0 comments on commit d83876c

Please sign in to comment.