2011-03-16 Pavel Podivilov <podivilov@chromium.org>

        Unreviewed, fix live-edit test broken by r81238.

        * inspector/debugger/live-edit.html:


git-svn-id: svn://svn.chromium.org/blink/trunk@81258 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 9e9bf274
2011-03-16 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, fix live-edit test broken by r81238.
* inspector/debugger/live-edit.html:
2011-03-16 Brian Weinstein <bweinstein@apple.com>
Make the files added -expected.txt instead of -actual.txt so run-webkit-tests
......@@ -18,8 +18,8 @@ function test()
function didShowScriptSource(sourceFrame)
{
InspectorTest.addSniffer(WebInspector.debuggerModel, "_updateScriptSource", didEditScriptSource);
sourceFrame._textModel.text = sourceFrame._textModel.text.replace("return 0;", "return \"live-edited string\";");
sourceFrame._handleSave();
var newText = sourceFrame._textModel.text.replace("return 0;", "return \"live-edited string\";");
sourceFrame._delegate.editScriptSource(newText);
}
function didEditScriptSource()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment