Confirmed users
478
edits
(→Unlock Console API for Gaia: {{bug|1066581}}: console.log) |
|||
| Line 52: | Line 52: | ||
=== Unlock Console API for Gaia: {{bug|1066581}} === | === Unlock Console API for Gaia: {{bug|1066581}} === | ||
* '''Status:''' ' | * '''Status:''' The original bug is fixed by DevTools team, it's unclear whether or not we can/should turn on logs by default now. | ||
* '''Implication to v3''': Issue is valid unless we never try to pass MTBF again. | * '''Implication to v3''': Issue is valid unless we never try to pass MTBF again. | ||
* '''What is being blocked:''' Lot's of previous MTBF bugs. | * '''What is being blocked:''' Lot's of previous MTBF bugs. | ||
* '''What this bug will solve:''' From time to time, we are asked to debug '''MTBF''' issues with log. Currently, we have always have to work submit a patch with lines-to-print and ask QA engineers to re-run, instead of having these logging check into the tree. According to measurement in the bug, adding console.log() will slow down main thread significantly. '''There has been time where racing bugs simply become unreproducible when the log was added as well'''. The fix proposed here is to make logging faster, at least not noticeable until it's turned on from Gecko. Our logger in apps, currently, unfortunately, have to wire their own logging to a app script with it's own, special switch. | * '''What this bug will solve:''' From time to time, we are asked to debug '''MTBF''' issues with log. Currently, we have always have to work submit a patch with lines-to-print and ask QA engineers to re-run, instead of having these logging check into the tree. According to measurement in the bug, adding console.log() will slow down main thread significantly. '''There has been time where racing bugs simply become unreproducible when the log was added as well'''. The fix proposed here is to make logging faster, at least not noticeable until it's turned on from Gecko. Our logger in apps, currently, unfortunately, have to wire their own logging to a app script with it's own, special switch. | ||
== P2 == | == P2 == | ||