Bug 1380931 - Switch Intl.PluralRules tests to public domain. r=till
authorZibi Braniecki <zbraniecki@mozilla.com>
Fri, 14 Jul 2017 01:24:25 -0700
changeset 369517 c4735d730462920d02a9a919d634c4de9ece7163
parent 369516 58f0d7cf815080b7991a5c36f241a24753e8d333
child 369518 39e9b0e7ae0447a9dfc7275d1b07cd710767f4ac
push id46720
push userzbraniecki@mozilla.com
push dateWed, 19 Jul 2017 01:40:09 +0000
treeherderautoland@c4735d730462 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstill
bugs1380931
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1380931 - Switch Intl.PluralRules tests to public domain. r=till 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",