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

Unified Diff: chrome/renderer/resources/extensions/platform_keys/key.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/platform_keys/key.js
diff --git a/chrome/renderer/resources/extensions/platform_keys/key.js b/chrome/renderer/resources/extensions/platform_keys/key.js
index e46bbcb3522ac0eef4c2d5f4903d0308ae415731..ee29bf01691b443b4064db61746ae5655ac5b15f 100644
--- a/chrome/renderer/resources/extensions/platform_keys/key.js
+++ b/chrome/renderer/resources/extensions/platform_keys/key.js
@@ -69,7 +69,7 @@ function getSpki(key) {
return keyImpl.spki;
}
-exports.Key = Key;
-exports.KeyType = KeyType;
-exports.KeyUsage = KeyUsage;
-exports.getSpki = getSpki;
+exports.$set('Key', Key);
+exports.$set('KeyType', KeyType);
+exports.$set('KeyUsage', KeyUsage);
+exports.$set('getSpki', getSpki);

Powered by Google App Engine
This is Rietveld 408576698