mirror of
https://github.com/tc39/test262.git
synced 2025-07-06 21:54:41 +02:00
Merge pull request #3100 from tc39/rwaldron/remove-error-api-027
chore: migrate $ERROR -> throw new Test262Error in src/*
This commit is contained in:
commit
758ecd7895
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user