Commit Graph

16558 Commits

Author SHA1 Message Date
Florens Verschelde
849697766d Bug 1555570 - Slightly darken background colors in devtools dark theme; r=rcaliman
Following the color tests in https://bugzilla.mozilla.org/show_bug.cgi?id=1555570#c7
- Use a slightly darker background color for the body background, to improve text-to-background contrast
- As a result, tweak the sidebar and toolbar background, and the selection hover background

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

--HG--
extra : moz-landing-system : lando
2019-06-19 02:07:02 +00:00
Brian Grinstead
d99b0feeab Bug 1559208 - Stop setting [devtoolstheme] on browser-bottombox;r=jdescottes
This is unused since gcli removal

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:44:17 +00:00
Patrick Brosset
a16af7dace Bug 1559257 - Removing getSameTypeRootTreeItemIgnoreBrowserBoundaries and getSameTypeParentIgnoreBrowserBoundaries usage; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D34940

--HG--
extra : moz-landing-system : lando
2019-06-18 15:59:29 +00:00
Daniel Varga
352fafbea0 Backed out changeset b68dc81adbf9 (bug 1560006) for debugger failure
--HG--
extra : rebase_source : bd86f278fc400e530f3e21d33ae448735b9fd01a
2019-06-20 03:30:26 +03:00
Michael Ratcliffe
ca940dcbc5 Bug 1560006 - Upgrade React to v16.8.6 r=nchevobbe
Try is green.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 18:53:57 +00:00
Florens Verschelde
86d301cf44 Bug 1560142 - Improve contrast of string color in dark theme; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D35338

--HG--
extra : moz-landing-system : lando
2019-06-19 20:19:14 +00:00
tanhengyeow
1f04945904 Bug 1555625 - Basic skeleton of side panel for WS frames. r=Honza
Implement basic skeleton of side panel for WS frames.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 20:00:30 +00:00
Florens Verschelde
1086bcbf2b Bug 1559081 - Fix RDM toolbar height to match the toolbox; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35088

--HG--
extra : moz-landing-system : lando
2019-06-19 17:18:20 +00:00
Nicolas Chevobbe
9ca9ab3f7f Bug 1553356 - Fix browser_webconsole_warning_groups_filtering.js intermittent. r=Ola.
The failures indicated that some warning messages
were placed before the navigation marker, when they
should be placed after.
We now listen to the `load` event instead of `DOMContentLoaded`
to ensure the page is fully loaded and the warning gets
reported into the right page session.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 12:07:37 +00:00
Brendan Dahl
ccb8b2f945 Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan,bgrins
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 20:40:19 +00:00
Dickson Tan
d974e4bf55 Bug 1544773 - fix clicking on disclosures in the console redirecting focus to input. r=nchevobbe
The top-level App component forcefully resets focus to the console input when something in the output gains focus, e.g disclosure toggles, and the clear output button.While this is useful for mouse users when typing, it breaks reading flow for screen reader users when reviewing output, being sent back to input when interacting with disclosures.

This commit prevents the unwanted focus behaviour when clicking by suppressing it in an onMouseDown, and prevents the click event from bubbling to the App component so focus doesn't get reset.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 19:17:58 +00:00
Cosmin Sabou
e6c37d6bc0 Bug 1557326 - Disable browser_grids_grid-list-on-mutation-element-added.js on all platforms for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35215

--HG--
extra : moz-landing-system : lando
2019-06-18 11:29:44 +00:00
Csoregi Natalia
00ee9d3ed1 Merge inbound to mozilla-central. a=merge 2019-06-17 00:48:46 +03:00
Brian Hackett
f55ecd123b Bug 1551256 - Show net monitor stacks for fetch() calls from workers, r=bzbarsky.
--HG--
extra : rebase_source : e21725f13ffc343befe68b26e4d70fc1a2733005
2019-06-15 06:46:22 -10:00
Nicolas Chevobbe
e42e1a1be5 Bug 1558558 - Fix toggle buttons padding and colors. .
Some colors weren't matching the UI spec document,
and the padding was a bit off.

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

--HG--
extra : moz-landing-system : lando
2019-06-16 02:42:07 +00:00
shindli
eb7050ee4c Merge inbound to mozilla-central. a=merge 2019-06-16 00:45:47 +03:00
violet
682af614dd Bug 1470695 - Implement overflow-block and overflow-inline properties r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D34738

--HG--
extra : moz-landing-system : lando
2019-06-15 13:09:16 +00:00
Andreea Pavel
8c09b0389f Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringUtil.java => mobile/android/base/java/org/mozilla/gecko/util/OnboardingResources.java
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-2.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-2.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-b-1.0/manifest.json
2019-06-15 12:54:47 +03:00
Nicolas Chevobbe
31d2b0b04a Bug 1544864 - Enable Show Content Messages in browser console. r=bgrins.
This patch removes the preference we were using to
display the checkbox in the Browser Console; it's now
always displayed there.

We flip the pref to show content messages ini tests that need them.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 08:07:17 +00:00
Ciure Andrei
2e6ac83efb Backed out changeset 7312aba8ec3b (bug 1558674) for causing browser_console_context_menu_entries.js to permafail CLOSED TREE 2019-06-15 08:48:18 +03:00
Brendan Dahl
7c478fba5b Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan,bgrins
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 00:27:36 +00:00
Mihai Alexandru Michis
cff1990963 Backed out 4 changesets (bug 1545582) for causing build bustages in SavedStacks.cpp CLOSED TREE
Backed out changeset a47c4a44bae0 (bug 1545582)
Backed out changeset c05a5d68d9a8 (bug 1545582)
Backed out changeset 699de45940b1 (bug 1545582)
Backed out changeset 285673afaa99 (bug 1545582)
2019-06-15 02:19:08 +03:00
Greg Tatum
6dc22ec6a1 Bug 1545582 - Hook JS allocations into the profiler popup; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34545

--HG--
extra : moz-landing-system : lando
2019-06-13 20:25:26 +00:00
yulia
4056444ce3 Bug 1559487 - disable browser_application_panel_start-service-worker.js test on linux asan r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D35079

--HG--
extra : moz-landing-system : lando
2019-06-14 21:11:25 +00:00
yulia
9ab3272468 Bug 1494796 - fix verify test r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D34981

--HG--
extra : moz-landing-system : lando
2019-06-14 20:34:04 +00:00
yulia
9d1bf84ed1 Bug 1494796 - exit gracefully if docShell has been destroyed; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32724

--HG--
extra : moz-landing-system : lando
2019-06-14 20:27:35 +00:00
yulia
9ea8f553f1 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:09 +00:00
yulia
4b589da1f6 Bug 1494796 - change test code for reaching into the server; r=jdescottes
we shouldn't have this code, but we do

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:07 +00:00
yulia
492954347a Bug 1494796 - Fix host resize test caused by timing issue; r=jdescottes
this is the weird one. we have a Debugger.executeSoon call for the destruction of the host.
However, before this happened immediately after the test closed. Now, it happens a little later, and
this messes up the data set up. The comment says that we cannot remove this.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:05 +00:00
yulia
6f57978eb3 Bug 1494796 - Delete registerClient functionality; r=jdescottes
The webConsoleFront and the threadClient front both used to depend on the debugger-client
to destroy them via registered clients. This is no longer the case, and this code can be deleted

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:11 +00:00
yulia
0f5736a52e Bug 1494796 - maintain backwards compatibility r=jdescottes
Introduce a flag to maintain backwards compatibility with old servers

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:59 +00:00
yulia
bf027a18fa Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:13 +00:00
yulia
5f77a853c5 Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:17 +00:00
yulia
780b2f0e28 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:57 +00:00
yulia
dd7caa0576 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:01 +00:00
yulia
33ce714526 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient ; r=jdescottes
This is part one of removing threadClient specifics out of the debuggerClient. We were
managing messages from the thread client in a special way -- this was the "Unsolicited Pauses"
object that we had before. This patch updates the threadClient to use Front style events. This
required updating the spec for the threadClient, and several of the methods. What has not been fully
migrated here is the "resumed" event, as this is much more complex. This is taken care of in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:15 +00:00
yulia
6816bf4706 Bug 1494796 - Convert ThreadClient into a Front; r=jdescottes
This is the first part of the threadClient refactor. It only moves the methods to the new
front. and does some basic fixes.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:19 +00:00
yulia
e9327cc5a4 Bug 1494796 - fork threadclient for backwards compatibility r=jdescottes
make sure we have a copy of thread client for old servers

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

--HG--
rename : devtools/shared/client/thread-client.js => devtools/shared/client/deprecated-thread-client.js
extra : moz-landing-system : lando
2019-06-14 04:23:55 +00:00
Dorel Luca
b4311cbef0 Backed out changeset 6fb248823c0d (bug 1544864) for DevTools failures in devtools/client/webconsole/test/mochitest/browser_console_clear_cache.js. CLOSED TREE 2019-06-14 20:57:29 +03:00
Brian Hackett
90aa1dfe93 Bug 1124122 - Suppress postMessage events on a window's document when event handling is suppressed, r=smaug.
--HG--
extra : rebase_source : 7aa7eceb16238eebe414c67e06fcb0908138f3f6
2019-06-11 12:53:00 -10:00
Gurzau Raul
079e2377e2 Backed out changeset b4f0ee392b97 (bug 1174100) for failing at browser_net_har_import.js on a CLOSED TREE. 2019-06-14 18:27:26 +03:00
Nicolas Chevobbe
aaf29517bf Bug 1544864 - Enable Show Content Messages in browser console. r=bgrins.
This patch removes the preference we were using to
display the checkbox in the Browser Console; it's now
always displayed there.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 13:40:32 +00:00
Gregor Weber
a15d4fbe01 Bug 1554881 - Simplify RequestListItem render r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D35010

--HG--
extra : moz-landing-system : lando
2019-06-14 13:38:55 +00:00
lloan
ba376c9970 Bug 1174100 - Cache information is not exposed to HAR. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33570

--HG--
extra : moz-landing-system : lando
2019-06-14 12:12:44 +00:00
Jean-Yves Avenard
57cda3041a Bug 1556131 - P2. Don't attempt to needlessly change preference during test. r=bradwerth
In an attempt to reduce intermittent failures, the pref apz.keyboard.enabled is set to false. However, this preference is only ever read once, on startup before any JS test has a chance to run and modify the pref..

It doesn't do what it was thought to do.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 15:55:48 +00:00
Nicolas Chevobbe
f9e6c563e9 Bug 1553127 - Display a warning when place-items or place-content is used on non flex/grid container. r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D34843

--HG--
extra : moz-landing-system : lando
2019-06-14 05:50:22 +00:00
Nicolas Chevobbe
a986a13e41 Bug 1553127 - Display a warning when place-self is used on non flex/grid items. r=pbro.
We take this as an opportunity to add tests for `align-self` as well.
This requires the test to change a bit so we can create more than one
element in order to test the inactive property helper on grid/flex item
(i.e. with a parent flex/grid container).
This is done by providing a `createTestElement` function in the test case,
that  creates whatever nodes it need and append it in the rootNode parameter.
The function then returns the element that needs to be tested with isPropertyUsed.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 05:49:35 +00:00
Narcis Beleuzu
7d018750a1 Backed out 13 changesets (bug 1494796) for dt failures on browser_dbg-navigation.js . CLOSED TREE
Backed out changeset 5db908b26d50 (bug 1494796)
Backed out changeset c48f00f0df72 (bug 1494796)
Backed out changeset 591453b88e8b (bug 1494796)
Backed out changeset a14e820311bc (bug 1494796)
Backed out changeset 0e214d450b35 (bug 1494796)
Backed out changeset 1a4ab8b35a85 (bug 1494796)
Backed out changeset fe1559f5f1d4 (bug 1494796)
Backed out changeset 35d967de4223 (bug 1494796)
Backed out changeset 1d21a55cae15 (bug 1494796)
Backed out changeset 33eec873a43e (bug 1494796)
Backed out changeset 25e69c21dc2e (bug 1494796)
Backed out changeset b900d41c8ae8 (bug 1494796)
Backed out changeset c2a034e34fa6 (bug 1494796)
2019-06-14 07:20:42 +03:00
Narcis Beleuzu
72a734cf98 Backed out changeset aa7f507ac743 (bug 1558674) for dt failures on browser_console_context_menu_entries.js . CLOSED TREE 2019-06-14 05:57:52 +03:00
yulia
ee582580f9 Bug 1494796 - exit gracefully if docShell has been destroyed; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32724

--HG--
extra : moz-landing-system : lando
2019-06-14 00:21:41 +00:00
yulia
1c2c423009 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:19:20 +00:00
yulia
98302b3f7b Bug 1494796 - change test code for reaching into the server; r=jdescottes
we shouldn't have this code, but we do

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:19:02 +00:00
yulia
76b82cde68 Bug 1494796 - Fix host resize test caused by timing issue; r=jdescottes
this is the weird one. we have a Debugger.executeSoon call for the destruction of the host.
However, before this happened immediately after the test closed. Now, it happens a little later, and
this messes up the data set up. The comment says that we cannot remove this.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:40 +00:00
yulia
35d91ebc2b Bug 1494796 - Delete registerClient functionality; r=jdescottes
The webConsoleFront and the threadClient front both used to depend on the debugger-client
to destroy them via registered clients. This is no longer the case, and this code can be deleted

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:32 +00:00
yulia
a2f0af32b2 Bug 1494796 - maintain backwards compatibility r=jdescottes
Introduce a flag to maintain backwards compatibility with old servers

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:25 +00:00
yulia
542bcd0e56 Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:19 +00:00
yulia
607a83590c Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:17 +00:00
yulia
2e3fde9d0e Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 00:16:39 +00:00
yulia
844b51e01a Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 00:32:28 +00:00
yulia
ecc3907641 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient ; r=jdescottes
This is part one of removing threadClient specifics out of the debuggerClient. We were
managing messages from the thread client in a special way -- this was the "Unsolicited Pauses"
object that we had before. This patch updates the threadClient to use Front style events. This
required updating the spec for the threadClient, and several of the methods. What has not been fully
migrated here is the "resumed" event, as this is much more complex. This is taken care of in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:28:03 +00:00
yulia
650d7f9c31 Bug 1494796 - Convert ThreadClient into a Front; r=jdescottes
This is the first part of the threadClient refactor. It only moves the methods to the new
front. and does some basic fixes.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:14:58 +00:00
yulia
57a1e6ce79 Bug 1494796 - fork threadclient for backwards compatibility r=jdescottes
make sure we have a copy of thread client for old servers

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

