Граф коммитов

16241 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca f8b1143315 Merge mozilla-inbound to mozilla-central a=merge 2019-06-02 12:43:23 +03:00
Yura Zenevich f46fa84727 Bug 1556135 - only check if the current node is null in getClosestBackgroundImage. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33396

--HG--
extra : moz-landing-system : lando
2019-06-01 23:16:01 +00:00
Micah Tigley 6530cdd60b Bug 1107456 - Part 2: Test that RDM's viewport's outer size values remain unaffected at different zoom levels. r=bradwerth
Depends on D32778

Differential Revision: https://phabricator.services.mozilla.com/D33239

--HG--
extra : moz-landing-system : lando
2019-05-31 17:45:21 +00:00
Jason Laster 59a1eb73d0 Bug 1552039 - filter breakpoints to the right of the line. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D33012

--HG--
extra : moz-landing-system : lando
2019-05-31 21:15:43 +00:00
jaril f655de653b Bug 1548369 - Don't unrender preview when hovering from preview back to token. r=jlast
When hovering from the preview of tokenA back to tokenA, the preview shouldn't unrender and the rerender.

Before:
{F1318568}
After:
{F1318569}

Differential Revision: https://phabricator.services.mozilla.com/D31899

--HG--
extra : moz-landing-system : lando
2019-05-31 19:25:35 +00:00
Daisuke Akatsuka 948456cbea Bug 1554868: Remove 'complexity' rule of eslint. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D33141

--HG--
extra : moz-landing-system : lando
2019-05-31 07:53:38 +00:00
Ashley Hauck 7205b26ed3 Bug 1538375 - Don't deopt on debugger statements. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D33219

--HG--
extra : moz-landing-system : lando
2019-05-31 17:34:46 +00:00
ravefalcon92 066936706c Bug 1543859 - Refactored treeOrder code to remove duplicate code and make it simple to add r=davidwalsh
new exceptions in sorting the sourcesTree

Refactored treeOrder code to remove duplicate code and make it simple to add
new exceptions in sorting the sourcesTree

Differential Revision: https://phabricator.services.mozilla.com/D31684

--HG--
extra : moz-landing-system : lando
2019-05-29 18:02:17 +00:00
Jason Laster e52ffa5c23 Bug 1553895 - Fix directory roots for directories below workers. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32379

--HG--
extra : moz-landing-system : lando
2019-05-31 13:44:01 +00:00
Greg Tatum 8ed1db88b3 Bug 1307227 - Add a runtime check for when the profiler button is enabled and checked; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D31663

--HG--
extra : moz-landing-system : lando
2019-05-31 15:54:25 +00:00
Greg Tatum eccc1fe1ef Bug 1307227 - Integrate the profiler popup widget into the browser; r=jdescottes
This commit takes the popup, and wires it up the button using the
CustomizableUI interface. It is integrated with the DevTools initialization
code.

Differential Revision: https://phabricator.services.mozilla.com/D31629

--HG--
extra : moz-landing-system : lando
2019-05-31 15:54:18 +00:00
Greg Tatum ae0bdac16c Bug 1307227 - Ensure the provider is always initialized for calls to lazyRequireGetter; r=ochameau
The performance profiler pop-up menu wants to be near DevTools, but work
without the complete DevTools initialization. This patch ensure that
any calls to lazyRequireGetter properly initialize the provider.

Differential Revision: https://phabricator.services.mozilla.com/D31628

--HG--
extra : moz-landing-system : lando
2019-05-31 15:54:03 +00:00
Greg Tatum ac6c65f4d0 Bug 1307227 - Update the profiler's popup code to work in Gecko; r=julienw
This commit represents the changes needed to convert the existing
Gecko Profiler Add-on code to work outside of the WebExtensions
environment. A following commit will actually wire it into the
rest of the browser.

Differential Revision: https://phabricator.services.mozilla.com/D31627

--HG--
extra : moz-landing-system : lando
2019-05-31 15:53:46 +00:00
Greg Tatum f59b172f85 Bug 1307227 - Copy over the Gecko Profiler Addon files; r=julienw
This bug's first commit will be a non-working revision.

These files are taken from:

68d5de9c9f

Differential Revision: https://phabricator.services.mozilla.com/D31547

--HG--
extra : moz-landing-system : lando
2019-05-31 16:07:09 +00:00
Dorel Luca 72973df697 Backed out changeset 95ffb38f6a64 (bug 1555518) for Debugger failure. CLOSED TREE 2019-05-31 18:17:11 +03:00
Yury Delendik c2d8717df1 Bug 1555518 - Fixes original stack display for wasm files, and ref to original source. r=jlast
- Fixes expandFrames() to ensure the thread property is set
- Refactors getSourceLocationFromMouseEvent to use fromEditorLine
- Replaces dwarf_to_json (for proper DWARF conversion)

Differential Revision: https://phabricator.services.mozilla.com/D33092

--HG--
extra : moz-landing-system : lando
2019-05-30 01:01:19 +00:00
Emilio Cobos Álvarez 19258bfbb4 Bug 1554716 - Remove nsStyleColor moving the color property to nsStyleText. r=jfkthame
I think this is a good change regardless of other discussion in bug 1552587. If
we decide to move `mColor` to the top-level of the struct that can be done
separately.

Differential Revision: https://phabricator.services.mozilla.com/D32726

--HG--
extra : moz-landing-system : lando
2019-05-31 14:48:22 +00:00
Gabriel Luong e73b26a82d Bug 1555114 - Convert the TextEditor markup into a React component. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32882
2019-05-28 15:42:28 -04:00
Daniel Varga f35d98dcc4 Merge mozilla-central to mozilla-inbound 2019-06-01 12:45:58 +03:00
arthur.iakab 36d75a7e56 Merge mozilla-central to mozilla-inbound 2019-06-01 01:30:47 +03:00
Andrea Marchesini b1b122fb20 Bug 1554464 - Merge nsICookie2 and nsICookie in 1 single interface, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33031

--HG--
extra : moz-landing-system : lando
2019-05-31 09:36:44 +00:00
Julian Descottes f6e56257dd Bug 1550651 - Remove AboutDebuggingNew component registration r=daisuke
The component is no longer needed since we enabled the new aboutdebugging by default on Nightly

Differential Revision: https://phabricator.services.mozilla.com/D32756

--HG--
extra : moz-landing-system : lando
2019-05-28 01:20:08 +00:00
Julian Descottes c356104909 Bug 1553214 - add fallback value for pageError.cssSelectors r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D33069

