Permalink
Browse files

REGRESSION(r103325) - injected-script-for-origin.html crashing in Chr…

…omium Linux debug


https://bugs.webkit.org/show_bug.cgi?id=74934

Unreviewed test fix.

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information...
1 parent 0711ad8 commit bade9e41516fb6007576a2fafd38e1bf67c879e7 caseq@chromium.org committed Dec 20, 2011
Showing with 11 additions and 2 deletions.
  1. +9 −0 LayoutTests/ChangeLog
  2. +2 −2 LayoutTests/http/tests/inspector/injected-script-for-origin.html
View
@@ -1,3 +1,12 @@
+2011-12-20 Andrey Kosyakov <caseq@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 <loislo@chromium.org>
chromium: unreviewed. Clean out passing tests from test_expectations.txt.
@@ -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");

0 comments on commit bade9e4

Please sign in to comment.