summaryrefslogtreecommitdiff
path: root/INTERPRETING.md
diff options
context:
space:
mode:
authorMike Pennisi <mike@mikepennisi.com>2017-12-03 00:06:42 -0500
committerRick Waldron <waldron.rick@gmail.com>2018-01-05 15:17:50 -0500
commit136110378bb62fefb5a9a69080067e6f126f9dae (patch)
tree90b8d7ba0f9f1162b2edd0e74afb87382fc6f195 /INTERPRETING.md
parent66df349af32c3f293936f7a947ac18bfb1ecda5c (diff)
downloadqtdeclarative-testsuites-136110378bb62fefb5a9a69080067e6f126f9dae.tar.gz
Rename negative test "phase" for parsing
Early errors may result from parsing the source text of a test file, but they may also result from parsing some other source text as referenced through the ES2015 module syntax. The latter form of early error is not necessarily detectable by ECMAScript parsers, however. Because of this, the label "early" is not sufficiently precise for all Test262 consumers to correctly interpret all tests. Update the "phase" name of "early" to "parse" for all those negative tests that describe errors resulting from parsing of the file's source text directly. A forthcoming commit will update the remaining tests to use a "phase" name that is more specific to module resolution.
Diffstat (limited to 'INTERPRETING.md')
-rw-r--r--INTERPRETING.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/INTERPRETING.md b/INTERPRETING.md
index 1b46c10b0..c3a31bb65 100644
--- a/INTERPRETING.md
+++ b/INTERPRETING.md
@@ -161,8 +161,9 @@ These tests are expected to generate an uncaught exception. The value of this
attribute is a YAML dictonary with two keys:
- `phase` - the stage of the test interpretation process that the error is
- expected to be produced; either "early" (meaning, "prior to evaluation") or
- "runtime" (meaning, "during evaluation")
+ expected to be produced; either "parse" (meaning, "while parsing the source
+ text"), "early" (meaning, "prior to evaluation") or "runtime" (meaning,
+ "during evaluation")
- `type` - the name of the constructor of the expected error
If a test configured with the `negative` attribute completes without throwing