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

Unified Diff: LayoutTests/http/tests/inspector/resources/extension-main.js

Issue 1176133003: DevTools: deflake extensions-resources.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: extracted loaded resources into an iframe 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
« no previous file with comments | « no previous file | LayoutTests/inspector/extensions/extensions-resources.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/resources/extension-main.js
diff --git a/LayoutTests/http/tests/inspector/resources/extension-main.js b/LayoutTests/http/tests/inspector/resources/extension-main.js
index e7196f492cc4143823f6112ad197cb922e5014c7..b331e20786d58a9729c8d0e69e4cf3a8feb85d6b 100644
--- a/LayoutTests/http/tests/inspector/resources/extension-main.js
+++ b/LayoutTests/http/tests/inspector/resources/extension-main.js
@@ -48,6 +48,11 @@ function evaluateOnFrontend(expression, callback)
window._extensionServerForTests.sendRequest({ command: "evaluateForTestInFrontEnd", expression: expression }, callback);
}
+function invokePageFunctionAsync(functionName, callback)
+{
+ evaluateOnFrontend("InspectorTest.invokePageFunctionAsync('" + functionName + "', reply)", callback);
+}
+
function output(message)
{
evaluateOnFrontend("InspectorTest.addResult(unescape('" + escape(message) + "'));");
« no previous file with comments | « no previous file | LayoutTests/inspector/extensions/extensions-resources.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698