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

Unified Diff: chrome/test/data/extensions/api_test/stubs_app/background.js

Issue 1928193002: Revert of [Extensions] Finish freezing schema (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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 | « chrome/renderer/resources/extensions/content_setting.js ('k') | extensions/renderer/resources/binding.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/stubs_app/background.js
diff --git a/chrome/test/data/extensions/api_test/stubs_app/background.js b/chrome/test/data/extensions/api_test/stubs_app/background.js
index 50b729c3e8fe3edb72fced88ef2730994ce66c43..32ae43446fabc2dbd2d8d010b97fbd03bb6c46b7 100644
--- a/chrome/test/data/extensions/api_test/stubs_app/background.js
+++ b/chrome/test/data/extensions/api_test/stubs_app/background.js
@@ -22,8 +22,7 @@
[module.functions, module.events].forEach(function(section) {
if (typeof(section) == "undefined")
return;
- // Pieces of the module don't inherit from Array/Object.
- Array.prototype.forEach.call(section, function(entry) {
+ section.forEach(function(entry) {
apiPaths.push(namespace + "." + entry.name);
});
});
« no previous file with comments | « chrome/renderer/resources/extensions/content_setting.js ('k') | extensions/renderer/resources/binding.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698