This is nicer and will make it easier to assert RetAddrEntry invariants in
appendRetAddrEntry in the next patch.
Differential Revision: https://phabricator.services.mozilla.com/D38209
--HG--
extra : moz-landing-system : lando
Also use default constructors when possible to remove duplications.
Depends on D37944
Differential Revision: https://phabricator.services.mozilla.com/D37945
--HG--
extra : moz-landing-system : lando
Replace HashMap<T>* with Maybe<HashMap<T>> in memory reporting to have
simpler code and better ergonimics.
Differential Revision: https://phabricator.services.mozilla.com/D37944
--HG--
extra : moz-landing-system : lando
Preferences::GetBool is not thread-safe, StaticPrefs are.
Also StaticPrefs are nicer anyway.
There's a lot of Preferences:: usage in dom/media which looks suspicious, though
I don't know if all that runs on the main thread.
Differential Revision: https://phabricator.services.mozilla.com/D38097
--HG--
extra : moz-landing-system : lando
These structures all have a compatible jitCodeRaw and the JITs may now
call lazy functions. Also remove checks that only existed for lazy
script checking.
Special care must be taken around the jitCodeRawNoArgCheck entry point
which previously relied on having JitInfo implying we had the canonical
JSScript.
Differential Revision: https://phabricator.services.mozilla.com/D38255
--HG--
extra : moz-landing-system : lando
This union arm is used by lazy self-hosted functions to point to the
runtime SelfHostedLazyScript object. Previously this pointer was null
for these types of functions. This will make these types of functions
more JIT-friendly.
Also avoid setting the INTERPRETED_LAZY flag except for initLazyScript
and initSelfHostedLazyScript. We remove some dead code paths from
NewFunctionFromSpec / DefineFunction.
Differential Revision: https://phabricator.services.mozilla.com/D38254
--HG--
extra : moz-landing-system : lando
A lazy self-hosted function has neither a JSScript nor a LazyScript.
This patch adds a SelfHostedLazyScript type with a jitCodeRaw that
allows these functions to called directly by JIT via the interpreter
trampoline. Only one instance per Runtime is needed.
Differential Revision: https://phabricator.services.mozilla.com/D38253
--HG--
extra : moz-landing-system : lando
This helper distinguishes normal lazy functions from lazy self-hosted
funtions which have a nullptr LazyScript. A function may return true for
hasLazyScript but still return a null lazy-script if it has been
partially initialized and is still being accessed such as by GC.
Differential Revision: https://phabricator.services.mozilla.com/D38252
--HG--
extra : moz-landing-system : lando
This is initialized to the same interpreter trampoline as is used for
JSScript::jitCodeRaw. This allows JITs in the future to call scripted
functions that have not been delazified yet.
Differential Revision: https://phabricator.services.mozilla.com/D38251
--HG--
extra : moz-landing-system : lando
There is no guarantee that any RDP request will be completed when the toolbox
closes, so that we should do the cleanup from the actor side if anything
needs to be stopped or removed.
Differential Revision: https://phabricator.services.mozilla.com/D38371
--HG--
extra : moz-landing-system : lando
A test is added to ensure this is fixed properly.
We also fix the Array previewer to properly return
undefined for unknown array properties, rather than null.
Differential Revision: https://phabricator.services.mozilla.com/D38467
--HG--
extra : moz-landing-system : lando
The file was included in the index.html and was used
to create the WebConsoleWrapper.
We can directly create it from webconsole-ui.js and
not have this unusual mechanism.
Differential Revision: https://phabricator.services.mozilla.com/D38456
--HG--
extra : moz-landing-system : lando
We add a GridElementWidthResizer to handle the editor width.
The width is then persisted in a pref.
A test is added to ensure this works as expected.
Differential Revision: https://phabricator.services.mozilla.com/D37687
--HG--
extra : moz-landing-system : lando
We need this in the console to put the borders on the
right position, depending on the NotificationBox place.
Differential Revision: https://phabricator.services.mozilla.com/D38039
--HG--
extra : moz-landing-system : lando
Since we now have a GridElementWidthResizer element, we can
get rid of the SplitBox wrapping the SideBar, and have all
major elements as child of the App element, controlled by
a CSS Grid.
This makes it easy to change the console layout when toggling
the editor mode (re-ordering element in JS, changing the CSS
grid templates, and placing the element in different areas).
This also means we can take advantage of subgrid to align
the sidebar toolbar with the filter bar for example.
As the part of the stylesheet dedicated to layout grew, it
made sense to have it all in a separate stylesheet, App.css,
that lives next to the App component.
Differential Revision: https://phabricator.services.mozilla.com/D38038
--HG--
rename : devtools/client/themes/webconsole.css => devtools/client/webconsole/components/App.css
extra : moz-landing-system : lando
Make Firefox not assume type of member statvfs::f_frsize from sys head, which may vary
Differential Revision: https://phabricator.services.mozilla.com/D38306
--HG--
extra : moz-landing-system : lando
Adding a new opcional property to Frame.js, messageSource, which will allows us to know the source of the Message. We will be using this property to display the correct tooltip message.
Differential Revision: https://phabricator.services.mozilla.com/D38139
--HG--
extra : moz-landing-system : lando