Nit: use shortcuts and format such a multi-line statement as follows:

```
              Cc["@mozilla.org/network/application-cache-service;1"].
                getService(Ci.nsIApplicationCacheService).
                discardByAppId(appId, false);
```