Index: test/webkit/var-declarations-zero-width.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/var-declarations-zero-width.js |
similarity index 85% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/var-declarations-zero-width.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..8b5f90f2c967d5eee699f10c2dd64b3f627d47c3 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/var-declarations-zero-width.js |
@@ -21,6 +21,8 @@ |
// (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 page tests if U+200C and U+200D are allowed as part of an identifier."); |
-finishJSTest(); |
+shouldBe("var x\u200c = 42; x\u200c", "42"); |
+shouldBe("var x\u200d = 43; x\u200d", "43"); |
+shouldBe("var x\u200c\u200d = 44; x\u200c\u200d", "44"); |