From d38de8dca77f149973676b39a4442e7e0883914f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Fri, 17 Jul 2015 17:43:27 +0200 Subject: [PATCH] Remove links to hg.ecmascript.org (non-license content) --- tools/misc/FixLicenseHeader.py | 5 +---- website/scripts/helper.js | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/tools/misc/FixLicenseHeader.py b/tools/misc/FixLicenseHeader.py index 67ce897dd3..22135eaa80 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 2e28eb293b..ed9ce234d8 100644 --- a/website/scripts/helper.js +++ b/website/scripts/helper.js @@ -206,8 +206,8 @@ function Presenter() { innerHTML += '
Path'; innerHTML += '
' + test.path + '
'; - innerHTML += '
' + 'Hg source' + ' (might be newer than the testcase source shown above)\n' + innerHTML += '
' + 'GitHub source' + ' (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";