--HG--
rename : devtools/shared/client/thread-client.js => devtools/shared/client/deprecated-thread-client.js
extra : moz-landing-system : lando
2019-06-14 00:14:36 +00:00
Brendan Dahl
04a85879bb Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:32:21 +00:00
Barret Rennie
43bd779652 Bug 1510569 - Port Content:LoadURIResult message to IPDL r=mconley
The `WebProgress#sendLoadCallResult` method only existed to send a empty async
message and was only called from the `WebNavigationChild`. Since
`WebNavigationChild` is in the process of being removed, it makes sense to
inline the replaced method into its call site.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 21:00:34 +00:00
Barret Rennie
2de25cc4ca Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563

--HG--
extra : moz-landing-system : lando
2019-06-13 21:08:40 +00:00
Brindusan Cristian
3f9e2ec379 Backed out changeset 64b2f8306217 (bug 1536871) for dt failures at browser_fontinspector.js. CLOSED TREE 2019-06-14 00:14:16 +03:00
Yury Delendik
827de35634 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-06-13 18:02:14 +00:00
Narcis Beleuzu
ed60adfc3c Backed out 5 changesets (bug 1510569) for bustages on BrowserChild.cpp . CLOSED TREE
Backed out changeset 4f0f5351be8b (bug 1510569)
Backed out changeset 14bbe0916bdd (bug 1510569)
Backed out changeset 19e734aeffa9 (bug 1510569)
Backed out changeset abb51690fd32 (bug 1510569)
Backed out changeset 1bf1907ee0c9 (bug 1510569)
2019-06-13 22:08:23 +03:00
Barret Rennie
75f83f43fc Bug 1510569 - Port Content:LoadURIResult message to IPDL r=mconley
The `WebProgress#sendLoadCallResult` method only existed to send a empty async
message and was only called from the `WebNavigationChild`. Since
`WebNavigationChild` is in the process of being removed, it makes sense to
inline the replaced method into its call site.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 17:55:04 +00:00
Barret Rennie
15c17bbb9f Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563

--HG--
extra : moz-landing-system : lando
2019-06-13 17:54:23 +00:00
Emilio Cobos Álvarez
7d1f93b8c6 Bug 1536871 - Make 'line-height: normal' return the 'normal' keyword from getComputedStyle() on Nightly and Early Beta, for now. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D25119

--HG--
extra : moz-landing-system : lando
2019-06-13 18:30:07 +00:00
Ciure Andrei
217ab9d060 Backed out 4 changesets (bug 1545582) for causing spidermonkey bustages CLOSED TREE
Backed out changeset c53f9e22d5f7 (bug 1545582)
Backed out changeset 6640b7f3d7e0 (bug 1545582)
Backed out changeset c65de5ec10da (bug 1545582)
Backed out changeset 3224107774b1 (bug 1545582)
2019-06-20 19:39:54 +03:00
Greg Tatum
34c1fdc5b4 Bug 1545582 - Hook JS allocations into the profiler popup; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34545

--HG--
extra : moz-landing-system : lando
2019-06-19 21:08:45 +00:00
arthur.iakab
a549fe0532 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 144e998695db067f1dad805e5263b591ed98e50f
2019-06-28 13:10:08 +03:00
Razvan Maries
968156f90a Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-28 06:41:53 +03:00
Razvan Maries
6cd0726ada Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-28 00:46:58 +03:00
Brian Hackett
9b229e4f05 Bug 1561327 - Add ReplayDebugger.addDebuggees. 2019-06-27 10:07:15 -10:00
Boris Zbarsky
a4410ccb51 Bug 1558726. Stop using [array] in nsISocketTransportService. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D34668

--HG--
extra : moz-landing-system : lando
2019-06-13 04:21:32 +00:00
Nicolas Chevobbe
cb521cd00a Bug 1558692 - Fix browser_webconsole_warning_group_multiples.js intermittent. r=bgrins.
Making the URLs unique seems to fix the issue.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 16:04:11 +00:00
Miriam
334b0c25ee Bug 1550064 - Improve debug line highlight visibility.
This implements Victoria's suggestion for improving highlight line visibility.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 15:05:58 +00:00
Jason Laster
4e2a60b020 Bug 1555293 - Fix 0.13 - 0.16% installer size. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34779

--HG--
rename : devtools/client/shared/source-map/worker.js => devtools/client/shared/vendor/whatwg-url.js
extra : moz-landing-system : lando
2019-06-13 14:18:10 +00:00
Nicolas Chevobbe
8c902ec959 Bug 1557632 - Don't check if input is compilable unit on Ctrl+Enter. r=Honza.
In the regular webconsole input, on Enter, we check that the
input is a compilable unit, so the user don't accidentally
execute an incomplete snippet.
In the editor mode, the user will have to use Ctrl/Cmd + Enter to
execute, so we don't have to worry about Enter (it will simply
append a new line).
And since the user might deal with a large number of characters,
we don't want to prevent them to execute. If it's malformed, they
will get an error in the output and can fix their input easily, since
it wasn't cleared.

The patch adds a test to ensure this work as expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 12:35:04 +00:00
Nicolas Chevobbe
87dddd801b Bug 1557031 - Fix test leaks caused by InactivePropertyHelper. r=miker.
We put some objects on the InactivePropertyHelper (node, rule),
but never reset those properties, which was causing leaks in some
inspector tests.
This patch adds a unselect function that clears all the references
added in the select function.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 10:51:35 +00:00
Nicolas Chevobbe
90335906a2 Bug 1558805 - Fix test_inspector-inactive-property-helper.html beta permafail. r=jdescottes.
The inactive CSS feature is only enabled in Nightly at
the moment, which is what's causing the test to fail
on beta simulation.
Forcing the pref to true in the test should fix the issue.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 10:27:03 +00:00
yulia
efb4e81f0c Bug 1494796 - wait for paintflash requests to settle r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32721

