mirror of
https://github.com/tc39/test262.git
synced 2025-07-28 08:24:23 +02:00
chore: migrate $ERROR -> throw new Test262Error in src/*
This commit is contained in:
parent
f37edcb486
commit
4bdba71130
@ -12,7 +12,7 @@ template: default
|
||||
let x, setValue;
|
||||
x = {
|
||||
get y() {
|
||||
$ERROR('The property should not be accessed.');
|
||||
throw new Test262Error('The property should not be accessed.');
|
||||
},
|
||||
set y(val) {
|
||||
setValue = val;
|
||||
|
@ -13,7 +13,7 @@ es6id: 12.14.5.3
|
||||
let setValue;
|
||||
let x = {
|
||||
get y() {
|
||||
$ERROR('The property should not be accessed.');
|
||||
throw new Test262Error('The property should not be accessed.');
|
||||
},
|
||||
set y(val) {
|
||||
setValue = val;
|
||||
|
@ -13,7 +13,7 @@ es6id: 12.14.5.4
|
||||
let setValue;
|
||||
let x = {
|
||||
get y() {
|
||||
$ERROR('The property should not be accessed.');
|
||||
throw new Test262Error('The property should not be accessed.');
|
||||
},
|
||||
set y(val) {
|
||||
setValue = val;
|
||||
|
@ -13,7 +13,7 @@ es6id: 12.14.5.3
|
||||
var x, setValue;
|
||||
x = {
|
||||
get y() {
|
||||
$ERROR('The property should not be accessed.');
|
||||
throw new Test262Error('The property should not be accessed.');
|
||||
},
|
||||
set y(val) {
|
||||
setValue = val;
|
||||
|
@ -13,7 +13,7 @@ es6id: 12.14.5.3
|
||||
var setValue;
|
||||
var x = {
|
||||
get y() {
|
||||
$ERROR('The property should not be accessed.');
|
||||
throw new Test262Error('The property should not be accessed.');
|
||||
},
|
||||
set y(val) {
|
||||
setValue = val;
|
||||
|
@ -13,7 +13,7 @@ es6id: 12.14.5.4
|
||||
var setValue;
|
||||
var x = {
|
||||
get y() {
|
||||
$ERROR('The property should not be accessed.');
|
||||
throw new Test262Error('The property should not be accessed.');
|
||||
},
|
||||
set y(val) {
|
||||
setValue = val;
|
||||
|
Loading…
x
Reference in New Issue
Block a user