mirror of https://github.com/tc39/test262.git
Remove links to hg.ecmascript.org (non-license content)
This commit is contained in:
parent
a85f5039e0
commit
d38de8dca7
|
@ -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")
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue