Commit Graph

20443 Commits

Author SHA1 Message Date
Cosmin Sabou
7edad96abe Bug 1609024 - Un-skip browser_layoutHelpers.js on Linux as the test is fixed. a=test-only 2020-05-21 22:57:47 +03:00
Nicolas Chevobbe
645e4e3c37 Bug 1639305 - Fix beta simulation failure in browser_webconsole_promise_rejected_object.js. r=evilpie.
The javascript.options.asyncstack pref is needed for unhandled
rejected promises messages to have a stacktrace.

Differential Revision: https://phabricator.services.mozilla.com/D76151
2020-05-20 18:15:24 +00:00
Nicolas Chevobbe
3236f8030e Bug 1578594 - Unskip browser_webconsole_warning_group_multiples.js on fission. r=ladybenko.
The test seems to run fine on fission, so let's run it.

Differential Revision: https://phabricator.services.mozilla.com/D75771
2020-05-21 15:40:49 +00:00
Emilio Cobos Álvarez
7b19f0d6d4 Bug 1609024 - Remove cache mechanism which is not very useful. r=hiro,snorp,mccr8
I don't think all this complexity is worth it for having a
marginally-more-realistic testing story. Using the pref just works and we should
do that, I think.

Differential Revision: https://phabricator.services.mozilla.com/D59980
2020-05-21 17:02:06 +00:00
Yura Zenevich
3e86175a52 Bug 1638427 - pass highlight/unhilight props to accessibility panel components instead of using the accessibility walker directly. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D75961
2020-05-20 16:42:06 +00:00
Hubert Boma Manilla
0bbe804ad9 Bug 1637955 - Fix vertical scrolling regresstion in the response panel r=Honza
- Fix the 1px scrollbar issue in the headers panel
 - Allow scrolling for the properties view in the response panel

Differential Revision: https://phabricator.services.mozilla.com/D75671
2020-05-21 06:34:00 +00:00
Boris Chiou
599c6939d9 Bug 1635939 - Let aspect-ratio (css-sizing-4) support 'auto | <ratio>'. r=emilio
In order to test its parsing and serialization, we expose it but protect
it behind a pref.

Besides, I would like to drop layout.css.aspect-ratio-number.enabled in
the next patch because the spec has been updated. It seems we don't have
to keep this pref and we should always use Number.

Differential Revision: https://phabricator.services.mozilla.com/D74955
2020-05-21 06:45:10 +00:00
Jason Laster
6eb3d3d81b Bug 1630776 - Framework groups should be split by async separators. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D71433
2020-05-20 20:53:40 +00:00
Jason Laster
9f485e4904 Bug 1608078 - Stepping out of async function doesnt work properly. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D75235
2020-05-20 22:22:31 +00:00
Csoregi Natalia
c7fbe6575e Backed out changeset 7050d098119c (bug 1608078) for failures on test_stepping-12.js. CLOSED TREE 2020-05-20 23:43:52 +03:00
Jason Laster
eeb896255a Bug 1608078 - Stepping out of async function doesnt work properly. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D75235
2020-05-20 17:53:37 +00:00
David Walsh
067bb4ea4c Bug 1639420 - Code cleanups to breakpoint component r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D76077
2020-05-20 15:33:44 +00:00
Jason Laster
ddfc35cb4f Bug 1639375 - Polish inline preview label styling. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D76059
2020-05-20 15:19:16 +00:00
David Walsh
91b425cd78 Bug 1639088 - Capitalize debugger settings menu items r=Harald,jlast
Differential Revision: https://phabricator.services.mozilla.com/D75972
2020-05-20 01:09:59 +00:00
Hubert Boma Manilla
75174d81e5 Bug 1636804 - Remove quotes and escaping for header sections r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D76111
2020-05-20 14:41:00 +00:00
Kriyszig
781894a0f8 Bug 1635768 - Moved MDNCompatibility library to devtools/shared r=mtigley,daisuke
The MDNCompatibility library will be shared between the upcoming
Compatibility Actor and the Compatibility Panel in the inspector.
This library is necessary for tests in Compatibility Panel and
hence is being moved to the devtools/shared looking at it's
requirements in client as well as the devtools/server/actors

