diff --git a/lint.whitelist b/lint.whitelist index 02101a6602d2930b571b3b91f31b8a9c1c504c7e..12608cc303d727c0cae17f10ab6f45142321e81d 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 diff --git a/test/language/directive-prologue/10.1.1-2gs.js b/test/language/directive-prologue/10.1.1-2gs.js index b6a6ef26c3b9965b488017e818409775b08597f4..c503c48619ea4cec37b20e48740eceb109b83e8a 100644 --- a/test/language/directive-prologue/10.1.1-2gs.js +++ b/test/language/directive-prologue/10.1.1-2gs.js @@ -12,8 +12,6 @@ negative: flags: [raw] ---*/ -throw "Test262: This statement should not be evaluated."; - "use strict" throw new Error("This code should not execute"); var public = 1; diff --git a/test/language/directive-prologue/10.1.1-5gs.js b/test/language/directive-prologue/10.1.1-5gs.js index 05e2ad87a84d7e3f290a04ae3a30ea7de5e34b39..d77ac7706ca17daa550ac7389e99f0f2afc4fa8d 100644 --- a/test/language/directive-prologue/10.1.1-5gs.js +++ b/test/language/directive-prologue/10.1.1-5gs.js @@ -12,8 +12,6 @@ negative: flags: [raw] ---*/ -throw "Test262: This statement should not be evaluated."; - "use strict"; throw new Error("This code should not execute"); var public = 1; diff --git a/test/language/directive-prologue/10.1.1-8gs.js b/test/language/directive-prologue/10.1.1-8gs.js index ac8581c372d0a304381a6a712f9c4860dd581770..9a298adf020a22c4766b894105cd2f5afe539054 100644 --- a/test/language/directive-prologue/10.1.1-8gs.js +++ b/test/language/directive-prologue/10.1.1-8gs.js @@ -12,8 +12,6 @@ negative: flags: [raw] ---*/ -throw "Test262: This statement should not be evaluated."; - "use strict"; "use strict"; var public = 1; diff --git a/test/language/directive-prologue/14.1-4gs.js b/test/language/directive-prologue/14.1-4gs.js index 9bc94f70c66391bbc96f68adbae4e87ae8dc041a..d0069a3df21266701eb592186b9c8cb8a00e0b9e 100644 --- a/test/language/directive-prologue/14.1-4gs.js +++ b/test/language/directive-prologue/14.1-4gs.js @@ -12,8 +12,6 @@ negative: flags: [raw] ---*/ -throw "Test262: This statement should not be evaluated."; - "use strict"; throw new Error("This code should not execute"); eval = 42; diff --git a/test/language/directive-prologue/14.1-5gs.js b/test/language/directive-prologue/14.1-5gs.js index 6f2844eafd653b44eb1d330e87d6a6c62070e60e..9a8308e9758b1026e88e6cfdb922e1adfb652bc1 100644 --- a/test/language/directive-prologue/14.1-5gs.js +++ b/test/language/directive-prologue/14.1-5gs.js @@ -12,8 +12,6 @@ negative: flags: [raw] ---*/ -throw "Test262: This statement should not be evaluated."; - "a"; "use strict"; "c";