Closed Bug 1452748 Opened 6 years ago Closed 6 years ago

Update Debugger Frontend v33

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox61 fixed)

RESOLVED FIXED
Firefox 61
Tracking Status
firefox61 --- fixed

People

(Reporter: jlast, Assigned: jlast)

References

Details

Attachments

(1 file, 1 obsolete file)

Assignee: nobody → jlaster
Priority: -- → P3
Attached patch rel-33.patch (obsolete) — Splinter Review
Attachment #8966352 - Flags: review?(jdescottes)
- there were too many commits on master to add everything to 33, so this is just a partial list
- there are some firebug additions (that will be gone in 34)
I need to backport 

commit 4f62b4b0dd71def8e539ea85a4047899c8775a79
Author: Gregory Mierzwinski <gmierz2@outlook.com>
Date:   Fri Apr 6 13:38:44 2018 -0400

    Bug 1448523 - Disable browser_dbg-babel-preview.js on windows10-64-ccov. r=jmaher

    This patch disables devtools/client/debugger/new/test/mochitest/browser_dbg-babel-preview.js when run on windows10-64-ccov.

    MozReview-Commit-ID: HWoAsO0Q8tY
this flips moz-scopes, but that likely will need to be reverted bc of talos
Comment on attachment 8966352 [details] [diff] [review]
rel-33.patch

Review of attachment 8966352 [details] [diff] [review]:
-----------------------------------------------------------------

Try is orange with leaks on several debugger tests.
Still fails DAMP:
  ./mach talos-test --activeTests damp --subtest custom.debugger --cycles 1 --tppagecycles 1
+ missing sync from mc

::: devtools/client/debugger/new/test/mochitest/browser.ini
@@ +136,5 @@
>  [browser_dbg-async-stepping.js]
>  [browser_dbg-babel-breakpoint-console.js]
>  [browser_dbg-babel-scopes.js]
>  [browser_dbg-babel-stepping.js]
>  [browser_dbg-babel-preview.js]

Missing sync from Bug 1448523 (on a sidenote the test should not have been disabled, it should require longer timeout)
Attachment #8966352 - Flags: review?(jdescottes)
Attached patch rel-33-2.patchSplinter Review
Attachment #8966352 - Attachment is obsolete: true
Attachment #8966598 - Flags: review?(jdescottes)
This should all be fixed.

I disabled map-scopes in talos while we work on the features performance. The talos test is the evil case for original scopes. We can re-enable it after we land some performance fixes to the feature. When we do, we should be careful that we don't swamp the performance of stepping.
Comment on attachment 8966598 [details] [diff] [review]
rel-33-2.patch

Review of attachment 8966598 [details] [diff] [review]:
-----------------------------------------------------------------

r+ with comments addressed and green try.

::: devtools/client/debugger/new/test/mochitest/browser.ini
@@ +135,5 @@
>  [browser_dbg-asm.js]
>  [browser_dbg-async-stepping.js]
>  [browser_dbg-babel-breakpoint-console.js]
>  [browser_dbg-babel-scopes.js]
> +skip-if = (os == "win" && ccov) # Bug 1448523

Wrong test, this should be on browser_dbg-babel-preview.js

::: testing/talos/talos/tests/devtools/addon/content/tests/head.js
@@ +40,5 @@
>  }
>  exports.runTest = runTest;
>  
>  exports.testSetup = function(url) {
> +  Services.prefs.setBoolPref("devtools.debugger.features.map-scopes", false);

Can we do that in the custom debugger test rather than here? With a comment explaining why this is needed.

/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js

@@ +45,5 @@
>    return damp.testSetup(url);
>  };
>  
>  exports.testTeardown = function() {
> +  Services.prefs.clearBoolPref("devtools.debugger.features.map-scopes");

clearBoolPref does not exist, you probably want clearUserPref.

(and let's move this to the debugger test as well)
Attachment #8966598 - Flags: review?(jdescottes) → review+
Pushed by jlaster@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/417fa1dd6bb9
Update Debugger Frontend v33. r=jdescottes
https://hg.mozilla.org/mozilla-central/rev/417fa1dd6bb9
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: