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

Unified Diff: content/shell/webkit_test_runner.js

Issue 11316244: [content shell] add support for a testRunner.setXSSAuditorEnabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 1 month 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 54c6d58e1d09065c4f07a1b090dd0bd1aaa14501..1cfe81d2cae182f3cea99d033758274ddf598cad 100644
--- a/content/shell/webkit_test_runner.js
+++ b/content/shell/webkit_test_runner.js
@@ -13,6 +13,7 @@ var testRunner = testRunner || {};
native function SetPrinting();
native function SetShouldStayOnPageAfterHandlingBeforeUnload();
native function SetWaitUntilDone();
+ native function SetXSSAuditorEnabled();
native function NotImplemented();
@@ -45,6 +46,9 @@ var testRunner = testRunner || {};
this,
"setShouldStayOnPageAfterHandlingBeforeUnload",
{value: SetShouldStayOnPageAfterHandlingBeforeUnload});
+ Object.defineProperty(this,
+ "setXSSAuditorEnabled",
+ {value: SetXSSAuditorEnabled});
Object.defineProperty(this, "waitUntilDone", {value: SetWaitUntilDone});
var stubs = [
« 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