-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dependency preamble building operations
This code only existed to allow 6 Test262 tests to run. INTERPRETING.md now disallows the use of "Test262-Defined Bindings" and "Host-Defined Functions" inside _FIXTURE.js files.
- Loading branch information
Showing
13 changed files
with
136 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
test/fixtures/fake-test262/test/language/module-code/instn-iee-bndng-const_FIXTURE.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
// Copyright (C) 2016 the V8 project authors. All rights reserved. | ||
// This code is governed by the BSD license found in the LICENSE file. | ||
|
||
export { x as y } from './instn-iee-bndng-const.js'; | ||
export { A as B } from './instn-iee-bndng-const.js'; | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ImportName: | ||
assert.throws(ReferenceError, function() { | ||
x; | ||
}); | ||
assert.sameValue(typeof x, 'undefined'); | ||
export const results = []; | ||
try { | ||
A; | ||
} catch (error) { | ||
results.push(error.name, typeof A); | ||
} | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ExportName: | ||
assert.throws(ReferenceError, function() { | ||
y; | ||
}); | ||
assert.sameValue(typeof y, 'undefined'); | ||
try { | ||
B; | ||
} catch (error) { | ||
results.push(error.name, typeof B); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
test/fixtures/fake-test262/test/language/module-code/instn-iee-bndng-fun_FIXTURE.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
// Copyright (C) 2016 the V8 project authors. All rights reserved. | ||
// This code is governed by the BSD license found in the LICENSE file. | ||
|
||
export { f as f2 } from './instn-iee-bndng-fun.js'; | ||
export { A as B } from './instn-iee-bndng-fun.js'; | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ImportName: | ||
assert.throws(ReferenceError, function() { | ||
f; | ||
}); | ||
assert.sameValue(typeof f, 'undefined'); | ||
export const results = []; | ||
try { | ||
A; | ||
} catch (error) { | ||
results.push(error.name, typeof A); | ||
} | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ExportName: | ||
assert.throws(ReferenceError, function() { | ||
f2; | ||
}); | ||
assert.sameValue(typeof f2, 'undefined'); | ||
try { | ||
B; | ||
} catch (error) { | ||
results.push(error.name, typeof B); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
test/fixtures/fake-test262/test/language/module-code/instn-iee-bndng-gen_FIXTURE.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
// Copyright (C) 2016 the V8 project authors. All rights reserved. | ||
// This code is governed by the BSD license found in the LICENSE file. | ||
|
||
export { g as g2 } from './instn-iee-bndng-gen.js'; | ||
export { A as B } from './instn-iee-bndng-gen.js'; | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ImportName: | ||
assert.throws(ReferenceError, function() { | ||
g; | ||
}); | ||
assert.sameValue(typeof g, 'undefined'); | ||
export const results = []; | ||
try { | ||
A; | ||
} catch (error) { | ||
results.push(error.name, typeof A); | ||
} | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ExportName: | ||
assert.throws(ReferenceError, function() { | ||
g2; | ||
}); | ||
assert.sameValue(typeof g2, 'undefined'); | ||
try { | ||
B; | ||
} catch (error) { | ||
results.push(error.name, typeof B); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
test/fixtures/fake-test262/test/language/module-code/instn-iee-bndng-let_FIXTURE.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
// Copyright (C) 2016 the V8 project authors. All rights reserved. | ||
// This code is governed by the BSD license found in the LICENSE file. | ||
|
||
export { x as y } from './instn-iee-bndng-let.js'; | ||
export { A as B } from './instn-iee-bndng-let.js'; | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ImportName: | ||
assert.throws(ReferenceError, function() { | ||
x; | ||
}); | ||
assert.sameValue(typeof x, 'undefined'); | ||
export const results = []; | ||
try { | ||
A; | ||
} catch (error) { | ||
results.push(error.name, typeof A); | ||
} | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ExportName: | ||
assert.throws(ReferenceError, function() { | ||
y; | ||
}); | ||
assert.sameValue(typeof y, 'undefined'); | ||
try { | ||
B; | ||
} catch (error) { | ||
results.push(error.name, typeof B); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
test/fixtures/fake-test262/test/language/module-code/instn-iee-bndng-var_FIXTURE.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
// Copyright (C) 2016 the V8 project authors. All rights reserved. | ||
// This code is governed by the BSD license found in the LICENSE file. | ||
|
||
export { x as y } from './instn-iee-bndng-var.js'; | ||
export { A as B } from './instn-iee-bndng-var.js'; | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ImportName: | ||
assert.throws(ReferenceError, function() { | ||
x; | ||
}); | ||
assert.sameValue(typeof x, 'undefined'); | ||
export const results = []; | ||
try { | ||
A; | ||
} catch (error) { | ||
results.push(error.name, typeof A); | ||
} | ||
|
||
// Taken together, the following two assertions demonstrate that there is no | ||
// entry in the environment record for ExportName: | ||
assert.throws(ReferenceError, function() { | ||
y; | ||
}); | ||
assert.sameValue(typeof y, 'undefined'); | ||
try { | ||
B; | ||
} catch (error) { | ||
results.push(error.name, typeof B); | ||
} |