Changeset 74237 in webkit


Ignore:
Timestamp:
Dec 17, 2010 1:13:27 AM (13 years ago)
Author:
caseq@chromium.org
Message:

2010-12-17 Andrey Kosyakov <caseq@chromium.org>

Unreviewed. Clean up extra headers set in test to avoid side effects on other tests.

  • http/tests/inspector/extensions-headers-expected.txt:
  • http/tests/inspector/extensions-headers.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r74235 r74237  
     12010-12-17  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        Unreviewed. Clean up extra headers set in test to avoid side effects on other tests.
     4
     5        * http/tests/inspector/extensions-headers-expected.txt:
     6        * http/tests/inspector/extensions-headers.html:
     7
    182010-12-17  Eric Seidel  <eric@webkit.org>
    29
  • trunk/LayoutTests/http/tests/inspector/extensions-headers-expected.txt

    r74234 r74237  
    33HTTP_X_WEBINSPECTOR_EXTENSION: test
    44HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
     5HTTP_X_WEBINSPECTOR_EXTENSION:
     6HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533+ (KHTML, like Gecko)
    57Started extension.
    68Running tests...
  • trunk/LayoutTests/http/tests/inspector/extensions-headers.html

    r74234 r74237  
    1111        "user-agent": "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)"
    1212    });
    13     webInspector.inspectedWindow.eval("doXHR()", nextTest);
     13    function cleanUpHeaders()
     14    {
     15        webInspector.resources.addRequestHeaders({
     16            "x-webinspector-extension": null,
     17            "user-agent": null
     18        });
     19        webInspector.inspectedWindow.eval("doXHR()", nextTest);
     20    }
     21    webInspector.inspectedWindow.eval("doXHR()", cleanUpHeaders);
    1422}
    1523
     
    2230    // which is not serialized against output from extension, as the latter is posted asynchronously via
    2331    // postMessage to front-end window.
    24     document.getElementById("headers").textContent = xhr.responseText;
     32    document.getElementById("headers").textContent += xhr.responseText;
    2533}
    2634
Note: See TracChangeset for help on using the changeset viewer.