Closed Bug 1440388 Opened 7 years ago Closed 7 years ago

Devtools Reps: update bundle to v0.21.0

Categories

(DevTools :: Shared Components, enhancement)

enhancement
Not set
normal

Tracking

(firefox60 wontfix, firefox61 fixed)

RESOLVED FIXED
Firefox 61
Tracking Status
firefox60 --- wontfix
firefox61 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(4 files)

      No description provided.
Blocks: 1440385
Blocks: 1390027
The bundle is not quite ready yet, but the other patches can be reviewed
Comment on attachment 8958738 [details]
Bug 1440388 - Fix failing test with new Reps bundle; .

https://reviewboard.mozilla.org/r/227658/#review233786

Looks good to me.
R+ assuming try is green
Honza
Attachment #8958738 - Flags: review?(odvarko) → review+
Comment on attachment 8958739 [details]
Bug 1440388 - Adapt JSONViewer to the new Reps bundle; .

https://reviewboard.mozilla.org/r/227660/#review233790

Thanks for working on this!

Please see my inline comment.

Honza

::: devtools/client/jsonview/test/browser_jsonview_url_linkification.js:24
(Diff revision 1)
>      let link = document.querySelector(".jsonPanelBox .treeTable .treeValueCell a");
> -    is(link.href, url, "The URL was linkified.");
> -    is(link.textContent, url, "The full URL is displayed.");
> +    is(link.textContent, expectedURL, "The full URL is displayed.");
> +    link.click();
> +  });
> +
> +  let newTab = await onTabLoaded;

What about reducing the amount of code by introducing a helper method that:

1) calls waitForNewTab
2) calls ContentTask.spawn + optionally clicks the label
3) waits for the new tab loaded

Custom message log text can be passed into the helper.

A flag indicating whether the label should be clicked can be passed in too.
Attachment #8958739 - Flags: review?(odvarko)
Comment on attachment 8958739 [details]
Bug 1440388 - Adapt JSONViewer to the new Reps bundle; .

https://reviewboard.mozilla.org/r/227660/#review233790

> What about reducing the amount of code by introducing a helper method that:
> 
> 1) calls waitForNewTab
> 2) calls ContentTask.spawn + optionally clicks the label
> 3) waits for the new tab loaded
> 
> Custom message log text can be passed into the helper.
> 
> A flag indicating whether the label should be clicked can be passed in too.

done
Comment on attachment 8958739 [details]
Bug 1440388 - Adapt JSONViewer to the new Reps bundle; .

https://reviewboard.mozilla.org/r/227660/#review234416

Looks great now, thanks!
R+ assuming try is green
Honza
Attachment #8958739 - Flags: review?(odvarko) → review+
Comment on attachment 8959480 [details]
Bug 1440388 - Adapt webconsole.css to the new Reps bundle; .

https://reviewboard.mozilla.org/r/228272/#review234418
Attachment #8959480 - Flags: review?(odvarko) → review+
Comment on attachment 8958428 [details]
Bug 1440388 - devtools-reps: release v0.21.0; .

https://reviewboard.mozilla.org/r/227380/#review234420
Attachment #8958428 - Flags: review?(odvarko) → review+
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aa46f0522cfd
devtools-reps: release v0.21.0; r=Honza.
https://hg.mozilla.org/integration/autoland/rev/6b359e9acbf4
Fix failing test with new Reps bundle; r=Honza.
https://hg.mozilla.org/integration/autoland/rev/03b4dbb07486
Adapt JSONViewer to the new Reps bundle; r=Honza.
https://hg.mozilla.org/integration/autoland/rev/fed69455a832
Adapt webconsole.css to the new Reps bundle; r=Honza.
https://hg.mozilla.org/mozilla-central/rev/aa46f0522cfd
https://hg.mozilla.org/mozilla-central/rev/6b359e9acbf4
https://hg.mozilla.org/mozilla-central/rev/03b4dbb07486
https://hg.mozilla.org/mozilla-central/rev/fed69455a832
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Assignee: nobody → nchevobbe
Depends on: 1447820
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: