Index: test/webkit/declaration-in-block.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/declaration-in-block.js |
similarity index 92% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/declaration-in-block.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..39c4fc06ce7958ba0d4c2f77e9faede8d67370d3 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/declaration-in-block.js |
@@ -21,6 +21,9 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-wasPostTestScriptParsed = true; |
+description( |
+"This test checks that declarations in an if block can be seen outside it." |
+); |
-finishJSTest(); |
+if (0) { var b; } |
+var a = b; |