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

Unified Diff: content/shell/webkit_test_runner.js

Issue 11829002: [content shell] add support for dumping frame load callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « content/shell/webkit_test_runner.cc ('k') | content/shell/webkit_test_runner_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/webkit_test_runner.js
diff --git a/content/shell/webkit_test_runner.js b/content/shell/webkit_test_runner.js
index 35f0e961d6d4062f09bcddc15a65e35e28a0ec68..ad13141c87f40c2788e475045e29a05338d3c382 100644
--- a/content/shell/webkit_test_runner.js
+++ b/content/shell/webkit_test_runner.js
@@ -8,6 +8,10 @@ var testRunner = testRunner || {};
native function CloseWebInspector();
native function Display();
native function DumpEditingCallbacks();
+ native function DumpFrameLoadCallbacks();
+ native function DumpUserGestureInFrameLoadCallbacks();
+ native function SetStopProvisionalFrameLoads();
+ native function DumpTitleChanges();
native function EvaluateInWebInspector();
native function ExecCommand();
native function GetWorkerThreadCount();
@@ -85,7 +89,18 @@ var testRunner = testRunner || {};
Object.defineProperty(this,
"dumpEditingCallbacks",
{value: DumpEditingCallbacks});
-
+ Object.defineProperty(this,
+ "dumpFrameLoadCallbacks",
+ {value: DumpFrameLoadCallbacks});
+ Object.defineProperty(this,
+ "dumpUserGestureInFrameLoadCallbacks",
+ {value: DumpUserGestureInFrameLoadCallbacks});
+ Object.defineProperty(this,
+ "setStopProvisionalFrameLoads",
+ {value: SetStopProvisionalFrameLoads});
+ Object.defineProperty(this,
+ "dumpTitleChanges",
+ {value: DumpTitleChanges});
Object.defineProperty(this,
"globalFlag",
« no previous file with comments | « content/shell/webkit_test_runner.cc ('k') | content/shell/webkit_test_runner_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698