| 11.4.1-0-1.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-0-1
description: delete operator as UnaryExpression
flags: [noStrict]
--- |
600 |
- |
| 11.4.1-2-1.js |
---
es5id: 11.4.1-2-1
description: delete operator returns true when deleting a non-reference (number)
--- |
302 |
- |
| 11.4.1-2-2.js |
---
es5id: 11.4.1-2-2
description: >
delete operator returns true when deleting returned value from a
function
--- |
450 |
- |
| 11.4.1-2-3.js |
---
es5id: 11.4.1-2-3
description: >
delete operator returns true when deleting a non-reference
(boolean)
--- |
315 |
- |
| 11.4.1-2-4.js |
---
es5id: 11.4.1-2-4
description: delete operator returns true when deleting a non-reference (string)
--- |
305 |
- |
| 11.4.1-2-5.js |
---
es5id: 11.4.1-2-5
description: delete operator returns true when deleting a non-reference (obj)
--- |
303 |
- |
| 11.4.1-2-6.js |
---
es5id: 11.4.1-2-6
description: delete operator returns true when deleting a non-reference (null)
--- |
302 |
- |
| 11.4.1-3-1.js |
---
es5id: 11.4.1-3-1
description: >
delete operator returns true when deleting an unresolvable
reference
flags: [noStrict]
--- |
426 |
- |
| 11.4.1-3-2.js |
---
es5id: 11.4.1-3-2
description: >
delete operator throws ReferenceError when deleting an explicitly
qualified yet unresolvable reference (base obj undefined)
--- |
481 |
- |
| 11.4.1-3-3.js |
---
es5id: 11.4.1-3-3
description: >
delete operator returns true when deleting an explicitly qualified
yet unresolvable reference (property undefined for base obj)
--- |
477 |
- |
| 11.4.1-4-a-1-s.js |
---
es5id: 11.4.1-4-a-1-s
description: >
Strict Mode - TypeError is thrown when deleting non-configurable
data property
flags: [onlyStrict]
--- |
548 |
- |
| 11.4.1-4-a-2-s.js |
---
es5id: 11.4.1-4-a-2-s
description: >
Strict Mode - TypeError is thrown when deleting non-configurable
accessor property
flags: [onlyStrict]
--- |
603 |
- |
| 11.4.1-4-a-3-s.js |
---
es5id: 11.4.1-4-a-3-s
description: >
TypeError isn't thrown when deleting configurable data property
--- |
500 |
- |
| 11.4.1-4-a-4-s.js |
---
es5id: 11.4.1-4-a-4-s
description: >
TypeError isn't thrown when deleting configurable accessor property
--- |
555 |
- |
| 11.4.1-4.a-1.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-1
description: >
delete operator returns true when deleting a configurable data
property
--- |
684 |
- |
| 11.4.1-4.a-2.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-2
description: >
delete operator returns true when deleting a configurable accessor
property
--- |
778 |
- |
| 11.4.1-4.a-3-s.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-3-s
description: >
delete operator throws TypeError when deleting a non-configurable
data property in strict mode
flags: [onlyStrict]
--- |
768 |
- |
| 11.4.1-4.a-3.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-3
description: >
delete operator returns false when deleting a non-configurable
data property
flags: [noStrict]
--- |
830 |
- |
| 11.4.1-4.a-4.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-4
description: >
delete operator returns false when deleting a non-configurable
data property (NaN)
flags: [noStrict]
--- |
586 |
- |
| 11.4.1-4.a-5.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-5
description: >
delete operator returns false when deleting the declaration of the environment object
inside 'with'
flags: [noStrict]
--- |
734 |
- |
| 11.4.1-4.a-6.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-6
description: delete operator returns true when deleting a property inside 'with'
flags: [noStrict]
--- |
604 |
- |
| 11.4.1-4.a-7.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-7
description: delete operator inside 'eval'
flags: [noStrict]
--- |
557 |
- |
| 11.4.1-4.a-8-s.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-8-s
description: >
delete operator throws TypeError when deleting a non-configurable
data property in strict mode
flags: [onlyStrict]
--- |
630 |
- |
| 11.4.1-4.a-8.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-8
description: delete operator returns true for built-in objects (JSON)
flags: [noStrict]
--- |
493 |
- |
| 11.4.1-4.a-9-s.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-9-s
description: >
delete operator throws TypeError when deleting a non-configurable
data property (Math.LN2) in strict mode
flags: [onlyStrict]
--- |
566 |
- |
| 11.4.1-4.a-9.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-9
description: >
delete operator returns false when deleting a non-configurable
data property (Math.LN2)
flags: [noStrict]
--- |
541 |
- |
| 11.4.1-4.a-10.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-10
description: >
delete operator returns true for property (stringify) defined on
built-in object (JSON)
--- |
590 |
- |
| 11.4.1-4.a-11.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-11
description: >
delete operator returns true on deleting arguments
propterties(arguments.callee)
flags: [noStrict]
--- |
717 |
- |
| 11.4.1-4.a-12.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-12
description: delete operator returns false when deleting a property(length)
flags: [noStrict]
--- |
579 |
- |
| 11.4.1-4.a-13.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-13
description: delete operator returns false when deleting Array object
flags: [noStrict]
--- |
629 |
- |
| 11.4.1-4.a-14.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-14
description: delete operator returns true when deleting Array elements
--- |
551 |
- |
| 11.4.1-4.a-15.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-15
description: delete operator returns true when deleting Array expandos
--- |
549 |
- |
| 11.4.1-4.a-16.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-16
description: delete operator returns false on deleting arguments object
flags: [noStrict]
--- |
602 |
- |
| 11.4.1-4.a-17.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.1-4.a-17
description: delete operator returns true on deleting a arguments element
--- |
591 |
- |
| 11.4.1-5-1.js |
---
es5id: 11.4.1-5-1
description: >
delete operator returns false when deleting a direct reference to
a var
flags: [noStrict]
--- |
463 |
- |
| 11.4.1-5-2.js |
---
es5id: 11.4.1-5-2
description: >
delete operator returns false when deleting a direct reference to
a function argument
flags: [noStrict]
--- |
531 |
- |
| 11.4.1-5-3.js |
---
es5id: 11.4.1-5-3
description: >
delete operator returns false when deleting a direct reference to
a function name
flags: [noStrict]
--- |
517 |
- |
| 11.4.1-5-a-5gs.js |
---
es5id: 11.4.1-5-a-5gs
description: >
Strict Mode - SyntaxError is thrown when deleting a variable which
is primitive type(boolean)
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
449 |
- |
| 11.4.1-5-a-27-s.js |
---
es5id: 11.4.1-5-a-27-s
description: >
Strict Mode - TypeError is thrown after deleting a property,
calling preventExtensions, and attempting to reassign the property
flags: [onlyStrict]
--- |
508 |
- |
| 11.4.1-5-a-28-s.js |
---
es5id: 11.4.1-5-a-28-s
description: Strict Mode - TypeError is not thrown when deleting RegExp.length
--- |
311 |
- |
| 11.4.4-4.a-3-s.js |
---
info: |
This test is actually testing the [[Delete]] internal method (8.12.8). Since the
language provides no way to directly exercise [[Delete]], the tests are placed here.
es5id: 11.4.4-4.a-3-s
description: >
delete operator throws TypeError when deleting a non-configurable
data property in strict mode
flags: [onlyStrict]
--- |
768 |
- |
| identifier-strict.js |
---
esid: sec-delete-operator-static-semantics-early-errors
description: Parsing error when operand is an IdentifierReference
info: |
It is a Syntax Error if the UnaryExpression is contained in strict mode code
and the derived UnaryExpression is PrimaryExpression:IdentifierReference.
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
577 |
- |
| S8.12.7_A1.js |
---
info: |
When the [[Delete]] method of O is called with property name P,
and If the property has the DontDelete attribute, return false
es5id: 8.12.7_A1
description: Try to delete Math.E, that has the DontDelete attribute
flags: [noStrict]
--- |
921 |
- |
| S8.12.7_A2_T1.js |
---
info: |
When the [[Delete]] method of O is called with property name P,
and if O doesn't have a property with name P, return true
es5id: 8.12.7_A2_T1
description: Try to delete not existent properties
--- |
1402 |
- |
| S8.12.7_A2_T2.js |
---
info: |
When the [[Delete]] method of O is called with property name P,
and if O doesn't have a property with name P, return true
es5id: 8.12.7_A2_T2
description: >
Try to delete not existent properties of O, but existent property
of prototype
--- |
1656 |
- |
| S8.12.7_A3.js |
---
info: |
When the [[Delete]] method of O is called with property name P,
removes the property with name P from O and return true
es5id: 8.12.7_A3
description: Delete existent properties
--- |
2443 |
- |
| S11.4.1_A2.1.js |
---
info: If Type(x) is not Reference, return true
es5id: 11.4.1_A2.1
description: Checking primitive value and Object value cases
--- |
440 |
- |
| S11.4.1_A2.2_T1.js |
---
info: If GetBase(x) doesn't have a property GetPropertyName(x), return true
es5id: 11.4.1_A2.2_T1
description: Checking undeclared variable case
flags: [noStrict]
--- |
381 |
- |
| S11.4.1_A2.2_T2.js |
---
info: If GetBase(x) doesn't have a property GetPropertyName(x), return true
es5id: 11.4.1_A2.2_T2
description: Checking Object object and Function object cases
--- |
672 |
- |
| S11.4.1_A2.2_T3.js |
---
info: If GetBase(x) doesn't have a property GetPropertyName(x), return true
es5id: 11.4.1_A2.2_T3
description: Checking undeclared variable case
--- |
373 |
- |
| S11.4.1_A3.1.js |
---
info: If the property has the DontDelete attribute, return false
es5id: 11.4.1_A3.1
description: Checking declared variable
flags: [noStrict]
--- |
814 |
- |
| S11.4.1_A3.2_T1.js |
---
info: If the property doesn't have the DontDelete attribute, return true
es5id: 11.4.1_A3.2_T1
description: Checking declared variable
flags: [noStrict]
--- |
385 |
- |
| S11.4.1_A3.2_T2.js |
---
info: If the property doesn't have the DontDelete attribute, return true
es5id: 11.4.1_A3.2_T2
description: Checking declared variable
--- |
473 |
- |
| S11.4.1_A3.2_T3.js |
---
info: If the property doesn't have the DontDelete attribute, return true
es5id: 11.4.1_A3.2_T3
description: Checking declared variable
--- |
533 |
- |
| S11.4.1_A3.3_T1.js |
---
info: If the property doesn't have the DontDelete attribute, remove the property
es5id: 11.4.1_A3.3_T1
description: Checking declared variable
flags: [noStrict]
--- |
515 |
- |
| S11.4.1_A3.3_T2.js |
---
info: If the property doesn't have the DontDelete attribute, remove the property
es5id: 11.4.1_A3.3_T2
description: Checking declared variable
--- |
556 |
- |
| S11.4.1_A3.3_T3.js |
---
info: If the property doesn't have the DontDelete attribute, remove the property
es5id: 11.4.1_A3.3_T3
description: Checking declared variable
--- |
633 |
- |
| S11.4.1_A3.3_T4.js |
---
info: If the property doesn't have the DontDelete attribute, remove the property
es5id: 11.4.1_A3.3_T4
description: Checking declared variable
flags: [noStrict]
--- |
523 |
- |
| S11.4.1_A3.3_T5.js |
---
info: If the property doesn't have the DontDelete attribute, remove the property
es5id: 11.4.1_A3.3_T5
description: Checking declared variable
flags: [noStrict]
--- |
667 |
- |
| S11.4.1_A3.3_T6.js |
---
info: If the property doesn't have the DontDelete attribute, remove the property
es5id: 11.4.1_A3.3_T6
description: Checking declared variable
flags: [noStrict]
--- |
530 |
- |
| S11.4.1_A4.js |
---
info: |
"Delete" operator removes property, which is reference to the object, not
the object
es5id: 11.4.1_A4
description: Checking two reference by one object
flags: [noStrict]
--- |
535 |
- |
| S11.4.1_A5.js |
---
info: |
A strict delete should either succeed, returning true, or it
should fail by throwing a TypeError. Under no circumstances
should a strict delete return false.
es5id: 11.4.1_A5
description: >
See if a strict delete returns false when deleting a non-standard
property.
flags: [onlyStrict]
--- |
951 |
- |
| super-property.js |
---
esid: sec-delete-operator-runtime-semantics-evaluation
es6id: 12.5.4.2
description: SuperReferences may not be deleted
info: |
[...]
5.If IsPropertyReference(ref) is true, then
a. If IsSuperReference(ref) is true, throw a ReferenceError exception.
features: [class]
--- |
941 |
- |
| white-space-line-terminator-between-delete-unaryexpression-allowed.js |
---
esid: sec-delete-operator
description: >
White Space and Line Terminator between "delete" and UnaryExpression are allowed
info: |
UnaryExpression :
delete UnaryExpression
--- |
1130 |
- |