Page MenuHomePhabricator

pbro (Patrick Brosset)
Disabled

Projects

User does not belong to any projects.

User Details

User Since
Sep 10 2018, 10:02 AM (381 w, 6 d)
Roles
Disabled
Review Queue
0

Recent Activity

Jun 18 2025

pbro committed rLARCH13931546cba0: Bug 1967727 [wpt PR 52685] - Map the CSS overlay tests to the overlay web….
Bug 1967727 [wpt PR 52685] - Map the CSS overlay tests to the overlay web…
Jun 18 2025, 12:49 PM
pbro committed rLARCH45a2251b4c55: Bug 1967772 [wpt PR 52696] - Map the layout-instability tests to the….
Bug 1967772 [wpt PR 52696] - Map the layout-instability tests to the…
Jun 18 2025, 12:49 PM

Apr 27 2020

pbro committed rMOZILLACENTRAL75df4b6a087f: Bug 766661 - Attempt to prevent screenshot failures and warn user on errors….
Bug 766661 - Attempt to prevent screenshot failures and warn user on errors…
Apr 27 2020, 3:43 PM
pbro closed D62945: Bug 766661 - Attempt to prevent screenshot failures and warn user on errors.
Apr 27 2020, 3:43 PM

Mar 9 2020

pbro retitled D62019: Bug 1247083 - Number inline and new stylesheets separately in Style Editor; r=pbro from Bug 1247083 - Numbering of inline stylesheets should count only inline stylesheets; client-side only implementation r=pbro to Bug 1247083 - Number inline and new stylesheets separately in Style Editor; r=pbro.
Mar 9 2020, 3:50 PM
pbro added a comment to D62019: Bug 1247083 - Number inline and new stylesheets separately in Style Editor; r=pbro.

Sorry I just noticed you had already pushed.

Mar 9 2020, 2:37 PM
pbro added a comment to D62019: Bug 1247083 - Number inline and new stylesheets separately in Style Editor; r=pbro.

I pushed this patch to the TRY server to see if all tests still pass: https://treeherder.mozilla.org/#/jobs?repo=try&revision=b4d3cbfcd590cc2aafa24c9324f927a383303fa9

Mar 9 2020, 2:36 PM
pbro accepted D62019: Bug 1247083 - Number inline and new stylesheets separately in Style Editor; r=pbro.

Awesome, thank you!

Mar 9 2020, 7:21 AM

Mar 6 2020

pbro abandoned D49148: Bug 1583641 - Fix inactive CSS vertical-align warning when set inside ::before r?pbro!.
Mar 6 2020, 2:16 PM
pbro commandeered D49148: Bug 1583641 - Fix inactive CSS vertical-align warning when set inside ::before r?pbro!.
Mar 6 2020, 2:16 PM
pbro created D65720: Bug 1583641 - [devtools] Handle pseudo-element rules of selected node in Inactive CSS. r=#devtools-reviewers..
Mar 6 2020, 2:14 PM · testing-approved
pbro created D65698: Bug 1618565 - Bail out of InactivePropertyHelper.isPropertyUsed for ::marker pseudo.
Mar 6 2020, 10:14 AM

Mar 4 2020

pbro updated the diff for D52377: Bug 1296313 - Show non-ASCII spaces as HTML entities in text nodes.

Some improvements and cleanup

Mar 4 2020, 2:22 PM
pbro accepted D64881: Bug 1619109 - Used toggle() method for toggling CSS class in Measuring Tool. r=pbro.

Great! Thank you Sebastian.

Mar 4 2020, 12:44 PM

Feb 28 2020

pbro committed rMOZILLACENTRALf216619d394a: Bug 766661 - Attempt to prevent screenshot failures and warn user on errors….
Bug 766661 - Attempt to prevent screenshot failures and warn user on errors…
Feb 28 2020, 1:19 PM
pbro closed D62945: Bug 766661 - Attempt to prevent screenshot failures and warn user on errors.
Feb 28 2020, 1:19 PM
pbro added inline comments to D64700: Bug 1615473: Add a test case for animation on ::marker pseudo element..
Feb 28 2020, 1:15 PM
pbro updated the diff for D62945: Bug 766661 - Attempt to prevent screenshot failures and warn user on errors.

Addressed last review comments

Feb 28 2020, 10:59 AM
pbro added inline comments to D62945: Bug 766661 - Attempt to prevent screenshot failures and warn user on errors.
Feb 28 2020, 10:59 AM
pbro accepted D64700: Bug 1615473: Add a test case for animation on ::marker pseudo element..
Feb 28 2020, 8:18 AM
pbro accepted D64699: Bug 1615473: Support animation on ::marker pseudo element..
Feb 28 2020, 8:16 AM

Feb 26 2020

pbro accepted D62019: Bug 1247083 - Number inline and new stylesheets separately in Style Editor; r=pbro.
Feb 26 2020, 10:36 AM
pbro edited reviewers for D63960: Bug 1597482 - Replace nsIDocShellTreeItem with BrowsingContext in GetProfileTimelineSubDocShells. r=smaug, added: julienw; removed: pbro.

This is probably a thing for Julien (or somebody else from the perf tool team), so forwarding to them.

Feb 26 2020, 9:25 AM

Feb 21 2020

pbro updated the diff for D62407: "Bug 1551578 - displayed a warning when text-overflow is used incorrectly. ".

Rebased and added a couple test cases and comments

Feb 21 2020, 10:22 AM
pbro accepted D62407: "Bug 1551578 - displayed a warning when text-overflow is used incorrectly. ".
Feb 21 2020, 9:03 AM

Feb 19 2020

pbro requested changes to D62407: "Bug 1551578 - displayed a warning when text-overflow is used incorrectly. ".

Sorry about the delay here @Pranav.pandey . Based on the discussion so far, there isn't any way for DevTools alone (i.e. only using JS) to detect whether text-overflow is active on an element. the check we have now using the computed style isn't enough, and we need to implement a special privileged API in C++ that make it possible.
One thing we *can* do however is keep the second of the 2 warnings you added. The one that checks if overflow:hidden is defined. If this style is not applied, then for sure text-overflow won't have any effect. So we could keep this validator only, which means removing the other one, and the corresponding part of the test and localized string.
At least we could land that, and then continue the discussion in another bug.
The warning won't be catching *all* cases where text-overflow is inactive, but at least it won't be showing false positives, which is the most important.
Are you ok making those changes in this patch?

Feb 19 2020, 3:04 PM

Feb 18 2020

pbro committed rMOZILLACENTRAL4ce21084e85f: Bug 1598730 - Dont warn about align-content:baseline being inactive r=rcaliman.
Bug 1598730 - Dont warn about align-content:baseline being inactive r=rcaliman
Feb 18 2020, 4:12 PM
pbro closed D60858: Bug 1598730 - Dont warn about align-content:baseline being inactive.
Feb 18 2020, 4:12 PM
pbro abandoned D59867: Bug 1568874 - Using TargetList API in animation panel to react to new targets.
Feb 18 2020, 3:20 PM
pbro updated the diff for D60858: Bug 1598730 - Dont warn about align-content:baseline being inactive.

Rebased

Feb 18 2020, 3:03 PM
pbro updated the diff for D62945: Bug 766661 - Attempt to prevent screenshot failures and warn user on errors.

Second attempt at fixing this, let me know what you think

Feb 18 2020, 2:18 PM
pbro added inline comments to D62945: Bug 766661 - Attempt to prevent screenshot failures and warn user on errors.
Feb 18 2020, 2:10 PM

Feb 17 2020

pbro accepted D62886: Bug 1613802 - Set height of Rules view filter input to make its container align with siblings in adjacent panes. r=pbro.
Feb 17 2020, 2:47 PM
pbro requested changes to D62886: Bug 1613802 - Set height of Rules view filter input to make its container align with siblings in adjacent panes. r=pbro.
Feb 17 2020, 8:26 AM

Feb 14 2020

pbro created D62945: Bug 766661 - Attempt to prevent screenshot failures and warn user on errors.
Feb 14 2020, 5:35 PM
pbro accepted D62793: Bug 1614494 - Migrate connectToFrame to browser mochitest and use <browser> element..

I'm fine with the changes, I just have a few minor comments. But I also don't really know much about how clients and servers are set up, so maybe Julian should take a quick look at it too.

Feb 14 2020, 9:54 AM
pbro accepted D62714: Bug 1615205: Remove overflow style from error message panel. r?pbro!.
Feb 14 2020, 9:47 AM

Feb 13 2020

pbro added a comment to D62714: Bug 1615205: Remove overflow style from error message panel. r?pbro!.

The other solution would be to stop using pre here. Split the string into 2 strings, and separate them by a <br>. This way the message can freely wrap as normal text does on web pages.
I'd prefer not to have to introduce this min-width if possible.

Feb 13 2020, 2:25 PM
pbro requested changes to D62019: Bug 1247083 - Number inline and new stylesheets separately in Style Editor; r=pbro.

Sorry about the delay, please find some comments about your code changes below. Let me know if you have any questions, either here or on the bug.

Feb 13 2020, 1:02 PM
pbro requested changes to D62714: Bug 1615205: Remove overflow style from error message panel. r?pbro!.
Feb 13 2020, 11:39 AM
pbro committed rMOZILLACENTRAL1d62d6dac1ee: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets….
Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets…
Feb 13 2020, 11:32 AM
pbro closed D60013: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets.
Feb 13 2020, 11:32 AM
pbro committed rMOZILLACENTRALa0c402418ef8: Bug 1598566 - Fix console's evaluateJSAsync method response/event ordering….
Bug 1598566 - Fix console's evaluateJSAsync method response/event ordering…
Feb 13 2020, 10:24 AM
pbro closed D62417: Bug 1598566 - Fix console's evaluateJSAsync method response/event ordering.
Feb 13 2020, 10:24 AM
pbro updated the diff for D62417: Bug 1598566 - Fix console's evaluateJSAsync method response/event ordering.

Remove the flag and wait on the promise instead

Feb 13 2020, 9:33 AM

Feb 12 2020

pbro accepted D62576: Bug 1614918 - Stop waiting for synchronous removeTab method in inspector init.
Feb 12 2020, 3:00 PM
pbro added inline comments to D62407: "Bug 1551578 - displayed a warning when text-overflow is used incorrectly. ".
Feb 12 2020, 9:06 AM

Feb 11 2020

pbro requested changes to D62407: "Bug 1551578 - displayed a warning when text-overflow is used incorrectly. ".

This looks great to me, thanks!
Just 2 things needed now: a simple update of the string names as advised below. And a quick review from Daniel Holbert who I pinged on the bugzilla page, just to double check the logic.
Thanks for your work so far!

Feb 11 2020, 12:41 PM
pbro created D62417: Bug 1598566 - Fix console's evaluateJSAsync method response/event ordering.
Feb 11 2020, 11:08 AM
pbro requested changes to D62407: "Bug 1551578 - displayed a warning when text-overflow is used incorrectly. ".

Thanks a lot for working on it.
I have one small comment about the code. But here's an idea: in order to make it even more useful for users, why not create 2 validators instead of 1. So, one would be for cases where the element isn't a block, and the other would be for cases where the element does not overflow.
This way, we'd have 2 different messages, and they'd be a lot more self-explanatory for users.
Would you be interested in amending the patch to do this?

Feb 11 2020, 8:57 AM
pbro accepted D62018: Bug 1554894 -Simplify devtools/client/shared/source-utils.js and remove eslint-disable complexity r=pbro.

Looks great to me. Thank you for working on this and removing this eslint warning.
I'll proceed to land this revision to m-c now.

Feb 11 2020, 8:15 AM

Feb 10 2020

pbro retitled D62192: Bug 1590196 - Remove unneeded backward compatibility check hasAccessibilityProperties; r=pbro from removed redundant lines for Bug 1590196 r=pbro to Bug 1590196 - Remove unneeded backward compatibility check hasAccessibilityProperties; r=pbro.
Feb 10 2020, 1:23 PM
pbro accepted D62192: Bug 1590196 - Remove unneeded backward compatibility check hasAccessibilityProperties; r=pbro.

This looks good to me, thank you for the patch!
I'll proceed to landing it in a second.

Feb 10 2020, 1:22 PM
pbro accepted D62052: Bug 1613960 - Remove artificial text indent from CSS declarations in Changes panel. r=pbro.
Feb 10 2020, 9:31 AM
pbro edited reviewers for D62146: Bug 1596093 - Update tests for rule view to use getTextProperty(), added: rcaliman; removed: pbro.

Moving this review to Razvan as this is something he knows better than I do.

Feb 10 2020, 9:20 AM
pbro requested changes to D62018: Bug 1554894 -Simplify devtools/client/shared/source-utils.js and remove eslint-disable complexity r=pbro.

Thank you for this patch!

Feb 10 2020, 9:01 AM

Feb 5 2020

pbro requested changes to D61316: Bug 1498224 - Apply new classnames as you type in the .cls section of the rule-view. r=pbro.

Thanks for the patch!
I have one main comment about it that I'd like you to address before moving any further: the class-list.js file contains the model logic. The ClassList in there should only be concerned with managing the data related to classes on dom nodes. It should not worry about whether the space or enter keys were pressed.
So I'd like it if you could modify your code changes so the object only exposes methods that deal with data, instead of keyboard keys states.
Right now the main method that is exposed is addClass, I'm thinking perhaps it could instead expose a method called previewClass that takes a single name argument. Calling it the first time would add the class, and then calling it again and again would just modify that same class.
This way, you can keep the ClassList logic simple to understand and easy to use, and the rest of the logic can remain inside class-list-previewer.js.
Does that make sense?

Feb 5 2020, 3:42 PM
pbro accepted D61680: Bug 1613368 - Fix devtools documentation gitbook config.
Feb 5 2020, 1:33 PM
pbro committed rMOZILLACENTRALd2ebc96ddb56: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets….
Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets…
Feb 5 2020, 11:50 AM
pbro closed D60013: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets.
Feb 5 2020, 11:50 AM
pbro updated the diff for D60013: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets.

Always refreshing on new top level targets

Feb 5 2020, 11:15 AM

Feb 4 2020

pbro requested changes to D61240: Bug 1247083 - Numbering of inline stylesheets should count only inline stylesheets r=pbro.

Thanks for the patch. I made a bunch of comments below, but I also posted inside the bug a comment related to investigating doing a client-side-only implementation of this. Please consider it and let me know what you think.

Feb 4 2020, 8:53 AM
pbro accepted D61257: Bug 1610252: Hold the content as cache regardless of caching mode in DevTools. r?pbro.
Feb 4 2020, 8:33 AM

Jan 27 2020

pbro committed rMOZILLACENTRAL2e5c02c84edd: Bug 1611007 - Adjust the wording for the position inactiveCSS label….
Bug 1611007 - Adjust the wording for the position inactiveCSS label…
Jan 27 2020, 4:11 PM
pbro closed D60815: Bug 1611007 - Adjust the wording for the position inactiveCSS label.
Jan 27 2020, 4:11 PM
pbro accepted D60984: Bug 1611099 - Do not set frame.tooltip when creating the devtools BrowserToolbox frame.
Jan 27 2020, 4:07 PM

Jan 24 2020

pbro added a comment to D58878: Bug 1606990 - Simplify intro text and lighten tone r?pbro.

yes let's push it!

Jan 24 2020, 1:16 PM
pbro committed rMOZILLACENTRAL4c9c26032255: Bug 1610761 - Don't show inactivity warning on z-index if inside grid/flex….
Bug 1610761 - Don't show inactivity warning on z-index if inside grid/flex…
Jan 24 2020, 7:54 AM
pbro closed D60673: Bug 1610761 - Don't show inactivity warning on z-index if inside grid/flex.
Jan 24 2020, 7:53 AM

Jan 23 2020

pbro created D60858: Bug 1598730 - Dont warn about align-content:baseline being inactive.
Jan 23 2020, 4:27 PM
pbro updated the diff for D60013: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets.

forgot to change target to currentTarget in a few tests

Jan 23 2020, 2:02 PM
pbro updated the diff for D60815: Bug 1611007 - Adjust the wording for the position inactiveCSS label.

reverted back to the same id

Jan 23 2020, 11:00 AM
pbro created D60815: Bug 1611007 - Adjust the wording for the position inactiveCSS label.
Jan 23 2020, 10:25 AM
pbro added a comment to D60013: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets.

@Honza could you please review the changes here. @ochameau has already looked at the approach related to how to use the TargetList API, but I could use your review too. Also, Alex, I added a new test that I think covers the use case now.

Jan 23 2020, 10:19 AM
pbro updated the diff for D60013: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets.

added a test

Jan 23 2020, 10:17 AM

Jan 22 2020

pbro created D60673: Bug 1610761 - Don't show inactivity warning on z-index if inside grid/flex.
Jan 22 2020, 2:24 PM
pbro accepted D60515: Bug 1597125 - Keyboard navigation and triggering of swatches in Rules view. r=pbro.

Perfect! Tested with and without the patch, and can confirm that the intended behaviour when copying is here, and keyboard navigation still works like before.
Code changes look sane to me.

Jan 22 2020, 1:57 PM

Jan 20 2020

pbro added a comment to D60013: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets.

Sorry I just realized I did not add a test. I'll find some time to add one soon.

Jan 20 2020, 8:31 AM

Jan 17 2020

pbro updated the diff for D60013: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets.

addressed comments

Jan 17 2020, 4:31 PM
pbro accepted D60175: Bug 1609567 - Configure CodeMirror instance in DevTools to use custom cursor blink rate if defined. r=pbro.

