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

Unified Diff: chrome/renderer/resources/extensions/notifications_test_util.js

Issue 1840453002: [Extensions] More bindings hardening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: chrome/renderer/resources/extensions/notifications_test_util.js
diff --git a/chrome/renderer/resources/extensions/notifications_test_util.js b/chrome/renderer/resources/extensions/notifications_test_util.js
index 85a30eee2bc1eeca029744e8ad0fca4885edbae6..35bf192aea845db51d876171c785f0bd9d269752 100644
--- a/chrome/renderer/resources/extensions/notifications_test_util.js
+++ b/chrome/renderer/resources/extensions/notifications_test_util.js
@@ -38,7 +38,9 @@ var requireNative = function(library) {
}[library];
}
-var exports = {};
+var exports = {
+ $set: function(k, v) { this.k = v; }
+};
var $Array = {
push: function (ary, val) {

Powered by Google App Engine
This is Rietveld 408576698