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

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

Issue 1417513003: [Extensions] Don't allow built-in extensions code to be overridden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Jochen's Created 5 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
Index: extensions/renderer/resources/event.js
diff --git a/extensions/renderer/resources/event.js b/extensions/renderer/resources/event.js
index bb71297fb01188cd6d808190ce4bb98511ece7e2..5f0b9129bba37a4b285c336c67fd3256d3f1be82 100644
--- a/extensions/renderer/resources/event.js
+++ b/extensions/renderer/resources/event.js
@@ -503,8 +503,8 @@
] });
// NOTE: Event is (lazily) exposed as chrome.Event from dispatcher.cc.
- exports.Event = Event;
+ exports.$set('Event', Event);
- exports.dispatchEvent = dispatchEvent;
- exports.parseEventOptions = parseEventOptions;
- exports.registerArgumentMassager = registerArgumentMassager;
+ exports.$set('dispatchEvent', dispatchEvent);
+ exports.$set('parseEventOptions', parseEventOptions);
+ exports.$set('registerArgumentMassager', registerArgumentMassager);
« no previous file with comments | « extensions/renderer/resources/entry_id_manager.js ('k') | extensions/renderer/resources/extension_custom_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698