2010-12-17 Andrey Kosyakov <caseq@chromium.org>
authorcaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Dec 2010 09:48:06 +0000 (09:48 +0000)
committercaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Dec 2010 09:48:06 +0000 (09:48 +0000)
        Unreviewed test fix: removed real user agent from test expectations.

        * http/tests/inspector/extensions-headers-expected.txt:
        * http/tests/inspector/extensions-headers.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@74239 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/inspector/extensions-headers-expected.txt
LayoutTests/http/tests/inspector/extensions-headers.html

index 44ffc51..328b1ac 100644 (file)
@@ -1,5 +1,12 @@
 2010-12-17  Andrey Kosyakov  <caseq@chromium.org>
 
+        Unreviewed test fix: removed real user agent from test expectations.
+
+        * http/tests/inspector/extensions-headers-expected.txt:
+        * http/tests/inspector/extensions-headers.html:
+
+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:
index 97b09a0..3e67a16 100644 (file)
@@ -2,8 +2,6 @@ Tests WebInspector extension API
 
 HTTP_X_WEBINSPECTOR_EXTENSION: test
 HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
-HTTP_X_WEBINSPECTOR_EXTENSION: 
-HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533+ (KHTML, like Gecko)
 Started extension.
 Running tests...
 RUNNING TEST: extension_testAddHeaders
index 2ab4fbc..5538774 100644 (file)
@@ -16,9 +16,8 @@ function extension_testAddHeaders(nextTest)
             "x-webinspector-extension": null,
             "user-agent": null
         });
-        webInspector.inspectedWindow.eval("doXHR()", nextTest);
     }
-    webInspector.inspectedWindow.eval("doXHR()", cleanUpHeaders);
+    webInspector.inspectedWindow.eval("doXHR()", callbackAndNextTest(cleanUpHeaders, nextTest));
 }
 
 function doXHR()