| Index: test/webkit/fast/js/string-link-expected.txt
|
| diff --git a/test/webkit/Array-isArray-expected.txt b/test/webkit/fast/js/string-link-expected.txt
|
| similarity index 68%
|
| copy from test/webkit/Array-isArray-expected.txt
|
| copy to test/webkit/fast/js/string-link-expected.txt
|
| index 5af2c158faa24d6a60295b5dd465fc88f5dc5ba5..afacbe6bb91737d156501e47d306b67d8bb33cec 100644
|
| --- a/test/webkit/Array-isArray-expected.txt
|
| +++ b/test/webkit/fast/js/string-link-expected.txt
|
| @@ -21,25 +21,21 @@
|
| # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -Test to ensure correct behaviour of Array.array
|
| +This is a test case for String.prototype.link(href).
|
|
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS Array.isArray([]) is true
|
| -PASS Array.isArray(new Array) is true
|
| -PASS Array.isArray(Array()) is true
|
| -PASS Array.isArray('abc'.match(/(a)*/g)) is true
|
| -PASS (function(){ return Array.isArray(arguments); })() is false
|
| -PASS Array.isArray() is false
|
| -PASS Array.isArray(null) is false
|
| -PASS Array.isArray(undefined) is false
|
| -PASS Array.isArray(true) is false
|
| -PASS Array.isArray(false) is false
|
| -PASS Array.isArray('a string') is false
|
| -PASS Array.isArray({}) is false
|
| -PASS Array.isArray({length: 5}) is false
|
| -PASS Array.isArray({__proto__: Array.prototype, length:1, 0:1, 1:2}) is false
|
| +PASS '_'.link('"') is "<a href=\""\">_</a>"
|
| +PASS '_'.link('b') is "<a href=\"b\">_</a>"
|
| +PASS '<'.link('b') is "<a href=\"b\"><</a>"
|
| +PASS '_'.link(0x2A) is "<a href=\"42\">_</a>"
|
| +PASS '_'.link('"') is "<a href=\""\">_</a>"
|
| +PASS '_'.link('" target="_blank') is "<a href=\"" target="_blank\">_</a>"
|
| +PASS String.prototype.link.call(0x2A, 0x2A) is "<a href=\"42\">42</a>"
|
| +FAIL String.prototype.link.call(undefined) should throw TypeError: Type error. Was <a href="undefined">undefined</a>.
|
| +FAIL String.prototype.link.call(null) should throw TypeError: Type error. Was <a href="undefined">null</a>.
|
| +PASS String.prototype.link.length is 1
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|