Closed Bug 1400854 Opened 7 years ago Closed 7 years ago

Fix Watch Expressions + WASM feature flag

Categories

(DevTools :: Debugger, enhancement)

enhancement
Not set
normal

Tracking

(firefox57 fixed)

RESOLVED FIXED
Firefox 57
Tracking Status
firefox57 --- fixed

People

(Reporter: jlast, Assigned: jlast)

Details

Attachments

(2 files)

This fixes two small 57 regressioons:

* watch expression property loading when active
* WASM, which was accidentally flagged off
Attached patch 9-18-1.patchSplinter Review
Attachment #8909307 - Flags: review?(nchevobbe)
Comment on attachment 8909307 [details] [diff] [review]
9-18-1.patch

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

Seems okay for WASM support.
I have trouble understanding the watch expression thing. If we're in a hurry for 57, we should file a follow-up bug to have a test demonstrating the bug is indeed fixed.

::: devtools/client/debugger/new/debugger.js
@@ +21620,5 @@
>          getState = _ref16.getState;
>  
>      var objectId = object.actor || object.objectId;
>  
> +    if ((0, _selectors.getLoadedObject)(getState(), objectId)) {

Why and where it was failing, and what do we do now instead ? 
I have trouble understanding this code.
Maybe you could point me to the non-bundle version ?
Comment on attachment 8909307 [details] [diff] [review]
9-18-1.patch

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

We discussed this in Slack.
The original change is https://github.com/devtools-html/debugger.html/issues/4024, and a test case will be added here https://github.com/devtools-html/debugger.html/blob/master/src/test/mochitest/browser_dbg-expressions.js#L78-L79.
Attachment #8909307 - Flags: review?(nchevobbe) → review+
Comment on attachment 8909791 [details]
Bug 1400854 - Fix Watch Expressions + WASM feature flag.

https://reviewboard.mozilla.org/r/181284/#review186516

Already r+ on splinter
Attachment #8909791 - Flags: review?(nchevobbe) → review+
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fd2d3ed20c94
Fix Watch Expressions + WASM feature flag. r=nchevobbe
https://hg.mozilla.org/mozilla-central/rev/fd2d3ed20c94
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Product: Firefox → DevTools
Assignee: nobody → jlaster
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: