| Index: test/webkit/fast/js/string-fontcolor-expected.txt
|
| diff --git a/test/webkit/date-utc-timeclip-expected.txt b/test/webkit/fast/js/string-fontcolor-expected.txt
|
| similarity index 67%
|
| copy from test/webkit/date-utc-timeclip-expected.txt
|
| copy to test/webkit/fast/js/string-fontcolor-expected.txt
|
| index 4901631d59c8d8f729458d1be81c33c57fcac8f8..af2c707f37501ae685a01a5f780bb0f87885224d 100644
|
| --- a/test/webkit/date-utc-timeclip-expected.txt
|
| +++ b/test/webkit/fast/js/string-fontcolor-expected.txt
|
| @@ -21,19 +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.
|
|
|
| -Date.UTC() should apply TimeClip operation according to ECMA-262.
|
| +This is a test case for String.prototype.fontcolor(color).
|
|
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS Date.UTC(275760, 8, 12, 23, 59, 59, 999) is 8639999999999999
|
| -PASS Date.UTC(275760, 8, 13) is 8640000000000000
|
| -PASS isNaN(Date.UTC(275760, 8, 13, 0, 0, 0, 1)) is true
|
| -PASS isNaN(Date.UTC(275760, 8, 14)) is true
|
| -PASS Date.UTC(-271821, 3, 20, 0, 0, 0, 1) is -8639999999999999
|
| -PASS Date.UTC(-271821, 3, 20) is -8640000000000000
|
| -PASS isNaN(Date.UTC(-271821, 3, 19, 23, 59, 59, 999)) is true
|
| -PASS isNaN(Date.UTC(-271821, 3, 19)) is true
|
| +PASS '_'.fontcolor('b') is "<font color=\"b\">_</font>"
|
| +PASS '<'.fontcolor('b') is "<font color=\"b\"><</font>"
|
| +PASS '_'.fontcolor(0x2A) is "<font color=\"42\">_</font>"
|
| +PASS '_'.fontcolor('"') is "<font color=\""\">_</font>"
|
| +PASS '_'.fontcolor('" size="2px') is "<font color=\"" size="2px\">_</font>"
|
| +PASS String.prototype.fontcolor.call(0x2A, 0x2A) is "<font color=\"42\">42</font>"
|
| +FAIL String.prototype.fontcolor.call(undefined) should throw TypeError: Type error. Was <font color="undefined">undefined</font>.
|
| +FAIL String.prototype.fontcolor.call(null) should throw TypeError: Type error. Was <font color="undefined">null</font>.
|
| +PASS String.prototype.fontcolor.length is 1
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|