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;
|
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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user