diff --git a/tools/misc/FixLicenseHeader.py b/tools/misc/FixLicenseHeader.py index 67ce897dd3549ec8d715a74cabfab930301e05cf..22135eaa80a2572c76a0dff1aca071e71ebebe17 100644 --- a/tools/misc/FixLicenseHeader.py +++ b/tools/misc/FixLicenseHeader.py @@ -10,10 +10,7 @@ import codecs #--Globals--------------------------------------------------------------------- ECMA_LICENSE = '''/// Copyright (c) 2012 Ecma International. All rights reserved. -/// Ecma International makes this code available under the terms and conditions set -/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the -/// "Use Terms"). Any redistribution of this code must retain the above -/// copyright and this notice and otherwise comply with the Use Terms. +/// This code is governed by the BSD license found in the LICENSE file. ''' NEW_LICENSE_FIRST_LINE = re.compile(r"Copyright\s+\(c\)\s+20[0-9][0-9]\s+Ecma\s+International") diff --git a/website/scripts/helper.js b/website/scripts/helper.js index 2e28eb293b6d13e5d01fbbaf50ed85b5efc77586..ed9ce234d8c9cfb75ef53032aa3f9439cb2b0c0b 100644 --- a/website/scripts/helper.js +++ b/website/scripts/helper.js @@ -206,8 +206,8 @@ function Presenter() { innerHTML += '<br /><b>Path</b>'; innerHTML += '<pre>' + test.path + '</pre>'; - innerHTML += '<br /><a href="javascript:void(window.open(\'http://hg.ecmascript.org/tests/test262/file/tip/test/suite' - innerHTML += test.path.replace("TestCases", "") + '\'));">' + 'Hg source' + '</a> (might be newer than the testcase source shown above)\n' + innerHTML += '<br /><a href="javascript:void(window.open(\'https://github.com/tc39/test262/raw/master/test' + innerHTML += test.path.replace("TestCases", "") + '\'));">' + 'GitHub source' + '</a> (might be newer than the testcase source shown above)\n' popWnd.document.write(innerHTML); } @@ -222,7 +222,7 @@ function Presenter() { bugDetails += "DESCRIPTION\n*Please insert your description here!*\n\n"; bugDetails += "------------------\n"; bugDetails += "TEST: " + test.path + "\n"; - bugDetails += "SOURCE: http://hg.ecmascript.org/tests/test262/file/tip/test/suite" + test.path.replace("TestCases", "") + "\n"; + bugDetails += "SOURCE: https://github.com/tc39/test262/raw/master/test" + test.path.replace("TestCases", "") + "\n"; bugDetails += "TEST SUITE DATE: " + date + "\n"; bugDetails += "PLATFORM: " + navigator.userAgent + "\n"; bugDetails += "ERROR: " + test.error + "\n\n";