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

Unified Diff: src/caterpillar.py

Issue 1642833002: Stubbed runtime and app.runtime in caterpillar.js. Resolves #8. (Closed) Base URL: git@github.com:chromium/caterpillar.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | src/js/caterpillar.js » ('j') | src/js/caterpillar.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/caterpillar.py
diff --git a/src/caterpillar.py b/src/caterpillar.py
index 603a52f4d68b77576c2cc00d89020cf5e87066a8..75afb3b735b6b62057438e196e29cdb49cb98355 100755
--- a/src/caterpillar.py
+++ b/src/caterpillar.py
@@ -97,16 +97,6 @@ var CACHED_FILES = [
importScripts('{boilerplate_dir}/caterpillar.js');
importScripts('{boilerplate_dir}/sw_static.js');
-// Ignore calls to chrome.app.runtime.onLaunched.addListener from the background
-// scripts.
-chrome.app = {{
- runtime: {{
- onLaunched: {{
- addListener: function() {{}}
- }}
- }}
-}};
-
// TODO: (Caterpillar) Edit background scripts to remove chrome.app.runtime
// dependence.
"""
« no previous file with comments | « no previous file | src/js/caterpillar.js » ('j') | src/js/caterpillar.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698