--HG--
extra : moz-landing-system : lando
2019-05-31 08:11:13 +00:00
Julian Descottes 71458e86e7 Bug 1555732 - Update mozilla-central-mappings to support new location of menu-item helper in devtools-core r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D33190

--HG--
extra : moz-landing-system : lando
2019-05-31 07:59:53 +00:00
Gabriel Luong f5bd87247f Bug 1550519 - Show a translucent parent highlight when a subgrid is highlighted. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32507
2019-05-24 14:02:14 -04:00
Ehsan Akhgari adf073ce68 Bug 836176 - Part 3: Remove nsIHTMLDocument; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32925

--HG--
extra : moz-landing-system : lando
2019-06-04 17:27:43 +00:00
jaril e57c4bd27b Bug 1553557 - Assign and remove token highlights through popup lifecycle.
Token highlights should disappear when no longer hovered on a token. Sometimes it stays on after scrolling in the editor. This seemed to have been caused by the way we select which token was hovered on when removing the highlight, which is based off of the cursor position. That method is not as reliable when scrolling, which was causing the bug.

Instead, we can just use the `target` property of the preview at the time the popup is mounted/unmounted to reliably add and remove the token highlight class.

Differential Revision: https://phabricator.services.mozilla.com/D33719

--HG--
extra : moz-landing-system : lando
2019-06-05 18:58:17 +00:00
Jason Laster 2e54b109b8 Bug 1441183 - Resume lands on the same location. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D33571

--HG--
extra : moz-landing-system : lando
2019-06-05 18:42:58 +00:00
David Walsh 496b70d268 Bug 1552061 - Keep scrolling location for individual documents r=jlast
Ensures scroll position stays the same between tab switches while paused and not paused.

Differential Revision: https://phabricator.services.mozilla.com/D33312

--HG--
extra : moz-landing-system : lando
2019-06-05 18:33:25 +00:00
Daniel Holbert 4e2947f721 Bug 1556855 part 5: Update devtools css database. r=mats
This patch was generated automatically by running ./mach devtools-css-db

Differential Revision: https://phabricator.services.mozilla.com/D33808

--HG--
extra : moz-landing-system : lando
2019-06-05 18:23:10 +00:00
Belén Albeza d4b067645c Bug 1553110 - Part 1: Share the workers-listener module between the new about debugging and application panel r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D33024

--HG--
rename : devtools/client/aboutdebugging-new/src/modules/workers-listener.js => devtools/client/shared/workers-listener.js
extra : moz-landing-system : lando
2019-06-04 13:59:39 +00:00
Daisuke Akatsuka 251261a129 Bug 1554809: Change the event which decides whether need to wait for rendering detail pane, and wait for rendering detail pane at point needs. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D33774

--HG--
extra : moz-landing-system : lando
2019-06-05 11:09:02 +00:00
Daisuke Akatsuka 002c2ce79d Bug 1506032: Wait for documentUnload and newRoot events are fired. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D33749

--HG--
extra : moz-landing-system : lando
2019-06-05 10:12:34 +00:00
Brad Werth d5b5784233 Bug 1555511 Part 4: Add a test of resizing a document with meta viewport minimum-scale. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33100

--HG--
extra : rebase_source : da266fd0f9b8b684c6dec90bba505b2ab29eed35
extra : source : e0cd61fa79ed1971595aaba6124a4ad07448f409
2019-06-04 22:25:12 +00:00
Brad Werth 8cac9e2706 Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362

--HG--
extra : rebase_source : 17a93bbbac7f70f15e3f0ab99005ba2da5dd11d9
extra : source : 8c6e5561abed4b92ab1e722bf24a19b2152e3720
2019-06-04 22:25:08 +00:00
Brendan Dahl 4480082295 Bug 1553188 - Fix renaming browser.xul to browser.xhtml name change in devtools test. CLOSED TREE 2019-05-31 11:44:20 -07:00
Brian Grinstead 402bc3a970 Bug 1553188 - Part 4 - Update remaining references to browser.xul;r=bdahl
These are generally:
- Code comments to browser.xhtml
- Testcases, assertions that were mostly using browser.xul as a generic chrome URL
- References to the browser.xul path in tree

Differential Revision: https://phabricator.services.mozilla.com/D33208
2019-05-28 16:40:42 -07:00
shindli c9ee4bb3ac Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-data.html
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html
2019-06-06 13:51:59 +03:00
Ola Gasidlo 7b5fdcd2db Bug 1548465 - Fix jest tests with localization, r=ladybenko,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33160

--HG--
extra : moz-landing-system : lando
2019-06-06 09:44:18 +00:00
yulia fd9524f7ff Bug 1042642 - Do not pass the threadClient to EnvironmentClient during instantiation in tests; r=jdescottes
r=jdescottes

turns out we were incorrectly passing the threadClient to the environmentClient while
instantiating in one of the tests. It worked before because the threadClient exposed the API surface
of the debugger-client.

Differential Revision: https://phabricator.services.mozilla.com/D32685

--HG--
extra : moz-landing-system : lando
2019-05-30 09:02:03 +00:00
yulia ae4a4c8517 Bug 1042642 - Stop using the DebuggerClient instance to listen for ThreadClient events in tests; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29375

--HG--
extra : moz-landing-system : lando
2019-05-30 08:38:51 +00:00
yulia a9f8c70111 Bug 1042642 - Use EventEmitter instead of EventSource for the threadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29373

--HG--
extra : moz-landing-system : lando
2019-05-30 08:37:55 +00:00
yulia 29a61755bc Bug 1042642 - use EventEmitter instead of eventSource on the DebuggerClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29371

--HG--
extra : moz-landing-system : lando
2019-05-29 15:51:28 +00:00
yulia 41a557e3b1 Bug 1042642 - do not use DebuggerClient for functions that should only take ThreadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29370

--HG--
extra : moz-landing-system : lando
2019-05-29 15:46:02 +00:00
Michael Ratcliffe 0771ce1232 Bug 1553467 - [Inactive CSS] Increase the tooltip's visual padding to match the attached mockup. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32140

--HG--
extra : moz-landing-system : lando
2019-05-29 12:40:53 +00:00
Florens Verschelde ba5741d87f Bug 1555304 - Fix size of print simulation icon; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33002

--HG--
extra : moz-landing-system : lando
2019-05-29 17:50:01 +00:00
Andrea Marchesini 4c6ace6ac6 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214

