Merge pull request #3100 from tc39/rwaldron/remove-error-api-027

chore: migrate $ERROR -> throw new Test262Error in src/*
This commit is contained in:
Leo Balter 2021-07-28 13:42:42 -07:00 committed by GitHub
commit 758ecd7895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 18 additions and 18 deletions

View File

@ -12,7 +12,7 @@ template: default
let x, setValue; let x, setValue;
x = { x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -13,7 +13,7 @@ es6id: 12.14.5.3
let setValue; let setValue;
let x = { let x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -13,7 +13,7 @@ es6id: 12.14.5.4
let setValue; let setValue;
let x = { let x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -13,7 +13,7 @@ es6id: 12.14.5.3
var x, setValue; var x, setValue;
x = { x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -13,7 +13,7 @@ es6id: 12.14.5.3
var setValue; var setValue;
var x = { var x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -13,7 +13,7 @@ es6id: 12.14.5.4
var setValue; var setValue;
var x = { var x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -18,7 +18,7 @@ info: |
var x, setValue; var x, setValue;
x = { x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -18,7 +18,7 @@ info: |
var setValue; var setValue;
var x = { var x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -18,7 +18,7 @@ info: |
var setValue; var setValue;
var x = { var x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -27,7 +27,7 @@ info: |
let x, setValue; let x, setValue;
x = { x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -27,7 +27,7 @@ info: |
let setValue; let setValue;
let x = { let x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -27,7 +27,7 @@ info: |
let setValue; let setValue;
let x = { let x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -27,7 +27,7 @@ info: |
let x, setValue; let x, setValue;
x = { x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -27,7 +27,7 @@ info: |
let setValue; let setValue;
let x = { let x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -27,7 +27,7 @@ info: |
let setValue; let setValue;
let x = { let x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -27,7 +27,7 @@ info: |
var x, setValue; var x, setValue;
x = { x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -27,7 +27,7 @@ info: |
var setValue; var setValue;
var x = { var x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;

View File

@ -27,7 +27,7 @@ info: |
var setValue; var setValue;
var x = { var x = {
get y() { get y() {
$ERROR('The property should not be accessed.'); throw new Test262Error('The property should not be accessed.');
}, },
set y(val) { set y(val) {
setValue = val; setValue = val;