Status

Firefox OS
Gaia::System
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: kgrandon, Assigned: kgrandon)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: c= , p=2)

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Few things that we can fix up in the system app to cut down on some unnecessary logging.

[14:02:46.114] TypeError: function prettyDate does not always return a value @ http://system.gaiamobile.org:8080/shared/js/l10n_date.js:127
[14:02:47.826] Error in parsing value for 'background-color'.  Declaration dropped. @ http://system.gaiamobile.org:8080/style/window.css:30
[14:02:48.648] GET http://system.gaiamobile.org:8080/style/themes/default/images/ui/default.png [HTTP/1.1 200 OK 78ms]
[14:02:48.649] GET http://system.gaiamobile.org:8080/style/battery_manager/images/header_bg.png [HTTP/1.1 200 OK 113ms]
[14:02:48.786] GET http://system.gaiamobile.org:8080/style/notifications/images/grey-noise-bg.png [HTTP/1.1 200 OK 117ms]
[14:02:48.737] ReferenceError: LockScreen is not defined @ http://system.gaiamobile.org:8080/js/statusbar.js:416
[14:02:48.738] TypeError: function icc_getICC does not always return a value @ http://system.gaiamobile.org:8080/js/icc.js:58
[14:02:48.738] TypeError: function icc_handleSTKCommand does not always return a value @ http://system.gaiamobile.org:8080/js/icc.js:76
[14:02:48.738] ReferenceError: reference to undefined property window.navigator.mozMobileConnection.icc @ http://system.gaiamobile.org:8080/js/icc.js:59
[14:02:48.734] "[l10n] #shortTimeFormat is undefined."
[14:02:48.735] "[l10n] #statusbarDateFormat is undefined."
[14:02:48.935] GET http://system.gaiamobile.org:8080/resources/icc.json [HTTP/1.1 404 Not Found 184ms]
[14:02:48.936] GET http://system.gaiamobile.org:8080/style/statusbar/images/icons.png [HTTP/1.1 200 OK 114ms]
[14:02:48.937] GET http://system.gaiamobile.org:8080/shared/locales/branding/branding.en-US.properties [HTTP/1.1 200 OK 170ms]
[14:02:48.814] TypeError: anonymous function does not always return a value @ http://system.gaiamobile.org:8080/js/window_manager.js:1980
[14:02:48.810] "Stale lock in settings_listener.js." "See https://bugzilla.mozilla.org/show_bug.cgi?id=793239"
[14:02:48.828] TypeError: function dsw_formatSize does not always return a value @ http://system.gaiamobile.org:8080/js/storage_watcher.js:111
[14:02:49.045] GET http://system.gaiamobile.org:8080/style/shared/progress.gif [HTTP/1.1 200 OK 114ms]
[14:02:49.046] GET http://system.gaiamobile.org:8080/locales/system.en-US.properties [HTTP/1.1 200 OK 212ms]
[14:02:49.046] GET http://system.gaiamobile.org:8080/style/quick_settings/images/airplane-mode-off.png [HTTP/1.1 200 OK 110ms]
[14:02:49.047] GET http://system.gaiamobile.org:8080/style/quick_settings/images/bluetooth-off.png [HTTP/1.1 200 OK 106ms]
[14:02:49.048] GET http://system.gaiamobile.org:8080/style/lockscreen/images/mask.png [HTTP/1.1 200 OK 132ms]
[14:02:49.049] GET http://system.gaiamobile.org:8080/style/lockscreen/images/handle.png [HTTP/1.1 200 OK 99ms]
[14:02:49.049] GET http://system.gaiamobile.org:8080/style/lockscreen/images/icon-camera.png [HTTP/1.1 200 OK 99ms]
[14:02:49.050] GET http://system.gaiamobile.org:8080/style/lockscreen/images/icon-unlock.png [HTTP/1.1 200 OK 99ms]
[14:02:49.051] GET http://system.gaiamobile.org:8080/shared/locales/date/date.en-US.properties [HTTP/1.1 200 OK 205ms]
[14:02:49.131] GET http://system.gaiamobile.org:8080/shared/locales/permissions/permissions.en-US.properties [HTTP/1.1 200 OK 218ms]
[14:02:48.998] HTTP load failed with status 404. Load of media resource http://system.gaiamobile.org:8080/resources/power/carrier_power_on.mp4 failed. @ http://system.gaiamobile.org:8080/
[14:02:49.014] TypeError: xhr.response is null @ http://system.gaiamobile.org:8080/js/icc.js:39
[14:02:49.232] "Stale lock in settings_listener.js." "See https://bugzilla.mozilla.org/show_bug.cgi?id=793239"
[14:02:49.753] ReferenceError: reference to undefined property runningApps[displayedApp] @ http://system.gaiamobile.org:8080/js/window_manager.js:1890
[14:02:51.573] ReferenceError: reference to undefined property this._containers @ resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/markupview/markup-view.js:343
[14:02:51.573] TypeError: this._containers is undefined @ resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/markupview/markup-view.js:343
(Assignee)

Comment 1

5 years ago
Created attachment 767012 [details]
Github pull request pointer

There's a lot more we can do here to remove log spam, but the other fixes will require deeper investigation. Let's land the easy one for now.
Attachment #767012 - Flags: feedback?(dzbarsky)
Attachment #767012 - Flags: feedback?(dzbarsky) → feedback+
(Assignee)

Comment 2

5 years ago
In master: https://github.com/mozilla-b2g/gaia/commit/a013abc82b6b82c1afddad236c1cee2f2ac72859 

Thanks!
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.