--HG--
extra : moz-landing-system : lando
2019-05-29 15:55:03 +00:00
David Walsh 576baa06f7 Bug 1555351 - Add tooltip and hover state for sources tree items r=jlast
Provides a hover state for all sources tree items, adds a tooltip for sources to display the entire URL.

Differential Revision: https://phabricator.services.mozilla.com/D33019

--HG--
extra : moz-landing-system : lando
2019-05-29 15:12:40 +00:00
Jason Laster 1de8c1ef04 Bug 1551631 - Changed popover position (jest fix).
Differential Revision: https://phabricator.services.mozilla.com/D33023

--HG--
extra : moz-landing-system : lando
2019-05-29 15:21:52 +00:00
jaril a392ccc379 Bug 1551631 - Changed popover position.
The preview unrenders because of the whitespace in between the token and the preview popup. This patch moves the preview popup closer to the token and changes the conditions for unrendering the preview.

Differential Revision: https://phabricator.services.mozilla.com/D33022

--HG--
extra : moz-landing-system : lando
2019-05-29 15:11:00 +00:00
arthur.iakab 944263f18a Backed out 5 changesets (bug 1551798) for multiple build bustages on StaticPrefList.h CLOSED TREE
Backed out changeset c89daff34d97 (bug 1551798)
Backed out changeset bbc3f88b8c03 (bug 1551798)
Backed out changeset b87996b8a411 (bug 1551798)
Backed out changeset d88b0002d736 (bug 1551798)
Backed out changeset 0fe740c90e2b (bug 1551798)
2019-05-29 18:07:26 +03:00
Andrea Marchesini e9bbb85ed1 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214

--HG--
extra : moz-landing-system : lando
2019-05-24 15:18:49 +00:00
Tim Nguyen b2ca59ade9 Bug 1554982 - Make console filter input use filter icon. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D32829

--HG--
extra : moz-landing-system : lando
2019-05-29 14:36:13 +00:00
Yura Zenevich bf9725360c Bug 1555202 - add accessibility jest tests to other devtools tests running on taskcluster. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33008

--HG--
extra : moz-landing-system : lando
2019-05-29 13:37:28 +00:00
Tom Ritter b8705a8481 Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.

Differential Revision: https://phabricator.services.mozilla.com/D30274

--HG--
rename : browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js
extra : moz-landing-system : lando
2019-05-29 11:31:31 +00:00
Michael Ratcliffe 2ea3454f1e Bug 1553471 - [Inactive CSS] Telemetry r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32810

--HG--
extra : moz-landing-system : lando
2019-05-28 18:03:46 +00:00
Razvan Caliman 055131a667 Bug 1554876 - Break logic to mark declarations as overridden into smaller chunks. r=pbro
Depends on D32760

Differential Revision: https://phabricator.services.mozilla.com/D32811

--HG--
extra : moz-landing-system : lando
2019-05-28 12:32:26 +00:00
Patrick Brosset 1745f1b4eb Bug 1554723 - Correctly exclude all inline-level elements when warning for misuse of vertical-align r=miker
Differential Revision: https://phabricator.services.mozilla.com/D32799

--HG--
extra : moz-landing-system : lando
2019-05-29 08:39:43 +00:00
jaril 6c8ee33407 Bug 1553668 - Preview should always show the most recent request.
Differential Revision: https://phabricator.services.mozilla.com/D32771

--HG--
extra : moz-landing-system : lando
2019-05-28 21:25:23 +00:00
Razvan Maries fe73607e68 Backed out changeset 4d71f6b28394 (bug 1551631) for node debugger perma failures. CLOSED TREE 2019-05-29 05:31:21 +03:00
jaril 3ba1a2625c Bug 1551631 - Changed popover position.
The preview unrenders because of the whitespace in between the token and the preview popup. This patch moves the preview popup closer to the token and changes the conditions for unrendering the preview.

Differential Revision: https://phabricator.services.mozilla.com/D31897

--HG--
extra : moz-landing-system : lando
2019-05-28 21:01:00 +00:00
Boris Chiou a194573277 Bug 1429303 - Animate offset-rotate. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D32237

--HG--
extra : moz-landing-system : lando
2019-05-28 18:31:48 +00:00
Logan Smyth 3c28e033c6 Bug 1531493 - Avoid uncaught rejection when shutting down workers. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D32860

--HG--
extra : moz-landing-system : lando
2019-05-28 18:40:50 +00:00
Razvan Caliman c2ff140de6 Bug 1546621 - Ensure pseudo-element declarations are marked as overridden when host element is selected. r=pbro
This patch adjusts the method which marks CSS declarations as overridden to also consider pseudo-elements when they're not directly selected (i.e. their host element is selected).

For style rules on regular elements, there's a condition to only consider rules that match the selected element. This is done so that unmatched rules (you may get one after renaming a selector in the Rules view) don't influence the remaining matching rules. For pseudo-elements, this strict check caused pseudo-element rules to not show overridden declarations if they weren't directly selected in the markup view. For some types of pseudo-elements, it is impossible to ever select their nodes in the markup view because they don't exist, for example ::first-line, ::selection, ::first-letter, etc.

Also introduced an optimization to not call the logic to mark declarations as overridden for non-existent pseudo-elements. The previous code ran a minimum of 17 times, once for every entry in `cssProperties.pseudoElements` array which includes the full dictionary of pseudo-elements supported by Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D32760

--HG--
extra : moz-landing-system : lando
2019-05-28 11:50:40 +00:00
Florens Verschelde 31a5b7fb07 Bug 1554938 - Make WelcomeBox text less thin for readability on low res; r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D32822

--HG--
extra : moz-landing-system : lando
2019-05-28 13:34:16 +00:00
Yury Delendik 645496a1cb Bug 1554272 - Don't generate source menu items for wasm files. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D32508

--HG--
extra : moz-landing-system : lando
2019-05-24 18:33:40 +00:00
Sebastian Hengst fba75a919c Backed out 4 changesets (bug 1539595) for build bustage in nsAboutRedirector.cpp. CLOSED TREE
Backed out changeset 2b0bb889b087 (bug 1539595)
Backed out changeset 95f0b82ec253 (bug 1539595)
Backed out changeset 6310e6dabceb (bug 1539595)
Backed out changeset ba3e353c6957 (bug 1539595)

--HG--
rename : browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/tabs/browser_e10s_about_process.js => browser/base/content/test/general/browser_e10s_about_process.js
rename : browser/base/content/test/tabs/browser_e10s_chrome_process.js => browser/base/content/test/general/browser_e10s_chrome_process.js
rename : browser/base/content/test/tabs/browser_e10s_javascript.js => browser/base/content/test/general/browser_e10s_javascript.js
rename : browser/base/content/test/tabs/browser_e10s_switchbrowser.js => browser/base/content/test/general/browser_e10s_switchbrowser.js
rename : browser/base/content/test/tabs/file_about_child.html => browser/base/content/test/general/file_about_child.html
rename : browser/base/content/test/tabs/file_about_parent.html => browser/base/content/test/general/file_about_parent.html
rename : browser/base/content/test/tabs/test_process_flags_chrome.html => browser/base/content/test/general/test_process_flags_chrome.html
rename : browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js
2019-05-28 19:49:17 +02:00
Narcis Beleuzu 5d86f95008 Bug 1493369 - Disable browser_storage_updates.js on Win. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32696

--HG--
extra : moz-landing-system : lando
2019-05-28 13:34:00 +00:00
Tom Ritter 03b41fa512 Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.

Differential Revision: https://phabricator.services.mozilla.com/D30274

--HG--
rename : browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js
extra : moz-landing-system : lando
2019-05-28 14:19:11 +00:00
Narcis Beleuzu b17ae2fa0e Bug 1547150 - Disable browser_net_truncate-post-data.js on Win7. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32694

--HG--
extra : moz-landing-system : lando
2019-05-28 13:31:52 +00:00
David Walsh 52443a5de3 Bug 1551945 - Ensure search inputs receive focus r=jlast
The previous patch for focus CSS was to aggressive -- this reverts that change and better focuses the feature

Differential Revision: https://phabricator.services.mozilla.com/D31327

--HG--
extra : moz-landing-system : lando
2019-05-28 14:03:56 +00:00
Jason Laster 050fe9e3d6 Bug 1552424 - Go to file is slow when searching for a file. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32328

--HG--
extra : moz-landing-system : lando
2019-05-28 13:23:39 +00:00
David Walsh 2db41012f6 Bug 1157817 - Show blocked requests in the Network Monitor r=Honza,Harald
Displays blocked requests in the Network monitor request listing, providing a reason for why the request was blocked based on response codes provided b nsILoadInfo.idl

Differential Revision: https://phabricator.services.mozilla.com/D31907

--HG--
extra : moz-landing-system : lando
2019-05-28 12:13:08 +00:00
Patrick Brosset a6088694e9 Bug 1554727 - Check if selectorText exists before testing its content; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D32737

--HG--
extra : moz-landing-system : lando
2019-05-28 09:37:53 +00:00
Chris DeLuca bc3eb51448 Bug 1543008 - Prevent event propagation in OpenLink webconsole function. r=nchevobbe
Before this change, ctrl/cmd clicking a url in an array in the web
console also opened the sidebar. Preventing event propagation stop the
click from getting to sidebar opening function.

Differential Revision: https://phabricator.services.mozilla.com/D28262

--HG--
extra : moz-landing-system : lando
2019-05-27 06:24:11 +00:00
Vincent Lequertier 3f41c3104f Bug 1552629 - Fix misaligned "Edit and Resend" button in the netmonitor Headers panel;r=Honza
If the "Referrer Policy" header is missing, summaryReferrerPolicy is null,
so summaryEditAndResendBtn contains only the "Edit and Resend" button, making it
misaligned. We fix this by making sure summaryEditAndResendBtn always contains
the last non-null header.

Differential Revision: https://phabricator.services.mozilla.com/D32322

--HG--
extra : moz-landing-system : lando
2019-05-27 07:23:44 +00:00
tanhengyeow ddb81c7a43 Bug 1554095 - Fix Block URL action. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D32522

--HG--
extra : moz-landing-system : lando
2019-05-27 06:47:10 +00:00
pradeepgangwar 60e1e451c8 Bug 1436043- Fix: console missing coloured bars, adds requests.css to webconcole; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D32571

--HG--
extra : moz-landing-system : lando
2019-05-27 06:10:39 +00:00
Jean-Yves Avenard 022c57caf3 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

Differential Revision: https://phabricator.services.mozilla.com/D31468

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Yura Zenevich 32e7d4ed2b Bug 1553192 - filter visible rows on demoand instead of when calculating refs. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D32030

--HG--
extra : moz-landing-system : lando
2019-05-25 13:46:49 +00:00
Gurzau Raul 967bc2a754 Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422)
Backed out changeset a16295296035 (bug 1550422)
Backed out changeset 3b70307c0db5 (bug 1550422)
Backed out changeset 69df7818d4a3 (bug 1550422)
Backed out changeset d98dfc565927 (bug 1550422)
Backed out changeset 6f0997976944 (bug 1550422)
Backed out changeset 0edd264464c2 (bug 1550422)
Backed out changeset 9ea6da7a74ec (bug 1550422)
Backed out changeset f855f9309c8b (bug 1550422)
Backed out changeset 1033546224a7 (bug 1550422)
Backed out changeset ade7384c6186 (bug 1550422)
Backed out changeset 75b04de7e99c (bug 1550422)
Backed out changeset 91c3acdb2454 (bug 1550422)
Backed out changeset 77d2f80257d1 (bug 1550422)
Backed out changeset e0cd10d35327 (bug 1550422)
Backed out changeset 097091082423 (bug 1550422)
Backed out changeset 2f328853c1ab (bug 1550422)
Backed out changeset f92f2cc29cb1 (bug 1550422)
Backed out changeset 6dc82f88333d (bug 1550422)
Backed out changeset c20f66494d69 (bug 1550422)
Backed out changeset 2ba22cddeb6f (bug 1550422)
Backed out changeset 3aa72f89e295 (bug 1550422)
Backed out changeset ab4c4e806977 (bug 1550422)
Backed out changeset 72e5de040dda (bug 1550422)
Backed out changeset 7d3c2d486706 (bug 1550422)
Backed out changeset 132e0b8d8468 (bug 1550422)
Backed out changeset 54c85ac75dd0 (bug 1550422)
Backed out changeset d7ba4a18dd54 (bug 1550422)
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard 074aea57fe Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

Differential Revision: https://phabricator.services.mozilla.com/D31468

--HG--
extra : moz-landing-system : lando
2019-05-24 11:37:50 +00:00
David Walsh 1f92597fe6 Bug 1553278 - Fix download file functionality in debugger r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D32050