--HG--
extra : moz-landing-system : lando
2019-06-12 23:36:30 +00:00
yulia
19ed9a4da3 Bug 1494796 - wait in aboutdebugging addons nobg test for tabs before closing; r=jdescottes
This test was failing due to the tab closing before a response from the tab was recieved.
It is due to the threadClient closing more quickly. This waits for the last message before closing

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:36:13 +00:00
yulia
69155c39cd Bug 1494796 - fix blob stylesheet test to not fail retrieving sourcemap; r=nchevobbe
this test was failing because the threadClient was posting messages due to being unable to
find the source map. After investigating, I found that the sourcemap was formatted incorrectly. I do
not know if this was intentional. If it wasn't this fix works. If it was, then we need to find a way
to wait on source map failures, and the test name might need to be updated

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:35:49 +00:00
yulia
c0aa01fcc2 Bug 1494796 - fix timing issue and rewrite object grip test; r=nchevobbe
There was an issue where this test was timing out, and due to the way it was written it was
very hard to identify where -- there were many nested promises. I rewrote the test in order to
identify the time out.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:35:16 +00:00
yulia
4ca11160ea Bug 1494796 - fix netmonitor test to ensure elements exist on the dom before testing; r=Honza
the test `browser_net_params_sorted` may not have been functioning for some time. While
investigating this, I discovered that we were getting an empty array for `actualKeys`. Iterating
over this array returned immediately. As a result the test always passed, even though the shape of
the data changed. I updated this code so that it waits for the dom to be populated with the number
of keys expected. I also updated the test to reflect the data the front end has today.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:59 +00:00
yulia
41a63bce0d Bug 1494796 - fix timing issues in general tests due to threadClient refactor; r=jdescottes
this patch fixes a few tests that had miscellanous timeouts

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:36 +00:00
yulia
6d5d4fea40 Bug 1494796 - fix timing issues in debugger tests due to threadClient refactor; r=jlast
There were a few miscellaneous situations in which the test would fail due to a hanging
request. These tests passed in the past because the old way of using the threadActor did not
identify which requests had been responded to.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:00 +00:00
violet
d5bbf998dd Bug 1351432 - Implement the break-spaces value of the white-space property r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34499

--HG--
extra : moz-landing-system : lando
2019-06-12 10:23:49 +00:00
Ehsan Akhgari
b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Jason Laster
c2697b1ae8 Bug 1531493 - fix intermittent browser_dbg-worker-scopes.js. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34716

--HG--
extra : moz-landing-system : lando
2019-06-12 21:37:31 +00:00
Edwin Gao
cc854e7601 Bug 1555454 - migrate mochitest-devtools-chrome to macosx1014 r=gbrown
Changes:
- migrate `mochitest-devtools-chrome` to macosx1014

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

--HG--
extra : moz-landing-system : lando
2019-06-12 21:21:32 +00:00
Thomas
6d0f6d5946 Bug 1519537 - layout flex inspector - change min/max color in diagram and info chart. r=mtigley
In the layout panel of the inspector, in the flex part, change color of min and max properties.
Change the min/max labels, and lock icon color of the flex outline box to the same color too.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 19:53:34 +00:00
chujun
c7b8502fb8 Bug 1536854 - Log errors from logpoint as actual errors in the console r=davidwalsh,nchevobbe
If logpoint throws, set `level` to "error".
Add tests to ensure the correct level is set.

Demo function: https://luxuriant-system.glitch.me/
Add some logpoints. The first two statements are invalid. The third one is valid.
{F1311386}

In console:
{F1311387}

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

--HG--
extra : moz-landing-system : lando
2019-06-12 12:10:35 +00:00
Jason Laster
43b1de0cda Bug 1552015 - improve column breakpoint rendering performance.
Differential Revision: https://phabricator.services.mozilla.com/D34711

--HG--
extra : moz-landing-system : lando
2019-06-12 13:24:15 +00:00
Nicolas Chevobbe
9129865b0e Bug 1558468 - Split InactivePropertyHelper test cases in multiple files. r=rcaliman.
This should make the test more managable as we add properties
validators in InactivePropertyHelper.
eslint doesn't support dynamic import yet, so we have to ignore
the test file.

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

--HG--
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/gap.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/max-min-width-height.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/vertical-align.js
extra : moz-landing-system : lando
2019-06-12 09:49:16 +00:00
Belén Albeza
1268639223 Bug 1553783 - Add mochitest for unregister service worker button r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34168

--HG--
extra : moz-landing-system : lando
2019-06-11 21:27:26 +00:00
Belén Albeza
9a15238677 Bug 1553784 - Add mochitest for empty list of service workers r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34154

--HG--
extra : moz-landing-system : lando
2019-06-11 21:23:59 +00:00
Florens Verschelde
b2cdaf13a8 Bug 1558403 - Add sidebar background color to SecondaryPanes sidebar; r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D34520

--HG--
extra : moz-landing-system : lando
2019-06-11 18:34:49 +00:00
Bogdan Tara
22ebc89901 Backed out changeset 6b3192ef9401 (bug 1552015) for es lint failure on visibleColumnBreakpoints.js CLOSED TREE 2019-06-12 04:15:58 +03:00
Miriam
a5efe7af40 Bug 1558273 - For arrays and objects, highlight from token to end of line when paused.
Differential Revision: https://phabricator.services.mozilla.com/D34392

--HG--
extra : moz-landing-system : lando
2019-06-10 20:40:04 +00:00
Jason Laster
a2f1b1ad93 Bug 1552015 - improve column breakpoint rendering performance. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34358

--HG--
extra : moz-landing-system : lando
2019-06-11 20:44:12 +00:00
Miriam
5a1f34625e Bug 1340971 - Use proper plural form in editor.searchResults and sourceSearch.resultsSummary1 r=davidwalsh,flod
Added proper plural form to editor.searchResults and sourceSearch.resultsSummary1. Updated the comments and IDs for the new strings as well. Replaced all instances of old string references with new string references.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 19:25:15 +00:00
tanhengyeow
0d8f2eb67b Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza,jdescottes
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:27:08 +00:00
Boris Zbarsky
9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Jason Laster
8578b45a14 Bug 1558303 - Stop using immutable.
Differential Revision: https://phabricator.services.mozilla.com/D34411

--HG--
extra : moz-landing-system : lando
2019-06-11 16:15:17 +00:00
David Walsh
dee0e36659 Bug 1558237 - Prevent unwanted background for event listener breakpoints toggles r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D34381

--HG--
extra : moz-landing-system : lando
2019-06-11 08:49:38 +00:00
Nicolas Chevobbe
63f04fee2d Bug 1545888 - Use template-styled message with placeholders as warning group labels. r=Honza.
This allows to have more meaningful warning group messages, i.e.
"Content Blocking" is turned into something like "The resource at
'<URL>' was blocked because content blocking is enabled".

This is done by parsing the message of the first warning to put
in the group, and replacing the URL with a generic placeholder.

We take this as an opportunity to decouple content blocked messages
and storage access blocked ones, as they have slightly different
meanings and consequences.

Tests are updated to match the new labels, and a new test is
added to make sure that we can have multiple warning group in a
single "page navigation" session.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 13:47:37 +00:00
Oana Pop Rus
f872d9fd84 Backed out changeset de1dc8a5ce54 (bug 1552458) for xpcshell failures on service-worker-registration on a CLOSED TREE 2019-06-11 12:10:59 +03:00
Nicolas Chevobbe
37c48f52e6 Bug 1557324 - Fix JSTerm keyboard navigation in old input. r=Honza.
Hitting Ctrl+ArrowRight didn't have any effect on windows/linux.
The patch fixes this and add a test to make sure a user can
navigate from word to word using Ctrl (or Alt on OSX) and
Arrow Left/Right keys.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 08:26:22 +00:00
tanhengyeow
5b709c20cd Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 08:16:31 +00:00
Nicolas Chevobbe
fe0fe361da Bug 1557330 - Lowercase node.nodename in InactivePropertyHelper. r=rcaliman.
Element.nodeName is usually all-caps, and we were testing lower cased version,
which brought erroneous results.
The test wasn't picking those errors because we were creating the element from
a XHTML document, where Element.nodeName keep the casing used for their creation.
The test is modified to deal with an HTML document instead.

After the test was modified, I could see it was failing, and was then able to
do the actual feature fix.

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

--HG--
rename : devtools/server/tests/browser/browser_inspector-inactive-property-helper.js => devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html
extra : moz-landing-system : lando
2019-06-11 05:57:13 +00:00
Brian Hackett
3e7cf51dc1 Bug 1558504 - Waive xrays on contents of Set and Map objects when previewing, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D34743

--HG--
extra : rebase_source : 0a7a278afe93c3873b6c90ade98a9271fbff9965
2019-06-12 06:11:48 -10:00
Brian Hackett
82d933962b Bug 1533308 - Report rejected non-exception objects to the console, r=kmag,arai.
--HG--
extra : rebase_source : a226e104ffac8b7db1c5cde797cb0fbe438c1c65
2019-06-11 11:53:27 -10:00
Yura Zenevich
e3e6d52193 Bug 1558194 - fix background styling for audit overlay in dark mode. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D34353

--HG--
extra : moz-landing-system : lando
2019-06-10 18:40:18 +00:00
Thomas
e4fd1c3d23 Bug 1521188 - Indicate grid/flex container/item in infobar highlighter. r=pbro
Indicate in the infobar highlighter if the element is of kind grid or flex, and if it is a container or an item.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:09:56 +00:00
Yura Zenevich
8e39f82bc5 Bug 1558188 - ensure TreeView's tbody container does not get keyboard focus. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D34351

--HG--
extra : moz-landing-system : lando
2019-06-10 18:32:40 +00:00
Razvan Caliman
d83b76d0d4 Bug 1557063 - Better checks for invalid CSS when using gap, column-gap and row-gap. r=miker,fluent-reviewers,flod
Splits the checks by appropriate container:
- column-gap and gap for flex-container, grid-container and multi-column container
- row-gap only for flex container and grid container

See CSS Box Alignment: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Alignment

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

--HG--
extra : moz-landing-system : lando
2019-06-07 21:09:41 +00:00
Jason Laster
0feee6b2a0 Bug 1527488 - Stop waiting for fetched content. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34075

--HG--
extra : moz-landing-system : lando
2019-06-07 21:27:19 +00:00
David Walsh
e5f1dbe9cf Bug 1556308 - Prevent nemonitor errors for failed requests r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33988

--HG--
extra : moz-landing-system : lando
2019-06-10 16:16:08 +00:00
David Walsh
c42d65aba2 Bug 1416916 - Syntax highlight .es# files r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D34191

--HG--
extra : moz-landing-system : lando
2019-06-10 15:57:22 +00:00
jaril
69f1083c8c Bug 1553557 - Change preview-selection to preview-token.
Differential Revision: https://phabricator.services.mozilla.com/D34293

--HG--
extra : moz-landing-system : lando
2019-06-10 13:47:45 +00:00
Andreea Pavel
37086877f5 Bug 1531493 - disabled browser_dbg-worker-scopes.js on all platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D34338

--HG--
extra : moz-landing-system : lando
2019-06-10 14:11:44 +00:00
Nicolas Chevobbe
a03be2ac39 Bug 1551612 - Add componentDidCatch in Message component. r=bgrins.
This patch adds a componentDidCatch handler to the Message component
so we don't crash the whole console when a message can't be rendered.
When a message causes a crash, we display an error message instead,
asking the user to file a bug. A button allow to copy the message data
so it can be attached in the bug report.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 06:22:05 +00:00
phoenixabhishek
4deb2657c6 Bug 1525039 - Redesign toggleable buttons. r=ladybenko
The toggle buttons have been redesigned as per the shared mockup

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

--HG--
extra : moz-landing-system : lando
2019-06-10 06:10:25 +00:00
Micah Tigley
246762bd09 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-08 21:35:42 +00:00
David Walsh
7301ca4449 Bug 1556454 - Use consistent red color and show blocked badge for blocked requests r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33862

--HG--
extra : moz-landing-system : lando
2019-06-07 08:21:24 +00:00
Tim Nguyen
d5dcb284d5 Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190

--HG--
extra : moz-landing-system : lando
2019-06-07 21:42:59 +00:00
Dorel Luca
c735f1864c Backed out changeset 7bf9069eba43 (bug 1557674) for DevTools failures in devtools/client/storage/test/browser_storage_cookies_tab_navigation.js. CLOSED TREE 2019-06-08 00:10:09 +03:00
Tim Nguyen
4bc7c29815 Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190

--HG--
extra : moz-landing-system : lando
2019-06-07 19:36:00 +00:00
Mihai Alexandru Michis
ea44e068e2 Backed out changeset e2af0f70828c (bug 1551612) for causing bc failures in webconsole.properties CLOSED TREE 2019-06-07 19:03:05 +03:00
Neil Deakin
17002c10a5 Bug 1556809, wait for render() method to complete r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D33802

--HG--
extra : moz-landing-system : lando
2019-06-06 17:39:01 +00:00
Nicolas Chevobbe
7939b78f6c Bug 1523864 - Move filter bar layout change to the App level. r=Honza.
This makes the console code more consistent, and adds the
nice benefit of being able to check if the layout should
be modified when performing non-window-resize events that
might still impact the layout (sidebar toggle, sidebar
resizing, ...).

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

--HG--
extra : moz-landing-system : lando
2019-06-07 14:23:35 +00:00
Kelly
78da19b9b9 Bug 1523864 Display filter buttons next to filter input if there is enough space. r=Honza
Set a minimum width on the filter bar of the Devtools Console window. When there is enough empty space
to the right of the filterbar, allow the filter buttons to be desplaying inline, rather than on their own
separate row.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 14:23:16 +00:00
Nicolas Chevobbe
3adf3cc47b Bug 1551612 - Add componentDidCatch in Message component. r=bgrins.
This patch adds a componentDidCatch handler to the Message component
so we don't crash the whole console when a message can't be rendered.
When a message causes a crash, we display an error message instead,
asking the user to file a bug. A button allow to copy the message data
so it can be attached in the bug report.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 13:03:48 +00:00
Belén Albeza
3e3b9a6493 Bug 1553110 - Part 3: add test for Start worker button r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D33929

--HG--
extra : moz-landing-system : lando
2019-06-07 12:57:16 +00:00
Belén Albeza
48588a63c9 Bug 1553110 - Part 2: Disable debugging/start links if sw cannot be debugged (multie10s) r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33637

--HG--
extra : moz-landing-system : lando
2019-06-07 12:58:16 +00:00
Razvan Caliman
a01a6f5ce4 Bug 1548833 - Replace message table data with generalized message payload. r=nchevobbe
Follow-up to [Bug 1093953](https://bugzilla.mozilla.org/show_bug.cgi?id=1093953) which introduced a generalized `payload` object for messages to be populated asynchronously with additional  data associated with the message after it is initially received.

The reasoning is: messages can have arbitrary data payload associated with them. The rendering component for the message type will consume and validate that payload data.

Here, we replace the specialized messageTableDataByID with the generalized messagePayloadByID, update corresponding Redux actions, reducers, selectors and tests.

The only place where `tableData` is used is in the `ConsoleApiCall` message type, in the `ConsoleTable` component. We replace it with `payload` which is sent down to all message types anyway.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:25:20 +00:00
Michael Ratcliffe
5964c04dcb Bug 1553472 - Ensure that all DevTools tooltips should conform with the Proton theme r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32309

--HG--
extra : moz-landing-system : lando
2019-06-06 15:09:48 +00:00
Bogdan Tara
d2b3af29d9 Backed out changeset f4ea30c29aa7 (bug 1556533) for browser_orientationchange_event.js failures CLOSED TREE 2019-06-07 04:54:14 +03:00
Micah Tigley
08a7bba50b Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-07 00:00:55 +00:00
Csoregi Natalia
df1edb3dc0 Merge mozilla-central to autoland. CLOSED TREE 2019-06-07 01:38:51 +03:00
Csoregi Natalia
0bbc9b655d Merge inbound to mozilla-central. a=merge 2019-06-07 00:52:54 +03:00
Bogdan Tara
2fbab54c99 Backed out changeset 91643c6f9a42 (bug 1556533) for es lint failure CLOSED TREE 2019-06-07 00:22:18 +03:00
Michael Ratcliffe
4f40762044 Bug 1493369 - Fix and rewrite browser_storage_updates.js r=rcaliman
### Changes

In a nutshell, the old test produced the occasional orange and was badly written so it was very difficult to follow, especially when there were failures. The new test uses a snapshot system, which is much easier to understand.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=39b92ebbce9ce1ae58f0466ccc1608314257bf81&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f0fdf5e246550494e41b1ad88da1258e62a63ab7&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=79489426ffcf177663aceb9db43efabc190de613&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6ee7fbfb846be73e08023caddd1baed2e6962d6b&group_state=expanded

That is 1040 successful test runs across all supported operating systems. There is just one window leak, which is common when running a single test in this way.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:26:34 +00:00
Nicolas B. Pierron
7d6c7e92af Bug 1488858 - Rename JSMSG_NOT_NONNULL_OBJECT to JSMSG_OBJECT_REQUIRED. r=jorendorff 2019-06-06 14:25:44 +02:00
shindli
f8c85e378a Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-06 13:11:16 +03:00
shindli
3caa33a7ea Merge inbound to mozilla-central. a=merge 2019-06-06 12:57:52 +03:00
Charlie Marlow
29aa4dbb9a Bug 1555863 added text-decoration-width support to style system including mochitests and web platform tests r=emilio
from-font support will be added later

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:12:22 +00:00
Micah Tigley
0b75341190 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-06 19:18:16 +00:00
Yura Zenevich
0759de7245 Bug 1552067 - add filter and badge for text label audit type. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D33186

--HG--
extra : moz-landing-system : lando
2019-06-06 05:24:03 +00:00
Yura Zenevich
1deec0a684 Bug 1552067 - adding text label audit type serverside support. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33185

--HG--
rename : devtools/server/actors/accessibility/contrast.js => devtools/server/actors/accessibility/audit/contrast.js
rename : devtools/server/actors/accessibility/moz.build => devtools/server/actors/accessibility/audit/moz.build
extra : moz-landing-system : lando
2019-06-06 08:05:19 +00:00
Yura Zenevich
a9aa355247 Bug 1552066 - add ALL filter to accessibility checks toolbar. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D33184

--HG--
extra : moz-landing-system : lando
2019-06-06 13:53:29 +00:00
Yura Zenevich
8a74234eb8 Bug 1548262 - updating walker/accessible audit API to support per type auditing. r=nchevobbe
This is done so the user has a choice what kind of audit to run or what kind of audit type to filter the accessibility tree by

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:58:33 +00:00
Michael Ratcliffe
09cf65be17 Bug 1554841 - l10n corrections in storage inspector cookie table headers r=pbro
### Changes

#### Set 1 - Match cookie creation strings, remove "on" and capitalize.

- Expires on {icon long-arrow-right} Expires
- Last accessed on {icon long-arrow-right} Last accessed
- Created on {icon long-arrow-right} Created
- sameSite {icon long-arrow-right} SameSite

#### Set 2 - Re-add missing strings

- table.headers.cookies.isHttpOnly=HttpOnly
- table.headers.cookies.isSecure=Secure
- table.headers.cookies.hostOnly=HostOnly

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

--HG--
extra : moz-landing-system : lando
2019-06-05 13:11:00 +00:00
Dhruvi Butti
4d7125f280 Bug 1539816 - Always filter the autocomplete popup items if the popup was opened. .
Currently, if the autocomplete preference is set to false, and the user
displays the autocomplete popup with Ctrl + Space, typing other letters
won't filter the popup, which feels very weird.
This patch fixes this behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:05:31 +00:00
janelledement
0e820e6a25 Bug 888161 - Adds download file option to the context menu of source tree items r=davidwalsh
This patch addresses bug 888161 by adding a ‘Download File’ option to the context menu of individual source tree item files.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:42:03 +00:00
Ola Gasidlo
ae788a0773 Bug 1473295 - add enviroment for unit tests, r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D32959

--HG--
extra : moz-landing-system : lando
2019-06-06 13:49:49 +00:00
Ryan Duffy
bd1d104ad9 Bug 1527488 - Change debugger build to support lazy loading modules
Differential Revision: https://phabricator.services.mozilla.com/D32865

--HG--
extra : moz-landing-system : lando
2019-06-06 13:02:36 +00:00
Nicolas Chevobbe
74f4a28c13 Bug 1556068 - Track JsPropertyProvider's analyzeInput string and bail if it's taking too long. r=Honza.
It can happen that the string we receive is quite large
and as a result takes a long time to analyze, freezing
the process.
This patch simply tracks for how long the for loop is running,
and bail out if it's greater than a given time (set to 2500 ms
for now).
This is mostly a safeguard, a future patch should try to improve
the performance of the function itself.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 13:08:21 +00:00
Brian Hackett
f169f9c96f Bug 1325195 Part 2 - Remove worker specific code in object previews, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D32874

--HG--
extra : rebase_source : d262de290a5a8de56085e614cd01435d91b9dee3
2019-05-28 08:33:00 -10:00
Brian Hackett
60bf728495 Bug 1545400 - Increment recursion depth when debugger has saved a thread's microtasks, r=arai,smaug.
Differential Revision: https://phabricator.services.mozilla.com/D32889

--HG--
extra : rebase_source : 33e2c281ef94a565fe4fc1d1490e41d005f7835b
2019-05-28 10:28:03 -10:00
arthur.iakab
94d096ca36 Merge mozilla-central to mozilla-inbound 2019-06-06 01:06:38 +03:00
Micah Tigley
03e3d3a28d Bug 1351487 - Part 2: Add tests for ensuring that window screen sizing values reported in RDM are correct. r=bradwerth
Depends on D32410

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

--HG--
extra : moz-landing-system : lando
2019-06-05 00:29:36 +00:00
chujun
aef340f83f Bug 1488662 Change go to line shortcut to Ctrl+G r=davidwalsh
The current “go to line” keyboard shortcut `CmdOrCtrl+;` conflicts with the “step in” shortcut. The "go to line" shortcut is replaced with the shortcut for Chrome debugger and Sublime Text: `Ctrl+G`. Upper or lower cases don’t matter.

1. Current behavior:
1a) With no file open in editor; or with a file open in editor, but not pausing at a breakpoint:
`Cmd+;` or `Cmd+Shift+;` opens the “go to line” box.

1b) Pause at a breakpoint:
`Cmd+;` runs `step in`, and also opens the “go to line” box;
`Cmd+Shift+;` runs `step over`, and also opens the “go to line” box.

2) Code changes:
2a) Create gotoLineModal.key3.
2b) Update localization note.
2b) Update snapshot test.

3) After the code changes, on macOS:
3a) With no file open in editor:
`Ctrl+G` opens the “go to line” box.

3b) With a file open, but not pausing at breakpoints:
`Ctrl+G`opens the “go to line” box; hitting `Ctrl+G` again or `escape` closes the box.

3c) Pause at a breakpoint:
`Cmd+;` or `Cmd+Shift+;` doesn’t open the “go to line” box.
`Ctrl+G` opens the “go to line” box.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 01:25:36 +00:00
Julian Descottes
39072efb4b Bug 1556652 - Document how to create perf profiles on try for DAMP r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33601

