Commit fb8c1521 authored by mjs's avatar mjs

- make the JS tests that weren't already doing so dump as text, and remove

	their image results.

        * layout-tests/fast/js/date-parse-test-expected.checksum: Removed.
        * layout-tests/fast/js/date-parse-test-expected.png: Removed.
        * layout-tests/fast/js/date-parse-test-expected.txt:
        * layout-tests/fast/js/date-parse-test.html:
        * layout-tests/fast/js/declaration-in-block-expected.checksum: Removed.
        * layout-tests/fast/js/declaration-in-block-expected.png: Removed.
        * layout-tests/fast/js/declaration-in-block-expected.txt:
        * layout-tests/fast/js/declaration-in-block.html:
        * layout-tests/fast/js/encode-URI-test-expected.txt: Added.
        * layout-tests/fast/js/encode-URI-test.html: Added.
        * layout-tests/fast/js/global/encode-URI-test-expected.checksum: Removed.
        * layout-tests/fast/js/global/encode-URI-test-expected.png: Removed.
        * layout-tests/fast/js/global/encode-URI-test-expected.txt: Removed.
        * layout-tests/fast/js/global/encode-URI-test.html: Removed.
        * layout-tests/fast/js/has-own-property-expected.checksum: Removed.
        * layout-tests/fast/js/has-own-property-expected.png: Removed.
        * layout-tests/fast/js/has-own-property-expected.txt:
        * layout-tests/fast/js/has-own-property.html:
        * layout-tests/fast/js/slash-lineterminator-parse-expected.checksum: Removed.
        * layout-tests/fast/js/slash-lineterminator-parse-expected.png: Removed.
        * layout-tests/fast/js/slash-lineterminator-parse-expected.txt:
        * layout-tests/fast/js/slash-lineterminator-parse.html:
        * layout-tests/fast/js/string-from-char-code-expected.checksum: Removed.
        * layout-tests/fast/js/string-from-char-code-expected.png: Removed.
        * layout-tests/fast/js/string-from-char-code-expected.txt:
        * layout-tests/fast/js/string-from-char-code.html:
        * layout-tests/fast/js/window-object-cross-frame-calls-expected.checksum: Removed.
        * layout-tests/fast/js/window-object-cross-frame-calls-expected.png: Removed.
        * layout-tests/fast/js/window-object-cross-frame-calls-expected.txt:
        * layout-tests/fast/js/window-object-cross-frame-calls.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0c767cf3
f592841eb9d8078a2fe38c16cb71422a
\ No newline at end of file
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x50
RenderBlock {HTML} at (0,0) size 800x50
RenderBody {BODY} at (8,16) size 784x18
RenderBlock {P} at (0,0) size 784x18
RenderText {TEXT} at (0,0) size 190x18
text run at (0,0) width 190: "Testing complete. No failures."
Testing complete. No failures.
......@@ -11,6 +11,9 @@
<script type="text/javascript">
if (window.layoutTestController)
layoutTestController.dumpAsText();
// --------
// Helper functions.
......
526891cb022c25528c4d35650d66c3a6
\ No newline at end of file
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x34
RenderBlock {HTML} at (0,0) size 800x34
RenderBody {BODY} at (8,8) size 784x18
RenderText {TEXT} at (0,0) size 60x18
text run at (0,0) width 60: "all is well"
all is well
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
if (0) { var b; }
var a = b;
document.write("all is well");
......
......@@ -11,6 +11,8 @@
<script type="text/javascript">
if (window.layoutTestController) layoutTestController.dumpAsText();
// --------
// Helper functions.
......
f592841eb9d8078a2fe38c16cb71422a
\ No newline at end of file
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x50
RenderBlock {HTML} at (0,0) size 800x50
RenderBody {BODY} at (8,16) size 784x18
RenderBlock {P} at (0,0) size 784x18
RenderText {TEXT} at (0,0) size 190x18
text run at (0,0) width 190: "Testing complete. No failures."
2136068f2f8e7094b03306e16e286492
\ No newline at end of file
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x576
RenderBlock {P} at (0,0) size 784x18
RenderText {TEXT} at (0,0) size 769x18
text run at (0,0) width 769: "This test verifies the behaviour of Object.prototype.hasOwnProperty, as documented in ECMA-262 rev3 section 15.2.4.5."
RenderBlock {P} at (0,34) size 784x18
RenderText {TEXT} at (0,0) size 524x18
text run at (0,0) width 524: "If the test passes, you should see two 'true' outputs followed by three 'false' outputs."
RenderBlock {HR} at (0,68) size 784x2 [border: (1px inset #000000)]
RenderBlock {P} at (0,86) size 784x0
RenderBlock {OL} at (0,86) size 784x90
RenderListItem {LI} at (40,0) size 744x18
RenderListMarker at (0,0) size 0x14
RenderText {TEXT} at (0,0) size 234x18
text run at (0,0) width 234: "anObject has own property 'foo': true"
RenderListItem {LI} at (40,18) size 744x18
RenderListMarker at (0,0) size 0x14
RenderText {TEXT} at (0,0) size 240x18
text run at (0,0) width 240: "aString has own property 'length': true"
RenderListItem {LI} at (40,36) size 744x18
RenderListMarker at (0,0) size 0x14
RenderText {TEXT} at (0,0) size 238x18
text run at (0,0) width 238: "anObject has own property 'bar': false"
RenderListItem {LI} at (40,54) size 744x18
RenderListMarker at (0,0) size 0x14
RenderText {TEXT} at (0,0) size 268x18
text run at (0,0) width 268: "anObject has own property 'toString': false"
RenderListItem {LI} at (40,72) size 744x18
RenderListMarker at (0,0) size 0x14
RenderText {TEXT} at (0,0) size 256x18
text run at (0,0) width 256: "aString has own property 'toString': false"
RenderBlock {P} at (0,192) size 784x0
This test verifies the behaviour of Object.prototype.hasOwnProperty, as documented in ECMA-262 rev3 section 15.2.4.5.
If the test passes, you should see two 'true' outputs followed by three 'false' outputs.
anObject has own property 'foo': true
aString has own property 'length': true
anObject has own property 'bar': false
anObject has own property 'toString': false
aString has own property 'toString': false
......@@ -2,6 +2,10 @@
<head>
<title>Test of hasOwnProperty</title>
<script type="text/javascript">
if (window.layoutTestController) {
layoutTestController.dumpAsText();
}
function print(message)
{
var paragraph = document.createElement("li");
......@@ -36,4 +40,4 @@
<hr>
<p><ol id=console></ol></p>
</body>
</html>
\ No newline at end of file
</html>
c2af9a60fa67c3b8e7a35a480e17fd29
\ No newline at end of file
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderText {TEXT} at (0,0) size 564x18
text run at (0,0) width 564: "hellothere You should see \"hellothere\", with no space between the two words (3649789)."
RenderText {TEXT} at (0,0) size 0x0
hellothere You should see "hellothere", with no space between the two words (3649789).
<html>
<body>
<script type="text/javascript">
if (window.layoutTestController)
layoutTestController.dumpAsText();
mystring = 'hello\
there';
document.write(mystring);
......
67bf7ab26321819909644053a3325cf0
\ No newline at end of file
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderText {TEXT} at (0,0) size 422x18
text run at (0,0) width 422: "This test should not crash and should display an X on the next line:"
RenderBR {BR} at (0,0) size 0x0
RenderText {TEXT} at (0,18) size 12x18
text run at (0,18) width 12: "X"
RenderBR {BR} at (0,0) size 0x0
This test should not crash and should display an X on the next line:
X
......@@ -2,6 +2,8 @@
<body>
This test should not crash and should display an X on the next line:<br>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
document.write(String.fromCharCode(88));
document.write('<br>');
</script>
......
a9d2b4f1b50a401b537f0b51fb64f363
\ No newline at end of file
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {P} at (0,0) size 784x18
RenderText {TEXT} at (0,0) size 566x18
text run at (0,0) width 566: "The following line should say \"parent\", meaning that the proper window object was used."
RenderBlock {P} at (0,34) size 784x18
RenderText {TEXT} at (0,0) size 39x18
text run at (0,0) width 39: "parent"
RenderBlock (anonymous) at (0,68) size 784x150
RenderPartObject {IFRAME} at (0,0) size 300x150
layer at (0,0) size 300x150
RenderCanvas at (0,0) size 300x150
layer at (0,0) size 300x150
RenderBlock {HTML} at (0,0) size 300x150
RenderBody {BODY} at (8,8) size 284x134
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
The following line should say "parent", meaning that the proper window object was used.
parent
<html>
<head>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
function bar() { which = "parent"; document.getElementById("result").innerHTML = which; }
</script>
</head>
......
2005-08-29 Maciej Stachowiak <mjs@apple.com>
- make the JS tests that weren't already doing so dump as text, and remove
their image results.
* layout-tests/fast/js/date-parse-test-expected.checksum: Removed.
* layout-tests/fast/js/date-parse-test-expected.png: Removed.
* layout-tests/fast/js/date-parse-test-expected.txt:
* layout-tests/fast/js/date-parse-test.html:
* layout-tests/fast/js/declaration-in-block-expected.checksum: Removed.
* layout-tests/fast/js/declaration-in-block-expected.png: Removed.
* layout-tests/fast/js/declaration-in-block-expected.txt:
* layout-tests/fast/js/declaration-in-block.html:
* layout-tests/fast/js/encode-URI-test-expected.txt: Added.
* layout-tests/fast/js/encode-URI-test.html: Added.
* layout-tests/fast/js/global/encode-URI-test-expected.checksum: Removed.
* layout-tests/fast/js/global/encode-URI-test-expected.png: Removed.
* layout-tests/fast/js/global/encode-URI-test-expected.txt: Removed.
* layout-tests/fast/js/global/encode-URI-test.html: Removed.
* layout-tests/fast/js/has-own-property-expected.checksum: Removed.
* layout-tests/fast/js/has-own-property-expected.png: Removed.
* layout-tests/fast/js/has-own-property-expected.txt:
* layout-tests/fast/js/has-own-property.html:
* layout-tests/fast/js/slash-lineterminator-parse-expected.checksum: Removed.
* layout-tests/fast/js/slash-lineterminator-parse-expected.png: Removed.
* layout-tests/fast/js/slash-lineterminator-parse-expected.txt:
* layout-tests/fast/js/slash-lineterminator-parse.html:
* layout-tests/fast/js/string-from-char-code-expected.checksum: Removed.
* layout-tests/fast/js/string-from-char-code-expected.png: Removed.
* layout-tests/fast/js/string-from-char-code-expected.txt:
* layout-tests/fast/js/string-from-char-code.html:
* layout-tests/fast/js/window-object-cross-frame-calls-expected.checksum: Removed.
* layout-tests/fast/js/window-object-cross-frame-calls-expected.png: Removed.
* layout-tests/fast/js/window-object-cross-frame-calls-expected.txt:
* layout-tests/fast/js/window-object-cross-frame-calls.html:
2005-08-29 John Sullivan <sullivan@apple.com>
Written by Justin Garcia
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment