This allows us to open the context menu directly from webconsole.html when it's
running as a top level window. Ultimately, I'd like to not have to use special
handling in the console - all top-level windows should get the edit menu working
automatically for HTML inputs - but this lets us prove it out as a first consumer.
MozReview-Commit-ID: BYisQDtXWe4
This adds a `openContentLink` helper meant for any link controlled by web
content. If there is an associated toolbox open, the toolbox's tab is used to
supply a triggering principal for the link.
MozReview-Commit-ID: 45l5yAPGpZr
The patch handles timeLog packets we receive from the backend.
We add some stubs in order to have access to packets in mocha,
and some mocha tests to make sure we render those messages as expected,
be it when the timer exists or not.
The BASE_PATH constant now makes use of MOZ_DEVELOPER_REPO_DIR environment
variable in order to have an absolute path; without it the stubs couldn't
be written to local files.
MozReview-Commit-ID: Fx4DyRgOzcd
Now that the old frontend is in a dedicated folder, we can
remove the new-console-output folder and move its content
to devtools/client/webconsole, which will prevent confusion
while the old frontend is still around.
MozReview-Commit-ID: 57yM7IZhmAK