Changeset 74237 in webkit
- Timestamp:
- Dec 17, 2010 1:13:27 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r74235 r74237 1 2010-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 1 8 2010-12-17 Eric Seidel <eric@webkit.org> 2 9 -
trunk/LayoutTests/http/tests/inspector/extensions-headers-expected.txt
r74234 r74237 3 3 HTTP_X_WEBINSPECTOR_EXTENSION: test 4 4 HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0) 5 HTTP_X_WEBINSPECTOR_EXTENSION: 6 HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533+ (KHTML, like Gecko) 5 7 Started extension. 6 8 Running tests... -
trunk/LayoutTests/http/tests/inspector/extensions-headers.html
r74234 r74237 11 11 "user-agent": "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)" 12 12 }); 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); 14 22 } 15 23 … … 22 30 // which is not serialized against output from extension, as the latter is posted asynchronously via 23 31 // postMessage to front-end window. 24 document.getElementById("headers").textContent = xhr.responseText;32 document.getElementById("headers").textContent += xhr.responseText; 25 33 } 26 34
Note: See TracChangeset
for help on using the changeset viewer.