--HG--
extra : moz-landing-system : lando
2019-05-24 14:39:51 +00:00
Brindusan Cristian 5a5f5a78fb Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-25 00:54:26 +03:00
Brindusan Cristian fd5a4a259a Merge inbound to mozilla-central. a=merge 2019-05-25 00:49:05 +03:00
Micah Tigley 645a8295e3 Bug 1352070 - Part 2: RDM tests for ensuring that the values for the selected device's outerHeight/outerWidth properties are correct. r=bradwerth
Depends on D32253

Differential Revision: https://phabricator.services.mozilla.com/D32352

--HG--
extra : moz-landing-system : lando
2019-05-24 16:58:53 +00:00
Jason Laster 4e00235a03 Bug 1551871 - Fix Intermittent browser_dbg-sourcemapped-preview.js. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32498

--HG--
extra : moz-landing-system : lando
2019-05-24 17:57:04 +00:00
Barret Rennie 1cca2811c0 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-23 18:49:08 +00:00
Yury Delendik a78fb97ef2 Bug 1554180 - Use devtools-mc-assets version of dwarf_to_json.wasm r=jlast
Debugger fails with current version of dwarf_to_json.wasm. Using proper version
fixes it when DWARF is used as source maps.

Differential Revision: https://phabricator.services.mozilla.com/D32392

--HG--
extra : moz-landing-system : lando
2019-05-24 14:22:40 +00:00
Kevin Morehouse 25f075630a Bug 1546109 - Replace references to generated properties in the server r=jlast
Replace:
        generatedSourceActor —> sourceActor
        generatedLine —> line
        generatedColumn —> column
        generatedLastColumn —> lastColumn
        generatedUrl —> url
        generatedLocation —> location
        GeneratedLocation —> SourceLocation
        parentGeneratedLocation —> parentLocation
    Replace references in comments to match the above changes.

The affected files are:

    devtools/server/actors/breakpoint.js
    devtools/server/actors/common.js
    devtools/server/actors/frame.js
    devtools/server/actors/thread.js
    devtools/server/actors/utils/TabSources.js

Differential Revision: https://phabricator.services.mozilla.com/D32370

--HG--
extra : moz-landing-system : lando
2019-05-24 13:43:11 +00:00
Jan Odvarko 952295a420 Bug 1552110 - Properly render values in the Security panel r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D32324

--HG--
extra : moz-landing-system : lando
2019-05-24 13:01:01 +00:00
Noemi Erli f19596c1f0 Backed out changeset dc38da197244 (bug 1552464) for devtools failures in browser_telemetry_viewport_change.js 2019-05-24 15:48:34 +03:00
ivan 0a329b55e0 Bug 1533857 - Fix the broken link in docs r=sole
Fix the broken link in docs to devtools. The link to chapter about testing.

Differential Revision: https://phabricator.services.mozilla.com/D22867

--HG--
extra : moz-landing-system : lando
2019-05-24 12:21:18 +00:00
Brian Hackett d8aca5bfb7 Bug 1483350 - Fix some control logic bugs, r=loganfsmyth.
--HG--
extra : rebase_source : 28501766085216f8e731a0ea205a80eea069a798
2019-05-21 17:44:53 -10:00
Razvan Caliman 49cc754a87 Bug 1552464 - Add telemetry probe to count the number of viewport changes in RDM. r=mtigley,nchevobbe.
This patch adds telemetry instrumentation to count the number of times the RDM viewport properties are changed (dimensions and rotation). This count will be correlated with the panel open count and time spent open to refine the baseline for RDM usage and filter out accidental usage.

A new Redux middleware, `telemetryMiddleware`, is introduced to the RDM Redux store. This observes actions dispatched to the store. For `RESIZE_VIEWPORT` and `ROTATE_VIEWPORT` actions, it increases a numeric value for the new scalar telemetry probe, `"devtools.responsive.viewport_change_count"`.

Other actions may be observed in this middleware for future telemetry instrumentation of RDM.

The `RESIZE_VIEWPORT` action is a dispatched with a high frequency when dragging to resize. Therefore, we debounce logging for this action. To ensure the test can reliably test counting this action without adding needless complexity to account for the asynchronicity, the `debounce()` utility is extended with an `immediate` parameter to cause the very first call to be executed immediately before going into the debounce behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D31645

--HG--
extra : moz-landing-system : lando
2019-05-24 08:52:41 +00:00
Boris Chiou 3b51b642f3 Bug 1429301 - Implement offset-rotate. r=emilio
This includes style system and layout update. I add 3 extra reftests
because the original tests use ray() function as the offset-path, but we
don't support it. It'd be better to add tests using a different type of
offset-path.

The spec issue about the serialization:
https://github.com/w3c/fxtf-drafts/issues/340

Differential Revision: https://phabricator.services.mozilla.com/D32212

--HG--
extra : moz-landing-system : lando
2019-05-24 03:42:03 +00:00
Andreea Pavel 47b1468a3e Bug 1551871 - disabled browser_dbg-sourcemapped-preview.js on linux and macosx1010 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32377

--HG--
extra : moz-landing-system : lando
2019-05-24 01:12:00 +00:00
Jason Laster c0b86a149c Bug 1550495 - Set directory root does not work for debugger.html. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D31313

--HG--
extra : moz-landing-system : lando
2019-05-23 18:00:47 +00:00
Julian Descottes 56918ca9d7 Bug 1552516 - Fix race condition in a devtools test. r=jdescottes,jlast
Differential Revision: https://phabricator.services.mozilla.com/D31800

--HG--
extra : moz-landing-system : lando
2019-05-23 16:45:08 +00:00
Daniel Varga af42676c4a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-05-23 18:59:21 +03:00
Daniel Varga 4cbc287f63 Merge mozilla-inbound to mozilla-central. a=merge 2019-05-23 18:54:21 +03:00
Jason Laster 77d4bd0ad9 Bug 1552453 - Breakpoint doesnt pause in file during page load. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D32161

--HG--
extra : moz-landing-system : lando
2019-05-23 12:52:34 +00:00
Patrick Brosset a365f19d19 Bug 1553451 - Lower the eslint complexity level to 20 for devtools and exlude more complex functions; r=jdescottes
We want to go back to ESLint's default complexity level so that newly introduced code is checked for complexity.
At the same time, to make that work, we're excluding all of the more complex functions for now.
We should fix them: make them less complex, and remove the eslint-disable comment.
See bug 1553449 for more information about this.

Differential Revision: https://phabricator.services.mozilla.com/D32139

