зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1605046 - Ensure that only the Browser Toolbox iterate over process targets in the debugger. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57809 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
c896e17a5e
Коммит
cdbd115db4
|
@ -41,7 +41,7 @@ function addThreadEventListeners(thread: ThreadFront) {
|
|||
}
|
||||
|
||||
function attachAllTargets(currentTarget: Target) {
|
||||
return prefs.fission && currentTarget.chrome && !currentTarget.isAddon;
|
||||
return prefs.fission && currentTarget.isParentProcess;
|
||||
}
|
||||
|
||||
function setupEvents(dependencies: Dependencies) {
|
||||
|
|
|
@ -201,7 +201,7 @@ export type Target = {
|
|||
traits: Object,
|
||||
chrome: Boolean,
|
||||
url: string,
|
||||
isAddon: Boolean,
|
||||
isParentProcess: Boolean,
|
||||
isServiceWorker: boolean,
|
||||
|
||||
// Property installed by the debugger itself.
|
||||
|
|
|
@ -30,9 +30,6 @@ async function enableBreakpoint(dbg, index) {
|
|||
}
|
||||
|
||||
add_task(async function() {
|
||||
// Disable Multiprocess Browser Toolbox for now as it introduces exceptions
|
||||
await pushPref("devtools.browsertoolbox.fission", false);
|
||||
|
||||
clearDebuggerPreferences();
|
||||
|
||||
info("Open a tab pointing to doc-scripts.html");
|
||||
|
|
Загрузка…
Ссылка в новой задаче