| Index: test/webkit/fast/js/string-anchor-expected.txt
|
| diff --git a/test/webkit/add-recovery-expected.txt b/test/webkit/fast/js/string-anchor-expected.txt
|
| similarity index 68%
|
| copy from test/webkit/add-recovery-expected.txt
|
| copy to test/webkit/fast/js/string-anchor-expected.txt
|
| index 1d961b551aa9ef467543ddbb91dc528869e52611..3a50054f1176b237eb1454cf399a3c2062d47367 100644
|
| --- a/test/webkit/add-recovery-expected.txt
|
| +++ b/test/webkit/fast/js/string-anchor-expected.txt
|
| @@ -21,16 +21,20 @@
|
| # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -This tests that speculation recovery of destructive additions on unboxed integers works.
|
| +This is a test case for String.prototype.anchor(name).
|
|
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS destructiveAddForBoxedInteger({x:1}, 2, 4) is 9
|
| -PASS destructiveAddForBoxedInteger({x:2147483647}, 2, 4) is 2147483655
|
| -PASS destructiveAddForBoxedInteger({x:2}, 2147483647, 4) is 4294967300
|
| -PASS destructiveAddForBoxedInteger({x:2147483647}, 2147483647, 4) is 6442450945
|
| -PASS destructiveAddForBoxedInteger({x:1}, 2, 2147483647) is 2147483652
|
| +PASS '_'.anchor('b') is "<a name=\"b\">_</a>"
|
| +PASS '<'.anchor('b') is "<a name=\"b\"><</a>"
|
| +PASS '_'.anchor(0x2A) is "<a name=\"42\">_</a>"
|
| +PASS '_'.anchor('"') is "<a name=\""\">_</a>"
|
| +PASS '_'.anchor('" href="http://www.evil.com') is "<a name=\"" href="http://www.evil.com\">_</a>"
|
| +PASS String.prototype.anchor.call(0x2A, 0x2A) is "<a name=\"42\">42</a>"
|
| +FAIL String.prototype.anchor.call(undefined) should throw TypeError: Type error. Was <a name="undefined">undefined</a>.
|
| +FAIL String.prototype.anchor.call(null) should throw TypeError: Type error. Was <a name="undefined">null</a>.
|
| +PASS String.prototype.anchor.length is 1
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|