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

Unified Diff: extensions/renderer/resources/test_custom_bindings.js

Issue 2409723002: Remove chrome.test.runWithNativesEnabled (Closed)
Patch Set: Created 4 years, 2 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 | « extensions/common/api/test.json ('k') | extensions/renderer/v8_context_native_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/resources/test_custom_bindings.js
diff --git a/extensions/renderer/resources/test_custom_bindings.js b/extensions/renderer/resources/test_custom_bindings.js
index 6538efac1e31874921a909bbf0a2f30848491923..f54843f7923c91a7a7dd638305c371f33ab3e3ff 100644
--- a/extensions/renderer/resources/test_custom_bindings.js
+++ b/extensions/renderer/resources/test_custom_bindings.js
@@ -15,7 +15,6 @@ var natives = requireNative('test_native_handler');
var uncaughtExceptionHandler = require('uncaught_exception_handler');
var userGestures = requireNative('user_gestures');
-var RunWithNativesEnabled = requireNative('v8_context').RunWithNativesEnabled;
var GetModuleSystem = requireNative('v8_context').GetModuleSystem;
binding.registerCustomHook(function(api) {
@@ -123,10 +122,6 @@ binding.registerCustomHook(function(api) {
testDone();
});
- apiFunctions.setHandleRequest('runWithNativesEnabled', function(callback) {
- RunWithNativesEnabled(callback);
- });
-
apiFunctions.setHandleRequest('getModuleSystem', function(context) {
return GetModuleSystem(context);
});
« no previous file with comments | « extensions/common/api/test.json ('k') | extensions/renderer/v8_context_native_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698