Closed
Bug 970995
Opened 10 years ago
Closed 10 years ago
Activate devtools-layers tracking for the system app
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: vingtetun, Assigned: vingtetun)
References
Details
Attachments
(1 file)
1.25 KB,
patch
|
paul
:
review+
janx
:
feedback+
|
Details | Diff | Splinter Review |
We still miss a good way to display it in Gaia but at least it will let us use it from logcat for now.
Assignee | ||
Updated•10 years ago
|
Blocks: devtools-layers
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8374134 -
Flags: review?(paul)
Updated•10 years ago
|
Attachment #8374134 -
Flags: feedback?(janx)
Comment 2•10 years ago
|
||
Vivien, did you say you get a crash on the new trackApp() call?
Flags: needinfo?(21)
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Jan Keromnes [:janx] from comment #2) > Vivien, did you say you get a crash on the new trackApp() call? It has not crashed but I was getting some errors. Now it works fine. I wonder if there is a new kind of cache mechanism on the device because I had to .|/build.sh gecko && ./flash.sh gecko| instead of the usual small script I'm running. Apparently paul is doing |adb shell rm -r /data/b2g/mozilla/*.default/startupCache| for some cache issue too those days.
Flags: needinfo?(21)
Comment 4•10 years ago
|
||
Comment on attachment 8374134 [details] [diff] [review] bug.tracking.systemapp.patch Review of attachment 8374134 [details] [diff] [review]: ----------------------------------------------------------------- Fine by me. Note that tracking the System App will cause the widget-creating code in Gaia to silently fail, because it will fail to querySelect iframe[mozapp=" + systemappURL + "]. Thus, until we find a good place to display the widgets, only the logcat output will be useable for the System App. ::: b2g/chrome/content/devtools.js @@ +66,5 @@ > + let systemapp = document.querySelector('#systemapp'); > + let manifestURL = systemapp.getAttribute("mozapp"); > + this.trackApp(manifestURL); > + > + let frames = systemapp.contentWindow.document.querySelectorAll('iframe[mozapp]'); Nit: I think this line is too long.
Attachment #8374134 -
Flags: feedback?(janx) → feedback+
Updated•10 years ago
|
Attachment #8374134 -
Flags: review?(paul) → review+
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Jan Keromnes [:janx] from comment #4) > Comment on attachment 8374134 [details] [diff] [review] > bug.tracking.systemapp.patch > > Review of attachment 8374134 [details] [diff] [review]: > ----------------------------------------------------------------- > > Fine by me. > > Note that tracking the System App will cause the widget-creating code in > Gaia to silently fail, because it will fail to querySelect iframe[mozapp=" + > systemappURL + "]. Thus, until we find a good place to display the widgets, > only the logcat output will be useable for the System App. That's fine to me since we need to fix bug 971008 to not ends up into an infinite loop :) > > ::: b2g/chrome/content/devtools.js > @@ +66,5 @@ > > + let systemapp = document.querySelector('#systemapp'); > > + let manifestURL = systemapp.getAttribute("mozapp"); > > + this.trackApp(manifestURL); > > + > > + let frames = systemapp.contentWindow.document.querySelectorAll('iframe[mozapp]'); > > Nit: I think this line is too long.
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc09cccba55c
Assignee: nobody → 21
Status: NEW → ASSIGNED
Comment 7•10 years ago
|
||
(In reply to Vivien Nicolas (:vingtetun) (:21) from comment #5) > That's fine to me since we need to fix bug 971008 to not ends up into an > infinite loop :) True. I wonder if it'll be easy to make the devtools layers completely reflow-free while they become more complex over time.
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fc09cccba55c
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•