Changeset 64944 in webkit


Ignore:
Timestamp:
Aug 8, 2010 12:33:37 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-08-08 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

Chromium: isindex tests timeout after r64712
https://bugs.webkit.org/show_bug.cgi?id=43543

Update isindex tests/expectactions after r64712 so that even though they
stil fail, they fail immediately instead of timing out.

  • http/tests/misc/isindex-formdata-expected.txt:
  • http/tests/misc/isindex-formdata.html:
  • http/tests/misc/isindex-with-no-form-base-href-expected.txt:
  • http/tests/misc/resources/isindex-with-no-form-base-href.html:
Location:
trunk/LayoutTests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r64939 r64944  
     12010-08-08  Mihai Parparita  <mihaip@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Chromium: isindex tests timeout after r64712
     6        https://bugs.webkit.org/show_bug.cgi?id=43543
     7       
     8        Update isindex tests/expectactions after r64712 so that even though they
     9        stil fail, they fail immediately instead of timing out.
     10
     11        * http/tests/misc/isindex-formdata-expected.txt:
     12        * http/tests/misc/isindex-formdata.html:
     13        * http/tests/misc/isindex-with-no-form-base-href-expected.txt:
     14        * http/tests/misc/resources/isindex-with-no-form-base-href.html:
     15
    1162010-08-07  Mihai Parparita  <mihaip@chromium.org>
    217
  • trunk/LayoutTests/http/tests/misc/isindex-formdata-expected.txt

    r64712 r64944  
    1 CONSOLE MESSAGE: line 10: TypeError: Result of expression 'document.getElementById("isindex")' [null] is not an object.
    2 FAIL: Timed out waiting for notifyDone to be called
    31This page tests that we correctly put the value of an <isindex> element into the form data.
    42
     3FAIL: could not find isindex element
    54
  • trunk/LayoutTests/http/tests/misc/isindex-formdata.html

    r28763 r64944  
    88        }
    99
     10        if (!document.getElementById("isindex")) {
     11            log("FAIL: could not find isindex element");
     12            if (window.layoutTestController)
     13                layoutTestController.notifyDone();
     14            return;
     15        }
    1016        document.getElementById("isindex").value = "This is a test";
    1117        document.forms[0].submit();
  • trunk/LayoutTests/http/tests/misc/isindex-with-no-form-base-href-expected.txt

    r64712 r64944  
    1 FAIL: Timed out waiting for notifyDone to be called
    21
    32
     
    54Frame: '<!--framePath //<!--frame0-->-->'
    65--------
     6FAIL: could not find form with expected action
    77This page tests that we correctly put the value of an <isindex> element into the form data.
    88
  • trunk/LayoutTests/http/tests/misc/resources/isindex-with-no-form-base-href.html

    r50132 r64944  
    33<base href="http://localhost:8000/misc/resources/isindex-with-no-form-base-href-submit.html">
    44<script>
     5function log(msg)
     6{
     7    document.getElementById("log").appendChild(document.createTextNode(msg + "\n"));
     8}
     9
    510function test()
    611{
     12    var forms = document.getElementsByTagName('form');
     13    if (forms.length != 1 || forms[0].action != 'http://localhost:8000/misc/resources/isindex-with-no-form-base-href-submit.html') {
     14        log('FAIL: could not find form with expected action');
     15        if (window.layoutTestController)
     16            layoutTestController.notifyDone();
     17    }
     18
     19
    720    var isindexElm = document.getElementById("isindex");
    821    isindexElm.value = "This is a test";
     
    1730</head>
    1831<body>
     32<pre id="log"></pre>
    1933<p>This page tests that we correctly put the value of an <tt>&lt;isindex&gt;</tt> element into the form data.</p>
    2034<p>If you are running this test by hand, press the enter/return key on your keyboard to submit.</p>
Note: See TracChangeset for help on using the changeset viewer.