Title: [103333] trunk/LayoutTests
Revision
103333
Author
ca...@chromium.org
Date
2011-12-20 08:32:25 -0800 (Tue, 20 Dec 2011)

Log Message

REGRESSION(r103325) - injected-script-for-origin.html crashing in Chromium Linux debug
https://bugs.webkit.org/show_bug.cgi?id=74934

Unreviewed test fix.

* http/tests/inspector/injected-script-for-origin.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (103332 => 103333)


--- trunk/LayoutTests/ChangeLog	2011-12-20 16:27:31 UTC (rev 103332)
+++ trunk/LayoutTests/ChangeLog	2011-12-20 16:32:25 UTC (rev 103333)
@@ -1,3 +1,12 @@
+2011-12-20  Andrey Kosyakov  <ca...@chromium.org>
+
+        REGRESSION(r103325) - injected-script-for-origin.html crashing in Chromium Linux debug
+        https://bugs.webkit.org/show_bug.cgi?id=74934
+
+        Unreviewed test fix.
+
+        * http/tests/inspector/injected-script-for-origin.html:
+
 2011-12-20  Ilya Tikhonovsky  <loi...@chromium.org>
 
         chromium: unreviewed. Clean out passing tests from test_expectations.txt.

Modified: trunk/LayoutTests/http/tests/inspector/injected-script-for-origin.html (103332 => 103333)


--- trunk/LayoutTests/http/tests/inspector/injected-script-for-origin.html	2011-12-20 16:27:31 UTC (rev 103332)
+++ trunk/LayoutTests/http/tests/inspector/injected-script-for-origin.html	2011-12-20 16:32:25 UTC (rev 103333)
@@ -17,8 +17,8 @@
         }
     }
     top.addEventListener("message", onMessage, false);
-    InspectorFrontendHost.setInjectedScriptForOrigin("http://127.0.0.1:8000", "window.foo = '127.0.0.1';");
-    InspectorFrontendHost.setInjectedScriptForOrigin("http://localhost:8000", "window.foo = 'localhost';");
+    InspectorFrontendHost.setInjectedScriptForOrigin("http://127.0.0.1:8000", "(function() { window.foo = '127.0.0.1'; return {}})");
+    InspectorFrontendHost.setInjectedScriptForOrigin("http://localhost:8000", "(function() { window.foo = 'localhost'; return {}})");
     function addSubframe(url)
     {
         var iframe = document.createElement("iframe");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to