diff options
author | Mike Pennisi <mike@mikepennisi.com> | 2017-06-30 16:33:57 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2017-07-13 12:27:29 -0400 |
commit | 3269aea2abe14df534fb063d920625c411ab8a5f (patch) | |
tree | 5523a6bbd6a4acbbb70f5f88fa2b786b6a454065 /lint.whitelist | |
parent | af8ec67363069bb7a7a27f8a31026e9eaa881eef (diff) | |
download | qtdeclarative-testsuites-3269aea2abe14df534fb063d920625c411ab8a5f.tar.gz |
Remove faulty `throw` statements
The `throw` statements that were recently inserted into these tests have
an observable impact on the parsing behavior: they causes the `"use
strict"` token sequence to be interpreted as a string literal instead of
a directive prolog, which in turn effects how the tests are interpreted.
Remove the new `throw` statements from these tests and rely on
previously-existing statements that serve the same purpose without
impacting program strictness.
Diffstat (limited to 'lint.whitelist')
-rw-r--r-- | lint.whitelist | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lint.whitelist b/lint.whitelist index 02101a660..12608cc30 100644 --- a/lint.whitelist +++ b/lint.whitelist @@ -7,3 +7,8 @@ # test/language/made-up-file.js FRONTMATTER LICENSE # # Note that lines prefixed with the "hash" symbol (#) will be ignored. +test/language/directive-prologue/10.1.1-5gs.js NEGATIVE +test/language/directive-prologue/10.1.1-2gs.js NEGATIVE +test/language/directive-prologue/14.1-5gs.js NEGATIVE +test/language/directive-prologue/14.1-4gs.js NEGATIVE +test/language/directive-prologue/10.1.1-8gs.js NEGATIVE |