Investigate how we can get report of blocked warning messages caused by eager evaluation
Categories
(DevTools :: Console, task, P3)
Tracking
(Not tracked)
People
(Reporter: nchevobbe, Unassigned)
References
Details
In Bug 1616721, we changed the URL eager evaluation are made in so we can block messages coming from this URL in the console server.
One concern is that some warning messages are only emitted once, and that by not showing the ones from eager evaluation, the user might miss one they would have when doing a true evaluation.
We should check if we could have those blocked messages reported to us one way or another so we can act quickly if we think there's a high chance for the user to miss important messages.
| Reporter | ||
Comment 1•6 years ago
|
||
Harald, would you have an idea on what we could use to do such thing?
Comment 2•6 years ago
|
||
Do we have an idea of which messages could be affected by this? These would be triggered by user input and not from rendering sites; so it is a special case already.
| Reporter | ||
Comment 3•6 years ago
|
||
Logan pointed me to this function calls https://searchfox.org/mozilla-central/search?q=symbol:_ZNK7mozilla3dom8Document13WarnOnceAboutENS1_20DeprecatedOperationsEb&redirect=false , so it could be a lot of different things
Comment 4•6 years ago
|
||
So a big chunk of deprecated APIs that still work but shouldn't be used in content. Given that, I can't imagine a case where a console expression should trigger a warning once and where not having the warning is bad for the developer. Let's see if we get any reports or more specific problem cases.
| Reporter | ||
Updated•6 years ago
|
Updated•3 years ago
|
Description
•