Differential Revision: https://phabricator.services.mozilla.com/D75998
2020-05-20 12:54:10 +00:00
Dão Gottwald
0843f2e08c Bug 1638067 - Stop setting toolkit.cosmeticAnimations.enabled in browser_console_webconsole_ctrlw_close_tab.js. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D76113
2020-05-20 11:27:44 +00:00
Kriyszig
055d9db743 Bug 1636385 - Disable context menu options if blocking is enabled/disabled for all URL in Network Blocking Panel r=bomsy
The context menu of the network blocking panel have options to
 "Enable all" and "Disable all" for enabling and disbaling all the
 patters in the request blocking panel at once.
 This patch disables those options in case all the URLs are already
 enabled or disabled. Having the buttons active all the time might
 lead to confusing situtaions especially with long blocking pattern
 list where it may lead the user to think there is a URL that has not
 been enabled/disabled eve after clicking the menu option.

Differential Revision: https://phabricator.services.mozilla.com/D75247
2020-05-20 09:23:41 +00:00
Daisuke Akatsuka
88c41c11df Bug 1637562: Add test for ignoreExistingResources flag for platform messages. r=ochameau,nchevobbe
Depends on D75750

Differential Revision: https://phabricator.services.mozilla.com/D75751
2020-05-20 08:16:32 +00:00
Daisuke Akatsuka
7d34979f10 Bug 1637562: Add test for ignoreExistingResources flag for error messages. r=ochameau,nchevobbe
Depends on D75749

Differential Revision: https://phabricator.services.mozilla.com/D75750
2020-05-20 08:16:18 +00:00
Daisuke Akatsuka
ee259eff28 Bug 1637562: Add test for ignoreExistingResources flag for console messages. r=ochameau,nchevobbe
Depends on D75748

Differential Revision: https://phabricator.services.mozilla.com/D75749
2020-05-20 08:16:04 +00:00
Daisuke Akatsuka
6c3dbf2ff0 Bug 1637562: Add test for ignoreExistingResources flag for document events. r=ochameau,jdescottes
Depends on D75747

Differential Revision: https://phabricator.services.mozilla.com/D75748
2020-05-20 08:15:55 +00:00
Daisuke Akatsuka
95b8c0340d Bug 1637562: Introduce 'ignoreExistingResources' flag in order to ignore existing resources. r=ochameau,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D75895
2020-05-20 08:15:22 +00:00
Jan Odvarko
57247ea89d Bug 1638471 - imported patch ext-name.diff r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D75903
2020-05-20 00:12:24 +00:00
Farooq AR
8ab834d565 Bug 1636420 - Connect SSE actor to the Message panel. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D75792
2020-05-20 06:02:42 +00:00
Daisuke Akatsuka
25024d453e Bug 1639231: Send utm parameters. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D76084
2020-05-20 05:54:18 +00:00
Dan Glastonbury
b4dde7ce2a Bug 1633459 - Marshal customUserAgent setting via nsDocShell. r=geckoview-reviewers,esawin,nika
Reinstate customUserAgent interface for nsIDocShell. This is so it can be used
as a choke-point to catch setting values on docshells which are in the process
of changing process. We don't want to send changes which will be rejected on the
parent side.

This code should be removed once callers setting customUserAgent are refactored
to only occur from parent process.

Differential Revision: https://phabricator.services.mozilla.com/D75006
2020-05-20 00:19:59 +00:00
Luke Swiderski
7cdabe3c51 Bug 1576192 - Add line-height: 20px to .inline-preview r=jlast
Added line-height of 20px to .inline-preview, inline-preview no longer overlaps debug line.