--HG--
extra : moz-landing-system : lando
2019-05-23 09:06:16 +00:00
Mihai Alexandru Michis 2ae5a4bb01 Backed out changeset 0f9626b48a66 (bug 1553451) for linting failures. CLOSED TREE 2019-05-23 10:58:22 +03:00
Patrick Brosset 28f446d619 Bug 1553451 - Lower the eslint complexity level to 20 for devtools and exlude more complex functions; r=jdescottes
We want to go back to ESLint's default complexity level so that newly introduced code is checked for complexity.
At the same time, to make that work, we're excluding all of the more complex functions for now.
We should fix them: make them less complex, and remove the eslint-disable comment.
See bug 1553449 for more information about this.

Differential Revision: https://phabricator.services.mozilla.com/D32139

--HG--
extra : moz-landing-system : lando
2019-05-23 07:07:49 +00:00
Florens Verschelde 2ca50ad16d Bug 1553556 - Revert devtools warning icon size and use console info icon in Rules; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D32181

--HG--
extra : moz-landing-system : lando
2019-05-23 11:01:43 +00:00
lloan 5e373b947c Bug 1341155 - Show full path in File column in developer tools. r=Honza
New column, defaulted to hidden, to show full URL for resource in netMonitor panel.

Differential Revision: https://phabricator.services.mozilla.com/D31348

--HG--
extra : moz-landing-system : lando
2019-05-23 12:24:57 +00:00
Nicolas Chevobbe 68f7c8321c Bug 1553473 - Fix PropTypes. r=Honza.
The FilterBar propType was a leftover from a
previous patch where the prop was removed.
The SearchBox one was added in a recent patch,
but shouldn't have been required (as we have
a default in the render function for it).

Differential Revision: https://phabricator.services.mozilla.com/D32150

--HG--
extra : moz-landing-system : lando
2019-05-23 09:26:44 +00:00
Gurzau Raul 74c555539e Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE.
Backed out changeset 5dd10a365ba9 (bug 1550422)
Backed out changeset 529f5be01ab9 (bug 1550422)
Backed out changeset b6861d3badf8 (bug 1550422)
Backed out changeset 059cff1a3dde (bug 1550422)
Backed out changeset 6ada1116b241 (bug 1550422)
Backed out changeset ca67e8e45262 (bug 1550422)
Backed out changeset a1961a51ae44 (bug 1550422)
Backed out changeset 1c90b9cb3ad4 (bug 1550422)
Backed out changeset 285fa46e4f26 (bug 1550422)
Backed out changeset e2938a444234 (bug 1550422)
Backed out changeset 7a930fc51125 (bug 1550422)
Backed out changeset 898ed02804fe (bug 1550422)
Backed out changeset e1b7abc99ae9 (bug 1550422)
Backed out changeset f781d415cef6 (bug 1550422)
Backed out changeset 2fef10a7cce5 (bug 1550422)
Backed out changeset ea64b4d8d4ff (bug 1550422)
Backed out changeset 86a8ba1b755c (bug 1550422)
Backed out changeset 9c0c9e80f309 (bug 1550422)
Backed out changeset 10c153ddbaea (bug 1550422)
Backed out changeset 60fe635ec2c9 (bug 1550422)
Backed out changeset a38796266b28 (bug 1550422)
Backed out changeset 2db647dcdf1c (bug 1550422)
Backed out changeset 952ddac02972 (bug 1550422)
Backed out changeset ba46b53643ec (bug 1550422)
Backed out changeset ca47ef6c59f7 (bug 1550422)
Backed out changeset f45f471a1a40 (bug 1550422)
Backed out changeset 371b4da5b771 (bug 1550422)
Backed out changeset 02fc78890032 (bug 1550422)
2019-05-23 05:59:44 +03:00
Jean-Yves Avenard 8d7b592625 Bug 1550422 - P27. Fix long line. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D32247

--HG--
extra : moz-landing-system : lando
2019-05-23 00:22:21 +00:00
Jean-Yves Avenard d59781ac33 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

Differential Revision: https://phabricator.services.mozilla.com/D31468

--HG--
extra : moz-landing-system : lando
2019-05-22 12:46:30 +00:00
Bogdan Tara a0b69fc936 Backed out 4 changesets (bug 1510569) for 1419902.html failures CLOSED TREE
Backed out changeset 756519a7cf79 (bug 1510569)
Backed out changeset 39c6818fdb12 (bug 1510569)
Backed out changeset 3d9715a5ecd4 (bug 1510569)
Backed out changeset 418a61f5f87b (bug 1510569)
2019-05-23 01:58:51 +03:00
Brendan Dahl 2488d71403 Bug 1551320 - Replace another instance of createElement with createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D32211

--HG--
extra : moz-landing-system : lando
2019-05-22 20:19:28 +00:00
Micah Tigley b15ec7f710 Bug 1357774 - Part 2: Add the ability to update orientation state of a simulated device in RDM r=gl
This patch gives the RDM UI the ability to update the screen orientation based on the orientation of the simulated device screen. It fixes the following issues:

  - Initializing the orientation state of the selected device when RDM is opened.
  - Updating orientation state when the rotate button in the RDM toolbar is pressed.
  - Updating the orientation state when a new device is selected.

There are three actions creators that are responsible for notifying the ResponsiveUI manager, `changeDevice`, `restoreDeviceState`, and `rotateViewport`. In particular:



  - `restoreDeviceState` is dispatched when the Responsive UI has finished initializing. If a previous RDM session had a device selected, then this action creator will also dispatch the `changeDevice` action to update the RDM UI to reflect the currently selected device.
  - `changeDevice` is dispatched when a device is selected.
  - `rotateViewport` is dispatched when the rotate button is clicked in the RDM toolbar.

When either of these actions is dispatched, we post a "viewport-orientation-change" message to the window that notifies the manager to update the screen orientation accordingly.

Finally, when RDM is closed, we need to ensure the original physical screen orientation is restored. We do this by calling the `setRDMPaneOrientation` on the docShell's document in the content frame script.

Differential Revision: https://phabricator.services.mozilla.com/D30440

