But only reset if the pref has been toggled from the Browser Toolbox UI, to prevent
unexpected resetting if the pref was changed from about:config before opening the
Browser Toolbox.
MozReview-Commit-ID: LwI2M5Uj4jf
This allows multiple browser toolboxes to be opened at once, assuming the host
profiles have different values for devtools.debugger.chrome-debugging-port
MozReview-Commit-ID: 1bzsZFww4Zv
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.
MozReview-Commit-ID: LAzvfm5Qhy0
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim
MozReview-Commit-ID: Dyc2UUJGsrs
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim
MozReview-Commit-ID: Dyc2UUJGsrs
Right now HTML inputs do not get a context menu when being right clicked. The inspector
works around this by calling toolbox.openTextBoxContextMenu on each individual input,
but the rest of the toolbox can be served by handling this at the toolbox level.
MozReview-Commit-ID: KuRQmuf01xh
When the event prioritization is enabled, we'll reserve some time to process input events in each frame. In that case the synthesized input events delay the execution of normal events a lot and cause the test timeout.
MozReview-Commit-ID: 1G3ggeaZ1Os
This evolves restoreScratchpadSession into restoreDevToolsSession which can keep track
of more than just scratchpad windows. In this case we also restore the Browser Console.
MozReview-Commit-ID: D4vOGkpq8xH
When the event prioritization is enabled, we'll reserve some time to process input events in each frame. In that case the synthesized input events delay the execution of normal events a lot and cause the test timeout.
MozReview-Commit-ID: 1G3ggeaZ1Os
This adds a simple wrapper for the source map service. This wrapper
logs errors using console.error, preserving the status quo from before
this series.
MozReview-Commit-ID: 2ckUZaerrcJ
Before trying to migrate Browser Toolbox profile dirs, ensure the old and new
dirs are actually different. This avoids an issue where we were constantly
"migrating" the profile to the same place, effectively deleting it on every run.
MozReview-Commit-ID: FUAb2G21nbV
If a devtools entry point isn't hit in a test (toolbox open, keyboard shortcut,
opening the web dev menu, etc), then things like the menu items aren't installed.
This is for performance reasons (Bug 1359855), but it means that some tests
may fail when run alone. Prevent that from happening by forcing devtools to start
up in shared-head.js.
This causes certain tests to fail when run alone if they don't open the tools
MozReview-Commit-ID: ANuUhYXIbSF
This is needed to:
1. force the devtools system addon installation when starting the BT instance of FF
2. avoid the addon update prompt
Another approach is to create a separate user.js pref file to fix 1. However with this
approach there is currently no way to fix 2.
MozReview-Commit-ID: palK2hION0
Per definition of this bug/patch, key shortcuts can't be registered anymore.
It mostly means that add-on definition a key shortcut won't keep their key shortcut working.
This shouldn't be an issue on 57 as I don't think WebExtension addon can set a key shortcut via this DevTools API.
MozReview-Commit-ID: G5c8JzaUWoR