Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(828)

Unified Diff: LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html

Issue 1211813002: DevTools: allow injecting CSS rules without breaking styles sidebar. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments addressed. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html
diff --git a/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html b/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html
index 77072abf3fbb7665f523ef7877992164b31e8402..ef865807e9f4c2871efbf885bb525a0628762965 100644
--- a/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html
+++ b/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html
@@ -248,7 +248,7 @@ InspectorTest.evaluateInPage = function(string, callback)
this.sendCommand("Runtime.evaluate", { "expression": string }, function(message) {
if (message.error)
InspectorTest.log("Error while executing '" + string + "': " + message.error.message);
- else
+ else if (callback)
callback();
});
};

Powered by Google App Engine
This is Rietveld 408576698