Differential Revision: https://phabricator.services.mozilla.com/D69397
2020-05-19 22:31:35 +00:00
Greg Tatum
5c9b8bef77 Bug 1634542 - Add a test for the private browsing popup support; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D75602
2020-05-18 14:49:17 +00:00
Greg Tatum
2b35eaf09a Bug 1634542 - Teach the profiler popup about private browsing; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D75601
2020-05-18 14:35:15 +00:00
Sebastian Zartner
19d52149f6 Bug 1309824 - Show proper descriptions for storage types. r=jdescottes,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D70663
2020-05-19 17:24:06 +00:00
David Teller
49d5a4d3b4 Bug 1636089 - ActorManagerParent.addJSProcessActors;r=kmag,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75047
2020-05-19 16:29:36 +00:00
Itiel
adba063887 Bug 1638886 - [RTL] Fix misaligned eye icon in the simulation section in the Accessibility panel r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D75813
2020-05-19 16:29:34 +00:00
Julian Descottes
d23f8dc9a3 Bug 1637793 - Wait for requests to settle in 3 intermittent tests involving debugger r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D75755
2020-05-19 16:04:12 +00:00
Neil Deakin
5846219ee4 Bug 1594752, use WindowGlobalParent's documentTitle to update tab titles rather than sending messages and events between processes, r=Gijs
Fix up the browser_tab_label_during_restore.js test to wait for the right number of tab title changes, since the timing of the tab title updating has now changed.

Differential Revision: https://phabricator.services.mozilla.com/D72562
2020-05-19 13:42:41 +00:00
Hubert Boma Manilla
314c8af199 Bug 1631295 - Added a UrlPreview component for the Headers panel r=Honza
This is needs a few things to complete, but is ready for gathering initial feedback
 - Added a new Url Preview Component
 - Refactored the UX for the summary sections
 Todo
 - Fix the tests
 - Fix Console errors
 - Cleanups
 - Rebase over D71916 after that lands

Differential Revision: https://phabricator.services.mozilla.com/D73192
2020-05-19 11:08:32 +00:00
Bogdan Tara
d7a0ca85b2 Backed out changeset e4208dfc006f (bug 1636420) for test_protocol_index.js failures CLOSED TREE 2020-05-19 16:03:07 +03:00
Farooq AR
b86d20d213 Bug 1636420 - Connect SSE actor to the Message panel. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D75792
2020-05-19 12:04:12 +00:00
Andy Wingo
30a359cb06 Bug 1628352 - Update wasmparser to version 0.14.0 r=yury
Differential Revision: https://phabricator.services.mozilla.com/D75799
2020-05-18 15:01:58 +00:00
Kriyszig
9607e394bf Bug 1596091 - RFC: Adding drag and drop feature to block URL in netmonitor r=Honza,Harald,bomsy
Drag and drop is a nice little feature to have to add URL to blocked
list. Current implementation allows for blocking the URL from the
context menu but drag and drop is a nifty little feature for
convenience.
Current implementation will only allowed an unblocked URL to be
dragged and dropped. The dragging is blocked is the network
blocking panel isn't opened.
Note: This is just an RFC. @Harald had raised a question of
discoverabilty of the feature given there are no other elements
that can be dragged and dropped within the network monitor. This
is just a proposal to see if it's addition is beneficial.

Differential Revision: https://phabricator.services.mozilla.com/D74535
2020-05-18 13:43:47 +00:00
manas
ca8cca32cb Bug 1631230 - Remove crop property. r=Honza,bradwerth,bomsy
In network analysis in Netmonitor, the headers are being cropped, even when there is space available. This is due to the `cropLimit` property. In this revision, the `cropLimit` property is removed so that the headers take up all available space.

Differential Revision: https://phabricator.services.mozilla.com/D75688
2020-05-18 22:30:46 +00:00
Kyle Knaggs
4fc0b71713 Bug 1636798 - Check tabs instead of source when displaying pretty print icon r=davidwalsh
Added a new hasPrettyTab() selector function.
Renamed the function and prop in SourcesTreeItem to reflect the new hasPrettyTab() selector function.
Updated the snapshot test for the pretty print icon.

