Remove links to hg.ecmascript.org (non-license content)

This commit is contained in:
André Bargull 2015-07-17 17:43:27 +02:00
parent a85f5039e0
commit d38de8dca7
2 changed files with 4 additions and 7 deletions

View File

@ -10,10 +10,7 @@ import codecs
#--Globals--------------------------------------------------------------------- #--Globals---------------------------------------------------------------------
ECMA_LICENSE = '''/// Copyright (c) 2012 Ecma International. All rights reserved. ECMA_LICENSE = '''/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set /// This code is governed by the BSD license found in the LICENSE file.
/// 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.
''' '''
NEW_LICENSE_FIRST_LINE = re.compile(r"Copyright\s+\(c\)\s+20[0-9][0-9]\s+Ecma\s+International") NEW_LICENSE_FIRST_LINE = re.compile(r"Copyright\s+\(c\)\s+20[0-9][0-9]\s+Ecma\s+International")

View File

@ -206,8 +206,8 @@ function Presenter() {
innerHTML += '<br /><b>Path</b>'; innerHTML += '<br /><b>Path</b>';
innerHTML += '<pre>' + test.path + '</pre>'; innerHTML += '<pre>' + test.path + '</pre>';
innerHTML += '<br /><a href="javascript:void(window.open(\'http://hg.ecmascript.org/tests/test262/file/tip/test/suite' innerHTML += '<br /><a href="javascript:void(window.open(\'https://github.com/tc39/test262/raw/master/test'
innerHTML += test.path.replace("TestCases", "") + '\'));">' + 'Hg source' + '</a> (might be newer than the testcase source shown above)\n' innerHTML += test.path.replace("TestCases", "") + '\'));">' + 'GitHub source' + '</a> (might be newer than the testcase source shown above)\n'
popWnd.document.write(innerHTML); popWnd.document.write(innerHTML);
} }
@ -222,7 +222,7 @@ function Presenter() {
bugDetails += "DESCRIPTION\n*Please insert your description here!*\n\n"; bugDetails += "DESCRIPTION\n*Please insert your description here!*\n\n";
bugDetails += "------------------\n"; bugDetails += "------------------\n";
bugDetails += "TEST: " + test.path + "\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 += "TEST SUITE DATE: " + date + "\n";
bugDetails += "PLATFORM: " + navigator.userAgent + "\n"; bugDetails += "PLATFORM: " + navigator.userAgent + "\n";
bugDetails += "ERROR: " + test.error + "\n\n"; bugDetails += "ERROR: " + test.error + "\n\n";