Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:In

2 // Redistribution and use in source and binary forms, with or without
8 // * Redistributions in binary form must reproduce the above
10 // disclaimer in the documentation and/or other materials provided
19 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
44 assertEquals("undefined", typeof(foo[-1]), "known failure in SpiderMonkey 1.5");
69 // In FF this is ignored I think. In V8 it puts a property on the String object
70 // but you won't ever see it because it is hidden by the 0th character in the
76 assertEquals(true, 0 in S, "0 in");
77 assertEquals(false, -1 in S, "-1 in");
78 assertEquals(true, 2 in S, "2 in");
79 assertEquals(true, 3 in S, "3 in");
80 assertEquals(false, 4 in S, "3 in");
82 assertEquals(true, "0" in S, '"0" in');
83 assertEquals(false, "-1" in S, '"-1" in');
84 assertEquals(true, "2" in S, '"2" in');
85 assertEquals(true, "3" in S, '"3" in');
86 assertEquals(false, "4" in S, '"3" in');
110 //assertEquals(true, 0 in "foo", "0 in");
111 //assertEquals(false, -1 in "foo", "-1 in");
112 //assertEquals(true, 2 in "foo", "2 in");
113 //assertEquals(false, 3 in "foo", "3 in");
115 //assertEquals(true, "0" in "foo", '"0" in');
116 //assertEquals(false, "-1" in "foo", '"-1" in');
117 //assertEquals(true, "2" in "foo", '"2" in');
118 //assertEquals(false, "3" in "foo", '"3" in');
122 assertEquals(false, 3 in S);
123 assertEquals(false, "3" in S);