Differential Revision: https://phabricator.services.mozilla.com/D75733
2020-05-18 19:13:58 +00:00
Nicolas Chevobbe
3c8cacaa5b Bug 1638533 - Add (in promise) suffix for uncaught rejected promise. r=davidwalsh.
Now that nsIScriptError have a `isPromiseRejection` flag, we can consume it
in the console to indicate to the user that we're dealing with a promise rejection.
The exception message is then: "Uncaught (in promise) XXX".
A few tests needed to be updated, and we take this as an opportunity to
ensure we have a stacktrace for uncaught promise rejection.

Differential Revision: https://phabricator.services.mozilla.com/D75780
2020-05-18 14:34:33 +00:00
Nicolas Chevobbe
3af1e56b63 Bug 1421659 - Keep console output pinned to bottom when resizing. r=bomsy.
When resizing the output, if the height was modified, the scrollbar position
was updated and could lose its pinned-to-bottom state.
This patch adds a resizeObserver to the console output node, where we
scroll the output to the bottom if it's needed.
In order to be able to do that, some changes were done in how we were
detecting that the output was pinned to the bottom.
We now have an intersection observer on the last message element,
which flips a flag when the element isn't intersecting the viewport
anymore.
Some test cases are added to ensure the console has the expected
behavior in different situations.

Depends on D74708

Differential Revision: https://phabricator.services.mozilla.com/D75297
2020-05-18 12:44:07 +00:00
Emilio Cobos Álvarez
f0953195ce Bug 1636998 - Make ::-moz-focus-outer a no-op, and remove it on Nightly. r=jwatt
See https://bugzilla.mozilla.org/show_bug.cgi?id=932410#c2 for the
context for which this pseudo-element was added.

In the previous patch, I had to special-case range appearance because of
this pseudo-class, but that patch makes this pseudo-class completely
redundant, as now all form controls, themed and unthemed, display
outlines, unless the native theme displays a focus indicator on its own.

Remove the special case, and make ranges use outlines like everything
else rather than this bespoke pseudo-element.

Differential Revision: https://phabricator.services.mozilla.com/D74734
2020-05-18 10:54:16 +00:00
Csoregi Natalia
08fa2d05ed Backed out 2 changesets (bug 1546394) for devtools failures with getBlockedUrls. CLOSED TREE
Backed out changeset 0365ee129bc0 (bug 1546394)
Backed out changeset 1b05fad0314a (bug 1546394)
2020-05-18 13:33:42 +03:00
Csoregi Natalia
f6ee95862e Backed out changeset 62ad26fbfaf8 (bug 1636998) for reftest failures on 1174332-1.html. CLOSED TREE 2020-05-18 13:31:56 +03:00
Samarjeet
e4cce8b4ad Bug 1546394: Netmonitor load blockedurls r=nchevobbe,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D72669
2020-05-18 09:10:09 +00:00
Samarjeet
bf742a9699 Bug 1546394 Adds :block <url> command similar to netmonitor r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D69803
2020-05-15 10:58:38 +00:00
Emilio Cobos Álvarez
36b46408b8 Bug 1636998 - Make ::-moz-focus-outer a no-op, and remove it on Nightly. r=jwatt
See https://bugzilla.mozilla.org/show_bug.cgi?id=932410#c2 for the
context for which this pseudo-element was added.

In the previous patch, I had to special-case range appearance because of
this pseudo-class, but that patch makes this pseudo-class completely
redundant, as now all form controls, themed and unthemed, display
outlines, unless the native theme displays a focus indicator on its own.

Remove the special case, and make ranges use outlines like everything
else rather than this bespoke pseudo-element.

Differential Revision: https://phabricator.services.mozilla.com/D74734
2020-05-18 07:59:32 +00:00