--HG--
extra : moz-landing-system : lando
2019-05-22 20:07:13 +00:00
Gabriel Luong 4b9b573a46 Bug 1468402 - Part 3: Add test for subgrids in the grid list. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D30512
2019-05-09 11:28:53 -04:00
Gabriel Luong 22a53ea7f9 Bug 1468402 - Part 2: Indent the subgrids in the grid list. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D29316
2019-04-30 00:50:50 -04:00
Gabriel Luong debbd4220d Bug 1468402 - Part 1: Add isSubgrid to the grid actor form and getParentGridNode to the walker. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D29317
2019-04-30 00:50:47 -04:00
Barret Rennie 7f9cce7b9a Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-21 21:35:04 +00:00
Sebastian Hengst 14f9191527 Backed out changeset e20df5f95e44 (bug 1552434) for devtools failures in devtools/client/framework/test/browser_toolbox_options.js CLOSED TREE 2019-05-22 23:35:43 +02:00
Nicolas Chevobbe 0f03ba2e09 Bug 1552434 - Move timestamp preference change handler from webconsole-ui to App component. r=rcaliman.
It makes more sense to declare the preference changes in the root
React component, as other components (aboutdebugging, netmonitor, ...)
already do it.
Since we don't want to unmount the App component (which means we
won't fire any componentWillUnmount), we're turning the observer
into a weak referenced one so we don't leak.

Differential Revision: https://phabricator.services.mozilla.com/D31591

--HG--
extra : moz-landing-system : lando
2019-05-22 15:30:28 +00:00
Patrick Brosset 5449744a67 Bug 1551812 - New InactiveCSS rule for vertical-align; r=flod
Differential Revision: https://phabricator.services.mozilla.com/D31235

--HG--
extra : moz-landing-system : lando
2019-05-22 14:56:48 +00:00
Patrick Brosset babd28f5c6 Bug 1544223 - Disable a few high complexity functions and lower the limit to prevent more complexity; r=jdescottes
Depends on D31973

Differential Revision: https://phabricator.services.mozilla.com/D32120

--HG--
extra : moz-landing-system : lando
2019-05-22 12:08:59 +00:00
Patrick Brosset ff3148e04f Bug 1544223 - Don't advance to the next property or value when parsing ; or : inside a CSS block; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D31973

--HG--
extra : moz-landing-system : lando
2019-05-22 10:46:55 +00:00
Oana Pop Rus d71e3be10c Backed out changeset 3c2a368a4c8b (bug 1552464) for xpcshell failures on test_rotate_viewport.js on a CLOSED TREE
--HG--
extra : amend_source : 15c8845b921292468c076b10b0b68c523a835e98
2019-05-22 14:57:46 +03:00
Razvan Caliman b12bac57a5 Bug 1552464 - Add telemetry probe to count the number of viewport changes in RDM. r=mtigley,nchevobbe.
This patch adds telemetry instrumentation to count the number of times the RDM viewport properties are changed (dimensions and rotation). This count will be correlated with the panel open count and time spent open to refine the baseline for RDM usage and filter out accidental usage.

A new Redux middleware, `telemetryMiddleware`, is introduced to the RDM Redux store. This observes actions dispatched to the store. For `RESIZE_VIEWPORT` and `ROTATE_VIEWPORT` actions, it increases a numeric value for the new scalar telemetry probe, `"devtools.responsive.viewport_change_count"`.

Other actions may be observed in this middleware for future telemetry instrumentation of RDM.

The `RESIZE_VIEWPORT` action is a dispatched with a high frequency when dragging to resize. Therefore, we debounce logging for this action. To ensure the test can reliably test counting this action without adding needless complexity to account for the asynchronicity, the `debounce()` utility is extended with an `immediate` parameter to cause the very first call to be executed immediately before going into the debounce behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D31645

--HG--
extra : moz-landing-system : lando
2019-05-21 18:40:23 +00:00
Razvan Caliman ff22a40fa6 Bug 1553194 - Remove unrelated code comment from shared/css-logic.js r=pbro
Depends on D32016
The code comment is perhaps a leftover from a file duplication to extract shared methods to `shared/inspector/css-logic.js` from `server/actors/inspector/css-logic.js`.

The comment is confusing because there is no usage of any of the CssLogic terminology within the file.

Differential Revision: https://phabricator.services.mozilla.com/D32017

--HG--
extra : moz-landing-system : lando
2019-05-22 07:35:02 +00:00
Razvan Caliman 915619d9c1 Bug 1553194 - Remove unnecessary isInherited from CssLogic constructor. r=pbro
`isInherited` is a callback function that checks if a given CSS property is inherited. It is misleadingly commented as a cache of inherited properties (which perhaps it is on the InspectorUtils implementation, but on the consumer side it is just a function).

The actual call is done by InspectorUtils.isPropertyInherited. There is no need to pass the handler to CssLogic or to CssPropertyInfo since InspectorUtils is available in the same context as the definition of the consumers.

There is no other use case where a custom handler is passed to check for inherited properties in so it is safe to remove this as an argument and just use InspectorUtils.isPropertyInherited where needed. This cleans up the code slightly.

Differential Revision: https://phabricator.services.mozilla.com/D32016

--HG--
extra : moz-landing-system : lando
2019-05-22 07:34:03 +00:00
Nicolas Chevobbe aef9587dfb Bug 1541355 - Don't display DevTools internal frames in Netmonitor stacktrace. r=Honza.
Before sending back the stacktrace, we remove all the
devtools internal frames using removeFramesAboveDebuggerEval.
A test (that was failing without the fix) is added to ensure
this works as expected.
The test revealed some issues in webconsole-connection-proxy
(mostly trying to access webConsoleUI while closing the toolbox),
which we fix in the patch as well.

Differential Revision: https://phabricator.services.mozilla.com/D31249

--HG--
extra : moz-landing-system : lando
2019-05-22 08:57:36 +00:00
vishal singh 15c6a85210 Bug 1547944 [RTL] Mirror the Separate Window icon r=pbro
Before the icon was reverse for rtl . But now it is in correct form.

Differential Revision: https://phabricator.services.mozilla.com/D32049

--HG--
extra : moz-landing-system : lando
2019-05-22 07:41:26 +00:00
Emilio Cobos Álvarez d6c1e69556 Bug 1553227 - followup: fix animation-type-longhand.js. 2019-05-22 02:47:22 +02:00
Emilio Cobos Álvarez ca59532ce8 Bug 1553227 - Remove old CSS scroll snap implementation. r=hiro
This will save us some time from figuring out what's the best thing to do in
bug 1552587, so that other patches I have in flight (mainly bug 1552708) can
land, since we cannot add a single byte to nsStyleDisplay right now otherwise.

The code removed here is well isolated and not that complicated, so it seems to
me that should be easy to bring back should we have an emergency (and I commit
to doing that while preserving the nsStyleDisplay size limit if we need to :)).

Differential Revision: https://phabricator.services.mozilla.com/D32026

--HG--
extra : moz-landing-system : lando
2019-05-21 22:51:54 +00:00
Cosmin Sabou ce81aa750c Backed out 7 changesets (bug 1519577) for mochitest failures. CLOSED TREE
Backed out changeset 5192370c4f79 (bug 1519577)
Backed out changeset 2999bbc0422b (bug 1519577)
Backed out changeset bcedf1e9b09c (bug 1519577)
Backed out changeset 293af339be51 (bug 1519577)
Backed out changeset 9f311461ad1e (bug 1519577)
Backed out changeset cf4e91d423b4 (bug 1519577)
Backed out changeset 4f53ad1e3674 (bug 1519577)
2019-05-22 02:20:08 +03:00
Micah Tigley 7c28d8cebd Bug 1526975: Filter out implicit grid line names in text-property-editor's autocomplete. r=gl,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D21308

--HG--
extra : moz-landing-system : lando
2019-05-21 21:29:02 +00:00
Cosmin Sabou 67bd4e7cd7 Bug 1552609 - Fix eslint failure. r=jlast
--HG--
extra : amend_source : 04e5aaedb5b64822d6758015955ebe5a6cd14449
2019-05-22 00:10:06 +03:00
Andrew Swan d81d78cf1f Bug 1519577 Update devtools test to use a test-only xbl binding r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D31938

--HG--
extra : moz-landing-system : lando
2019-05-21 19:26:11 +00:00
Jason Laster 31047338be Bug 1553258 - Upgrade the launchpad to 154. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32034

--HG--
extra : moz-landing-system : lando
2019-05-21 20:25:27 +00:00
Jason Laster 0bc226eb15 Bug 1552609 - Adding a logpoint fails and breaks locations. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31870

--HG--
extra : moz-landing-system : lando
2019-05-21 20:46:04 +00:00
Noemi Erli cc1f5b44f2 Backed out 4 changesets (bug 1510569) for mass test failures CLOSED TREE
Backed out changeset c5488e2770a6 (bug 1510569)
Backed out changeset df98eef1f640 (bug 1510569)
Backed out changeset db6da7f94a92 (bug 1510569)
Backed out changeset fb696b92c13d (bug 1510569)
2019-05-21 23:41:41 +03:00
Barret Rennie 461c1d28b9 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-21 19:28:52 +00:00
Jason Laster eb29ae8571 Bug 1552290 - Preview fails after selecting another location. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31516

--HG--
extra : moz-landing-system : lando
2019-05-21 18:16:39 +00:00
Cosmin Sabou e565aa827a Backed out 4 changesets (bug 1510569) for causing build bustages on nsIDocShell.idl CLOSED TREE
Backed out changeset 57f49df057be (bug 1510569)
Backed out changeset de97a258fcfd (bug 1510569)
Backed out changeset 4b0ed20ab3bc (bug 1510569)
Backed out changeset 1d8ab383d3e9 (bug 1510569)
2019-05-21 20:30:01 +03:00
Barret Rennie 748556eba1 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-21 17:09:14 +00:00
Jason Laster 0769abab36 Bug 1552987 - Jump-to-function-definition buttons are no longer visible in the console. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D32003

--HG--
extra : moz-landing-system : lando
2019-05-21 16:54:56 +00:00
Julian Descottes ce8250332e Bug 1553028 - Fix the condition for enabling new aboutdebugging on DevEdition and Nightly r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D32021

--HG--
extra : moz-landing-system : lando
2019-05-21 16:30:26 +00:00
Michael Ratcliffe 2a6ea8fbac Bug 1551174 - Inactive CSS - visual polish r=pbro
Depends on: D31986

### Summary

- [X] Extra margin between paragraphs (about 14px, or whatever 1em is)
- [X] Same amount of padding on all sides - match left spacing. Looks like we need 4px less on the side with the arrow, 2px less on the other side.
- [X] Fully opaque, white-colored background
- [X] Drop shadow should be half as dark (I think this is the MacOS doubled dropshadow issue - it should match the meatball menu's shadow)
- [X] Less space between ending icons and CSS - seems like we can just remove margin-inline-start: 5px
- [X] I think florens may have a better info icon that will be more legible at this small size
      !!I just created a new one!!
- [X] Warning icon should be smaller now to match the size of the info icon :)
      It was an illusion but I have made it slightly smaller and changed the background position to make it look closer to the same size.
- [X] Seems like it would be helpful if you could select the tooltip text

- Whole tooltip 1px to the right and 2px lower !!I have moved this out to bug 1552146!!

Differential Revision: https://phabricator.services.mozilla.com/D31292

--HG--
extra : moz-landing-system : lando
2019-05-21 16:29:49 +00:00
Michael Ratcliffe 9874429617 Bug 1543216 - Improved colors for the markup view's inactive elements r=pbro
Changes:

- Applied colors from Victorias mockups.
- Removed `margin-inline-start` from the icon to move it closer to the property value.

Differential Revision: https://phabricator.services.mozilla.com/D31986

--HG--
extra : moz-landing-system : lando
2019-05-21 12:09:51 +00:00
Patrick Brosset 51f7604145 Bug 1521188 - Make findGridParentContainerForNode not depend on the walker; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D31633

--HG--
extra : moz-landing-system : lando
2019-05-21 14:30:33 +00:00
Boris Zbarsky e03bc405fa Bug 1551106 part 2. Stop using [array] in profiler's GetFeatures/GetAllFeatures. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D30968

--HG--
extra : moz-landing-system : lando
2019-05-21 14:43:10 +00:00
Boris Zbarsky dbdb74ad56 Bug 1551106 part 1. Stop using [array] in StartProfiler. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D30967

--HG--
extra : moz-landing-system : lando
2019-05-21 14:42:57 +00:00
Nicolas Chevobbe 3a21dca1bc Bug 1534932 - Ensure filtering works with warningGroups. r=Honza.
We want the warningGroup to be displayed if at least one of its
children will be visible.
We also want all the children if the warningGroup should be
visible.
This requires a few changes in the message reducers, mainly
in the getVisibility function. But we also modify
maybeSortVisibleMessages to place the messages in warningGroups
at the expected positions.

A complete mochitest is added to ensure the output always has
the expected messages in the expected order.

Differential Revision: https://phabricator.services.mozilla.com/D31220

--HG--
extra : moz-landing-system : lando
2019-05-21 12:43:04 +00:00