Changeset 26682 in webkit for trunk/JavaScriptCore/tests
- Timestamp:
- Oct 16, 2007, 2:35:50 PM (18 years ago)
- Location:
- trunk/JavaScriptCore/tests/mozilla
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/tests/mozilla/ecma_3/Function/scope-001.js
r11995 r26682 80 80 actual = f(); 81 81 } 82 expect = 2; 82 // Mozilla result, which contradicts IE and the ECMA spec: expect = 2; 83 expect = 1; 83 84 addThis(); 84 85 … … 99 100 } 100 101 actual = f(); 101 expect = 2; 102 // Mozilla result, which contradicts IE and the ECMA spec: expect = 2; 103 expect = 1; 102 104 addThis(); 103 105 … … 120 122 } 121 123 actual = f(); 122 expect = 3; 124 // Mozilla result, which contradicts IE and the ECMA spec: expect = 3; 125 expect = 1; 123 126 addThis(); 124 127 … … 140 143 delete obj; 141 144 actual = f(); 142 expect = 2; 145 // Mozilla result, which contradicts IE and the ECMA spec: expect = 2; 146 expect = 1; 143 147 addThis(); 144 148 … … 164 168 actual = f(); 165 169 } 166 expect = 2; // NOT 3 !!! 170 // Mozilla result, which contradicts IE and the ECMA spec: expect = 2; // NOT 3 !!! 171 expect = 1; 167 172 addThis(); 168 173 -
trunk/JavaScriptCore/tests/mozilla/js1_5/Scope/regress-184107.js
r11995 r26682 58 58 var expectedvalues = []; 59 59 60 y = 1; 60 61 var obj = {y:10}; 61 62 with (obj) … … 78 79 status = inSection(2); 79 80 actual = f(); 80 expect = obj.y; 81 // Mozilla result, which contradicts IE and the ECMA spec: expect = obj.y; 82 expect = y; 81 83 addThis(); 82 84
Note:
See TracChangeset
for help on using the changeset viewer.