Changeset 66735 in webkit


Ignore:
Timestamp:
Sep 3, 2010 9:00:02 AM (14 years ago)
Author:
caseq@chromium.org
Message:

2010-09-03 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

http/tests/inspector/console-xhr-logging.html and http/tests/inspector/resource-har-conversion.html are failing on chromium win bot
Changed MIME type for .js to application/x-javascript for consistency with apache used on other platforms.
https://bugs.webkit.org/show_bug.cgi?id=45137

  • Scripts/webkitpy/layout_tests/port/lighttpd.conf:

2010-09-03 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

http/tests/inspector/console-xhr-logging.html and http/tests/inspector/resource-har-conversion.html are failing on chromium win bot
Use CGI as target for POST request to prevent HTTP 405 on certain platforms.
Changed MIME type for .js to application/x-javascript in lighttpd.conf for
consistency with apache used on other platforms.
https://bugs.webkit.org/show_bug.cgi?id=45137

  • http/tests/inspector/console-xhr-logging-expected.txt:
  • http/tests/inspector/console-xhr-logging.html:
  • http/tests/inspector/resource-har-conversion-expected.txt:
  • http/tests/inspector/resource-har-conversion.html:
  • http/tests/inspector/resource-parameters-expected.txt:
  • http/tests/inspector/resource-parameters.html:
  • http/tests/inspector/resources/post-target.cgi: Added.
  • platform/chromium-win/http/tests/inspector/resource-parameters-expected.txt: Removed.
  • platform/chromium/test_expectations.txt:
  • platform/win/http/tests/inspector/console-xhr-logging-expected.txt: Removed.
  • platform/win/http/tests/inspector/resource-parameters-expected.txt: Removed.
