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

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: Response to CR 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') | no next file with comments »
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 b9442336560385f26f5792c1ce8ff66dcb1fbead..1e78ffdb595214df6b2bb791950bad9d8560fe9f 100755
--- a/src/caterpillar.py
+++ b/src/caterpillar.py
@@ -103,16 +103,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698