Thanks Razvan, this looks good.

Jan 17 2020, 8:15 AM
pbro committed rMOZILLACENTRAL689b500d4328: Bug 1551585 - InactiveCSS warning for some properties on unpositioned elements….
Bug 1551585 - InactiveCSS warning for some properties on unpositioned elements…
Jan 17 2020, 8:06 AM
pbro closed D60031: Bug 1551585 - InactiveCSS warning for some properties on unpositioned elements.
Jan 17 2020, 8:06 AM

Jan 16 2020

pbro updated the diff for D60031: Bug 1551585 - InactiveCSS warning for some properties on unpositioned elements.

fixed apostrophe

Jan 16 2020, 2:01 PM

Jan 15 2020

pbro created D60031: Bug 1551585 - InactiveCSS warning for some properties on unpositioned elements.
Jan 15 2020, 5:22 PM
pbro added a comment to D59867: Bug 1568874 - Using TargetList API in animation panel to react to new targets.

Thanks for the review Daisuke. I got stuck trying to implement the solution you proposed. Let's chat later about this.

Jan 15 2020, 2:56 PM
pbro created D60013: Bug 1598566 - Use the TargetList API in the DOM panel to refresh on new targets.
Jan 15 2020, 2:55 PM

Jan 14 2020

pbro edited reviewers for D59856: Bug 1608074 - Set channel ReferrerInfo in privileged code instead of referrer header, added: nchevobbe; removed: pbro.

Changing the DevTools reviewer to Nicolas for the console changes.

Jan 14 2020, 2:43 PM · testing-exception-unchanged (Doesn't change behavior for users), testing-exception-elsewhere (Please comment explaining where the tests are)
pbro created D59867: Bug 1568874 - Using TargetList API in animation panel to react to new targets.
Jan 14 2020, 2:42 PM

Jan 10 2020

pbro committed rMOZILLACENTRALd827ca47ac5b: Bug 1593555 - Floated elements can be grid items, don't show warnings about….
Bug 1593555 - Floated elements can be grid items, don't show warnings about…
Jan 10 2020, 3:41 PM
pbro closed D57815: Bug 1593555 - Floated elements can be grid items, don't show warnings about them.
Jan 10 2020, 3:41 PM
pbro updated the diff for D57815: Bug 1593555 - Floated elements can be grid items, don't show warnings about them.

rebased

Jan 10 2020, 2:53 PM

Jan 9 2020

pbro committed rMOZILLACENTRAL56526c826c66: Bug 1598906 - Width and height shouldn't be marked as inactive on all table….
Bug 1598906 - Width and height shouldn't be marked as inactive on all table…
Jan 9 2020, 4:15 PM
pbro closed D57768: Bug 1598906 - Width and height shouldn't be marked as inactive on all table-rows; r?miker!.
Jan 9 2020, 4:15 PM

Jan 8 2020

pbro committed rMOZILLACENTRALa5b2a67d0d01: Bug 1605342 - Let RDM's metaviewport handling ride the trains r=bradwerth….
Bug 1605342 - Let RDM's metaviewport handling ride the trains r=bradwerth…
Jan 8 2020, 9:18 PM
pbro committed rMOZILLACENTRALf41c75e0224c: Bug 1602783 - Retrieve the right inspector front when updating the state of….
Bug 1602783 - Retrieve the right inspector front when updating the state of…
Jan 8 2020, 9:18 PM
pbro updated the diff for D57768: Bug 1598906 - Width and height shouldn't be marked as inactive on all table-rows; r?miker!.

Accounting for sideways too

Jan 8 2020, 4:07 PM
pbro committed rMOZILLACENTRAL141078286511: Bug 1605342 - Let RDM's metaviewport handling ride the trains r=bradwerth.
Bug 1605342 - Let RDM's metaviewport handling ride the trains r=bradwerth
Jan 8 2020, 12:48 PM
pbro closed D58943: Bug 1605342 - Let RDM's metaviewport handling ride the trains.
Jan 8 2020, 12:48 PM

Jan 7 2020

pbro created D58943: Bug 1605342 - Let RDM's metaviewport handling ride the trains.
Jan 7 2020, 2:04 PM
pbro committed rMOZILLACENTRAL414e29381f04: Bug 1602783 - Retrieve the right inspector front when updating the state of….
Bug 1602783 - Retrieve the right inspector front when updating the state of…
Jan 7 2020, 10:38 AM