Location:
trunk
Files:
1 added
3 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r66731 r66735  
     12010-09-03  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        Reviewed by Yury Semikhatsky.
     4
     5        http/tests/inspector/console-xhr-logging.html and http/tests/inspector/resource-har-conversion.html are failing on chromium win bot
     6        Use CGI as target for POST request to prevent HTTP 405 on certain platforms.
     7        Changed MIME type for .js to application/x-javascript in lighttpd.conf for
     8        consistency with apache used on other platforms.
     9        https://bugs.webkit.org/show_bug.cgi?id=45137
     10
     11        * http/tests/inspector/console-xhr-logging-expected.txt:
     12        * http/tests/inspector/console-xhr-logging.html:
     13        * http/tests/inspector/resource-har-conversion-expected.txt:
     14        * http/tests/inspector/resource-har-conversion.html:
     15        * http/tests/inspector/resource-parameters-expected.txt:
     16        * http/tests/inspector/resource-parameters.html:
     17        * http/tests/inspector/resources/post-target.cgi: Added.
     18        * platform/chromium-win/http/tests/inspector/resource-parameters-expected.txt: Removed.
     19        * platform/chromium/test_expectations.txt:
     20        * platform/win/http/tests/inspector/console-xhr-logging-expected.txt: Removed.
     21        * platform/win/http/tests/inspector/resource-parameters-expected.txt: Removed.
     22
    1232010-09-03  Nikolas Zimmermann  <nzimmermann@rim.com>
    224
  • trunk/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt

    r65565 r66735  
    1515resources/xhr-does-not-exist.htmlFailed to load resource: the server responded with a status of 404 (Not Found)
    1616XHR finished loading: "http://127.0.0.1:8000/inspector/resources/xhr-does-not-exist.html".
    17 console-xhr-logging.html:40sending a POST request to resources/xhr-exists.html
    18 XHR finished loading: "http://127.0.0.1:8000/inspector/resources/xhr-exists.html".
     17console-xhr-logging.html:40sending a POST request to resources/post-target.cgi
     18XHR finished loading: "http://127.0.0.1:8000/inspector/resources/post-target.cgi".
    1919console-xhr-logging.html:21disabled
    2020console-xhr-logging.html:40sending a GET request to resources/xhr-exists.html
    2121console-xhr-logging.html:40sending a GET request to resources/xhr-does-not-exist.html
    2222resources/xhr-does-not-exist.htmlFailed to load resource: the server responded with a status of 404 (Not Found)
    23 console-xhr-logging.html:40sending a POST request to resources/xhr-exists.html
     23console-xhr-logging.html:40sending a POST request to resources/post-target.cgi
    2424
  • trunk/LayoutTests/http/tests/inspector/console-xhr-logging.html

    r65565 r66735  
    3232    requestHelper("GET", "resources/xhr-does-not-exist.html");
    3333    // 3. POST to a page.
    34     requestHelper("POST", "resources/xhr-exists.html");
     34    requestHelper("POST", "resources/post-target.cgi");
    3535}
    3636
  • trunk/LayoutTests/http/tests/inspector/resource-har-conversion-expected.txt

    r66672 r66735  
    108108        request : {
    109109            method : "POST"
    110             url : "http://127.0.0.1:8000/inspector/resources/xhr-does-not-exist.html"
     110            url : "http://127.0.0.1:8000/inspector/resources/post-target.cgi"
    111111            headers : <object>
    112112            headersSize : -1
     
    118118        }
    119119        response : {
    120             status : 404
    121             statusText : "Not Found"
     120            status : 200
     121            statusText : "OK"
    122122            headers : <object>
    123123            content : {
    124124                size : <number>
    125                 mimeType : "text/html"
     125                mimeType : "application/xml"
    126126            }
    127127            redirectURL : ""
  • trunk/LayoutTests/http/tests/inspector/resource-har-conversion.html

    r66672 r66735  
    2828{
    2929    var xhr = new XMLHttpRequest();
    30     xhr.open("POST", "resources/xhr-does-not-exist.html", false);
     30    xhr.open("POST", "resources/post-target.cgi", false);
    3131    xhr.setRequestHeader("Content-Type", "text/xml");
    3232    xhr.send("<xml></xml>");
  • trunk/LayoutTests/http/tests/inspector/resource-parameters-expected.txt

    r66669 r66735  
    99    request : {
    1010        method : "POST"
    11         url : "http://localhost:8000/inspector/resources/resource-form-data-receiver-iframe.html?queryParam1=queryValue1&queryParam2="
     11        url : "http://localhost:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&queryParam2="
    1212        headers : <object>
    1313        headersSize : -1
     
    4343        headers : <object>
    4444        content : {
    45             size : 30
    46             mimeType : "text/html"
     45            size : 14
     46            mimeType : "application/xml"
    4747        }
    4848        redirectURL : ""
    4949        headersSize : -1
    50         bodySize : 30
     50        bodySize : 14
    5151    }
    5252    timings : {
  • trunk/LayoutTests/http/tests/inspector/resource-parameters.html

    r60578 r66735  
    4242function frontend_dumpFormData(testController)
    4343{
    44     var resource = WebInspector.resourceURLMap["http://localhost:8000/inspector/resources/resource-form-data-receiver-iframe.html?queryParam1=queryValue1&queryParam2="];
     44    var resource = WebInspector.resourceURLMap["http://localhost:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&queryParam2="];
    4545
    4646    InspectorBackend.disableResourceTracking(false);
     
    5959Tests that resources panel shows form data parameters.
    6060</p>
    61 <form target="target-iframe" method="POST" action="http://localhost:8000/inspector/resources/resource-form-data-receiver-iframe.html?queryParam1=queryValue1&queryParam2=">
     61<form target="target-iframe" method="POST" action="http://localhost:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&queryParam2=">
    6262<input name="formParam1" value="formValue1">
    6363<input name="formParam2">
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r66721 r66735  
    31483148BUGWK45061 : fast/forms/focus2.html = FAIL
    31493149
    3150 // Failing after r66669
    3151 BUGWK66669 WIN : http/tests/inspector/console-xhr-logging.html = TEXT
    3152 BUGWK66669 WIN : http/tests/inspector/resource-har-conversion.html = TEXT
    3153 
    31543150// Flaky tests
    31553151BUG54329 MAC : fast/forms/select-baseline.html = IMAGE
  • trunk/WebKitTools/ChangeLog

    r66727 r66735  
     12010-09-03  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        Reviewed by Yury Semikhatsky.
     4
     5        http/tests/inspector/console-xhr-logging.html and http/tests/inspector/resource-har-conversion.html are failing on chromium win bot
     6        Changed MIME type for .js to application/x-javascript for consistency with apache used on other platforms.
     7        https://bugs.webkit.org/show_bug.cgi?id=45137
     8
     9        * Scripts/webkitpy/layout_tests/port/lighttpd.conf:
     10
    1112010-09-03  Gabor Rapcsanyi  <rgabor@inf.u-szeged.hu>
    212
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/lighttpd.conf

    r56994 r66735  
    2323  ".xhtml"        =>      "application/xhtml+xml",
    2424  ".xhtmlmp"      =>      "application/vnd.wap.xhtml+xml",
    25   ".js"           =>      "text/javascript",
     25  ".js"           =>      "application/x-javascript",
    2626  ".log"          =>      "text/plain",
    2727  ".conf"         =>      "text/plain",
Note: See TracChangeset for help on using the changeset viewer.