--HG--
extra : moz-landing-system : lando
2019-06-04 12:44:57 +00:00
Gabriel Luong
6c4bdbacd6 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
Nicolas B. Pierron
1040b3de0b Bug 1533132 - Index JSMSG_SET_NON_OBJECT_RECEIVER MDN documentation. r=fscholz 2019-06-05 19:15:35 +02:00
Mihai Alexandru Michis
c70fbfe90e Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 18:56:22 +03:00
Gabriel Luong
86e6780079 Bug 1556729 - Set the node value when rendering the TextNode component. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33709
2019-06-04 17:25:29 -04:00
Mihai Alexandru Michis
153172de0c Merge inbound to mozilla-central. a=merge 2019-06-05 12:51:25 +03:00
Narcis Beleuzu
83a9f3a6b3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-05 00:52:43 +03:00
Nicolas Chevobbe
54361ce6cb Bug 1551586 - Display a warning when min-width, min-height etc. are used incorrectly. r=miker,fluent-reviewers,flod.
This introduce a new form of invalid messages. Until now, all the
messages were like "X has no effect on this since it's not Y".
But in this case, the width/height properties applies to all but
a few cases, which means we can't really keep the same shape of
message (or it would be "since it's not A, B, C, D, ...).
So we're switching to a message that prints the display property
of the element ("X has no effect on this element since it has a
display of Y").
In order to do that, we need to pipe the element computed display
into the inactive tooltip.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 20:33:58 +00:00
Charlie Marlow
da73c04156 Bug 1555150: adding support for CSS text underline offset to the style system r=emilio
support  for from-font listed in the CSS spec will be implemented in a later bug

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

--HG--
extra : moz-landing-system : lando
2019-06-04 22:04:14 +00:00
Gabriel Luong
37d4796343 Bug 1556729 - Only call setState for the TextNode when the value has changed. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33672
2019-06-04 13:57:47 -04:00
Narcis Beleuzu
49c534e5b2 Backed out changeset 49fbf60f938d (bug 1550519) for dt failures on grid-inspector.js . CLOSED TREE
--HG--
extra : rebase_source : 3da4c4f1341edc7cc5137e7a63f4c869862d894f
2019-06-04 22:43:03 +03:00
Daniel Varga
2289134635 Backed out changeset 96ea626be10a (bug 1553472) fot devtools failure at devtools/client/framework/test/browser_toolbox_zoom_popup.js. On a CLOSED TREE 2019-06-04 20:45:54 +03:00
Francis Houle
6ab927ce7f Bug 1552806 - Remove 'tabs' mention from setup page intro text. r=jdescottes,flod
Differential Revision: https://phabricator.services.mozilla.com/D33114

--HG--
extra : moz-landing-system : lando
2019-06-04 16:21:04 +00:00
Bogdan Tara
ae2ef98e40 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-04 19:08:56 +03:00
Bogdan Tara
0152d321a5 Merge inbound to mozilla-central. a=merge 2019-06-04 19:05:52 +03:00
Julian Descottes
eedc5b96dd Bug 1556434 - Use JSON reporter for DevTools jest tests on Try r=nchevobbe,Ola
This should be less fragile to catch regressions on try.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 12:29:43 +00:00
Michael Ratcliffe
08dff5b395 Bug 1553472 - Ensure that all DevTools tooltips should conform with the Proton theme r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32309

--HG--
extra : moz-landing-system : lando
2019-06-03 14:38:58 +00:00
Michael Ratcliffe
90435c49d2 Bug 1553468 - Dark theme color fix for the markup view's Inactive elements r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32147

--HG--
extra : moz-landing-system : lando
2019-06-03 14:39:21 +00:00
Nicolas Chevobbe
02dab6edec Bug 1556743 - Fix typo in warningGroup setting label. r=sole
Differential Revision: https://phabricator.services.mozilla.com/D33638

--HG--
extra : moz-landing-system : lando
2019-06-04 15:27:53 +00:00
Emilio Cobos Álvarez
1e7b303431 Bug 1539469 - Make all input elements display: inline-block, for compat with other UAs. r=mats
See https://github.com/whatwg/html/issues/4082 for the data and some comments
from Boris and David.

I didn't look into fixing the font-inflation reftests, see bug 1540176 for that.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 15:39:47 +00:00
Tim Nguyen
98fab8cd1a Bug 1551870 - Reintroduce netmonitor-toolbar-container in single-toolbar mode so React doesn't re-render the toolbar when switching panels. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33616

--HG--
extra : moz-landing-system : lando
2019-06-04 15:06:06 +00:00
Belén Albeza
49e70f547d Bug 1554133 - Part 2: make app panel to use the shared fluent l10n module r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32736

--HG--
extra : moz-landing-system : lando
2019-06-04 14:50:39 +00:00
Belén Albeza
0b00781fa0 Bug 1554133 - Part 1: move about:debugging's l10n module to a shared folder r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32735

--HG--
extra : moz-landing-system : lando
2019-06-04 14:08:50 +00:00
Bogdan Tara
5273a6b844 Backed out 2 changesets (bug 1554133) for package related build bustages CLOSED TREE
Backed out changeset 72ae1ac933ac (bug 1554133)
Backed out changeset c48321582c78 (bug 1554133)
2019-06-04 17:05:53 +03:00
Belén Albeza
89b8d31ca7 Bug 1554133 - Part 2: make app panel to use the shared fluent l10n module r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32736

--HG--
extra : moz-landing-system : lando
2019-06-03 12:16:27 +00:00
Belén Albeza
bf6dcc9cc5 Bug 1554133 - Part 1: move about:debugging's l10n module to a shared folder r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32735

--HG--
extra : moz-landing-system : lando
2019-06-03 12:15:17 +00:00
Gurzau Raul
37c91988a5 Backed out changeset 37918f3c49df (bug 1551870) for eslint failure at browser_net_filter-value-preserved.js on a CLOSED TREE. 2019-06-04 16:17:17 +03:00
Tim Nguyen
858cf4d572 Bug 1551870 - Reintroduce netmonitor-toolbar-container in single-toolbar mode so React doesn't re-render the toolbar when switching panels. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33616

--HG--
extra : moz-landing-system : lando
2019-06-04 12:53:16 +00:00
Gurzau Raul
7553da5d5b Bug 1506032 - disabled browser_toolbox_window_reload_target.js on win, linux and mac r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D33618

--HG--
extra : moz-landing-system : lando
2019-06-04 11:47:10 +00:00
Mihai Alexandru Michis
09cd19a7b2 Backed out 4 changesets (bug 1555511) for devtools failures at browser_viewport_resizing_minimum_scale.js CLOSED TREE
Backed out changeset 80b9b4eb8305 (bug 1555511)
Backed out changeset d9ce18a4d7cd (bug 1555511)
Backed out changeset 5e9e587d0622 (bug 1555511)
Backed out changeset 24e136f27469 (bug 1555511)
2019-06-04 12:43:01 +03:00
Julian Descottes
abbd1fe8d2 Bug 1533111 - Wait after opening aboutdebugging in multie10s test to avoid timeouts r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D33480

--HG--
extra : moz-landing-system : lando
2019-06-04 08:28:37 +00:00
Andrea Marchesini
176b3f8e39 Bug 1556419 - cookie path should not contain the last '/', r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33500

--HG--
extra : moz-landing-system : lando
2019-06-04 02:42:57 +00:00
Razvan Caliman
89a6536b37 Bug 1555064 - (Part 2) Centralize the list of supported pseudo-classes. r=gl
Depends on D32867

Reference the shared list of pseudo-elements throughout the codebase:
- markup view context menu + test
- Rule editor
- box model highlighter
- node actor
- new Rules view

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

--HG--
extra : moz-landing-system : lando
2019-05-30 16:14:53 +00:00
Razvan Caliman
212aac6c2b Bug 1555064 - (Part 1) Generalize creation and handling of pseudo-class toggles in the Rules view. r=gl
- Removes the hardcoded references from `index.xhtml` and `rules.js` and uses a centralized list of pseudo-classes to generate the checkboxes for the supported pseudo-class locks at runtime.

- Streamlines the handling for pseudo-class locks state. Fixes Bug 1536676 as a side-effect.

- Updates tests.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 15:22:18 +00:00
Bryan Kok
7c048f1c6d Bug 1519314 - Enter should create a new line, Ctrl-Enter should execute the input when 'devtools.webconsole.input.editor' is true. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D32612

--HG--
extra : moz-landing-system : lando
2019-06-03 15:03:05 +00:00
Coroiu Cristina
b2c75da135 Backed out changeset ba1f75c56457 (bug 1555150) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js 2019-06-04 07:52:50 +03:00
Brad Werth
08b5f65dc3 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 : moz-landing-system : lando
2019-06-03 18:28:54 +00:00
Brad Werth
b9368b4a3e Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362

--HG--
extra : moz-landing-system : lando
2019-06-03 18:28:42 +00:00
Charlie Marlow
a2861fd11e Bug 1555150: adding support for CSS text underline offset to the style system r=emilio
support  for from-font listed in the CSS spec will be implemented in a later bug

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

--HG--
extra : moz-landing-system : lando
2019-06-03 19:43:08 +00:00
Emilio Cobos Álvarez
749db71829 Bug 1554150 - Hide some appearance values from content. r=mats
They're not used internally either, so remove all ability to address them.

I haven't removed the implementation yet, as some of them are quite complex, and
I don't have a mac / windows build. We should do that when this hits release
though.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 17:32:48 +00:00
Micah Tigley
5609541472 Bug 1554695 - RDM reports incorrect angle when rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33546

--HG--
extra : moz-landing-system : lando
2019-06-03 20:24:02 +00:00
Nicolas Chevobbe
978aa39f4f Bug 1525618 - Add an option in the settings panel to toggle warning groups. r=Honza.
We also listen for the warningGroup preference change to
toggle warningGroups in the console output.
If warningGroups were disabled, we need to loop through
the state messages to create warningGroups when needed.
A test is added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 15:10:45 +00:00
Nicolas Chevobbe
7c5f1956ab Bug 1552434 - Move timestamp preference change handler. r=rcaliman.
We move the observer declaration closest to where the store is created
so we can dispatched action more easily.
We put all the observers in a Map so we can remove them easily when
destroying the console panel.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 15:10:14 +00:00
Nicolas Chevobbe
c03f5e6b19 Bug 1555339 - Add a test for InactivePropertyHelper isPropertyUsed. r=pbro.
Since isPropertyUsed takes an HTMLElement and its computed style, we
need to have access to the DOM, and can't use an xpcshell test.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 12:16:44 +00:00
Tushar
b7d2d86b34 Bug 1548627 - Increase width of computed-style inspector to fit widest properties. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D33113

--HG--
extra : moz-landing-system : lando
2019-06-03 09:03:11 +00:00
lloan
102432df24 Bug 1555909 - Remove workaround for cleanup the list on destroy. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33444

--HG--
extra : moz-landing-system : lando
2019-06-03 07:35:04 +00:00
Gurzau Raul
aea781583c Backed out 4 changesets (bug 1555511) for failing at browser_viewport_resizing_minimum_scale.js
Backed out changeset 6988b151bbe7 (bug 1555511)
Backed out changeset aa1c32a38785 (bug 1555511)
Backed out changeset 999f3af17edf (bug 1555511)
Backed out changeset 1069871269f7 (bug 1555511)
2019-06-03 03:25:58 +03:00
Brad Werth
8620747298 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 : moz-landing-system : lando
2019-05-31 22:11:46 +00:00
Brad Werth
c6faf20b00 Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362

--HG--
extra : moz-landing-system : lando
2019-05-31 22:11:24 +00:00
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