fune/devtools
Nicolas Chevobbe aa450f8374 Bug 1508549 - Better SmartTrace rendering strategy; r=Honza.
We used to re-render the component each time the sourcemapService
would give us a result for a single frame.
Combined with the frame grouping system, this could trigger
weird re-layout and might confuse user.
What's done in this patch is that when mounting, if a sourcemapService
is passed, we don't render anything, and start a race between
a delay of 300ms and the sourcemap results for *all* the frames.
If we don't have the original frames within 300ms, we render the
bundled frames. But, whenever we have the sourcemap results, we
trigger a re-render of the component.
This gives some room for the sourcemapService to fetch map files
without re-ordering things on the screen.
A test case is added to ensure we have the expected renders
when the sourcemap service takes more time than the inital delay.
We already have a case where the sourcemap service resuls are
received before the initial delay.

We also take this as an opportunity to fix minor CSS issues.

Differential Revision: https://phabricator.services.mozilla.com/D12037

--HG--
extra : moz-landing-system : lando
2018-12-06 14:21:01 +00:00
..
client Bug 1508549 - Better SmartTrace rendering strategy; r=Honza. 2018-12-06 14:21:01 +00:00
docs Bug 1509315 - Pass the full target form to all BrowsingContextTargetFront instances. r=yulia 2018-11-27 21:47:52 +00:00
platform Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
server Bug 1511900 - Fix some wording r=Ehsan 2018-12-05 20:00:57 +00:00
shared Bug 1492700 - Fix eslint failure in test_adb.js;r=fix 2018-12-06 10:33:02 -05:00
startup Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-08 11:39:58 +02:00
.eslintrc.js
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build
templates.mozbuild