Title: [137727] trunk/LayoutTests
Revision
137727
Author
[email protected]
Date
2012-12-14 00:33:54 -0800 (Fri, 14 Dec 2012)

Log Message

http/tests/inspector/resource-main-cookies.php is broken on Mac after r137585
https://bugs.webkit.org/show_bug.cgi?id=104977

Patch by Eugene Klyuchnikov <[email protected]> on 2012-12-14
Reviewed by Vsevolod Vlasov.

Adopted Webkit Bug 104893 changes.

* http/tests/inspector/resource-main-cookies.php: Adopted changes.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (137726 => 137727)


--- trunk/LayoutTests/ChangeLog	2012-12-14 08:32:28 UTC (rev 137726)
+++ trunk/LayoutTests/ChangeLog	2012-12-14 08:33:54 UTC (rev 137727)
@@ -1,3 +1,14 @@
+2012-12-14  Eugene Klyuchnikov  <[email protected]>
+
+        http/tests/inspector/resource-main-cookies.php is broken on Mac after r137585
+        https://bugs.webkit.org/show_bug.cgi?id=104977
+
+        Reviewed by Vsevolod Vlasov.
+
+        Adopted Webkit Bug 104893 changes.
+
+        * http/tests/inspector/resource-main-cookies.php: Adopted changes.
+
 2012-12-13  Yoshifumi Inoue  <[email protected]>
 
         Copy platform/win/fast/events/panScroll-* to platform/chromium-win/fast/events

Modified: trunk/LayoutTests/http/tests/inspector/resource-main-cookies.php (137726 => 137727)


--- trunk/LayoutTests/http/tests/inspector/resource-main-cookies.php	2012-12-14 08:32:28 UTC (rev 137726)
+++ trunk/LayoutTests/http/tests/inspector/resource-main-cookies.php	2012-12-14 08:33:54 UTC (rev 137727)
@@ -24,12 +24,12 @@
         WebInspector.Cookies.getCookiesAsync(step3);
     }
 
-    function step3(allCookies, isAdvanced)
+    function step3(allCookies)
     {
         for (var i = 0; i < allCookies.length; i++) {
           var cookie = allCookies[i];
-            if (cookie.name === cookieName && cookie.domain() == cookieDomain) {
-                InspectorTest.addResult("Cookie: " + cookie.name + "=" + cookie.value + ".");
+            if (cookie.name() === cookieName && cookie.domain() == cookieDomain) {
+                InspectorTest.addResult("Cookie: " + cookie.name() + "=" + cookie.value() + ".");
             }
         }
         // Ensure cookie is deleted after testing.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to