Bug 1380931 - Switch Intl.PluralRules tests to public domain. r?gerv draft
authorZibi Braniecki <zbraniecki@mozilla.com>
Fri, 14 Jul 2017 01:24:25 -0700
changeset 608874 034544d39d6e4e0080f3785d3d26b8cffea34a12
parent 607669 03bcd6d65af62c5e60a0ab9247ccce43885e707b
child 637437 e4835aad5f3c4cffcbf5fe851b863adc91062ae2
push id68431
push userbmo:gandalf@aviary.pl
push dateFri, 14 Jul 2017 08:24:41 +0000
reviewersgerv
bugs1380931
milestone56.0a1
Bug 1380931 - Switch Intl.PluralRules tests to public domain. r?gerv MozReview-Commit-ID: 33XHMMVhCz
js/src/tests/Intl/PluralRules/construct-newtarget.js
js/src/tests/Intl/PluralRules/pluralrules.js
js/src/tests/Intl/PluralRules/select.js
js/src/tests/Intl/PluralRules/supportedLocalesOf.js
--- a/js/src/tests/Intl/PluralRules/construct-newtarget.js
+++ b/js/src/tests/Intl/PluralRules/construct-newtarget.js
@@ -1,14 +1,10 @@
 // |reftest| skip-if(!this.hasOwnProperty("Intl")||!this.hasOwnProperty("addIntlExtras"))
 
-/* 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/. */
-
 addIntlExtras(Intl);
 
 // Test subclassing %Intl.PluralRules% works correctly.
 class MyPluralRules extends Intl.PluralRules {}
 
 var obj = new MyPluralRules();
 assertEq(obj instanceof MyPluralRules, true);
 assertEq(obj instanceof Intl.PluralRules, true);
--- a/js/src/tests/Intl/PluralRules/pluralrules.js
+++ b/js/src/tests/Intl/PluralRules/pluralrules.js
@@ -1,12 +1,9 @@
 // |reftest| skip-if(!this.hasOwnProperty("Intl")||!this.hasOwnProperty('addIntlExtras'))
-/* 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/. */
 
 // Tests the format function with a diverse set of locales and options.
 
 var pr;
 
 addIntlExtras(Intl);
 
 pr = new Intl.PluralRules("en-us");
--- a/js/src/tests/Intl/PluralRules/select.js
+++ b/js/src/tests/Intl/PluralRules/select.js
@@ -1,12 +1,9 @@
 // |reftest| skip-if(!this.hasOwnProperty('Intl')||!this.hasOwnProperty('addIntlExtras'))
-/* 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/. */
 
 // Tests the format function with a diverse set of locales and options.
 
 var pr;
 
 addIntlExtras(Intl);
 
 pr = new Intl.PluralRules("en-us");
--- a/js/src/tests/Intl/PluralRules/supportedLocalesOf.js
+++ b/js/src/tests/Intl/PluralRules/supportedLocalesOf.js
@@ -1,15 +1,11 @@
 // |reftest| skip-if(!this.hasOwnProperty('Intl')||!this.hasOwnProperty('addIntlExtras')||xulRuntime.shell)
 // -- test in browser only that ICU has locale data for all Mozilla languages
 
-/* 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 array contains the locales that ICU supports in
 // number formatting whose languages Mozilla localizes Firefox into.
 // Current as of ICU 50.1.2 and Firefox March 2013.
 var locales = [
     "af",
     "af-NA",
     "af-ZA",
     "ar",